2015-01-05 06:07:15:691 INFO [172.17.0.3]:2434 [orientdb] [3.3] Accepting socket connection from /123.123.123.124:55647 [SocketAcceptor]
2015-01-05 06:07:15:692 INFO [172.17.0.3]:2434 [orientdb] [3.3] Established socket connection between /172.17.0.3:2434 and /123.123.123.124:55647 [TcpIpConnectionManager]
2015-01-05 06:07:15:694 WARNING [172.17.0.3]:2434 [orientdb] [3.3] Wrong bind request from Address[172.17.0.12]:2434! This node is not requested endpoint: Address[123.123.123.124]:2434 [TcpIpConnectionManager]
<tcp-ip enabled="true">
<member> 123.123.123.123:2434</member>
<member> 123.123.123.124:2434</member>
<member> 123.123.123.125:2434</member>
</tcp-ip>
Just in case, 172.17.0.2
is accessible only on the same host. However, my ODB nodes are running on separate physical machines each of which has its own 172.17.0.2
free or occupied. On each host Docker creates the same networking bridge.
What I don't understand is that when ODB on host B receives a connection from host A on port 2434, why does it reject the connection request just because the host A tried to connect to host B on IP 123.123.123.123 (via the host network) while ODB in host B is running in an isolated/containerized network under IP 172.17.0.2?
Attaching ODB container directly to the host network still generate the same error:
2015-01-05 07:06:03:912 INFO [172.17.42.1]:2434 [orientdb] [3.3] Accepting socket connection from /123.123.123.124:44369 [SocketAcceptor]
2015-01-05 07:06:03:913 INFO [172.17.42.1]:2434 [orientdb] [3.3] Established socket connection between /123.123.123.123:2434 and /123.123.123.124:44369 [TcpIpConnectionManager]
2015-01-05 07:06:03:914 WARNING [172.17.42.1]:2434 [orientdb] [3.3] Wrong bind request from Address[172.17.42.1]:2434! This node is not requested endpoint: Address[123.123.123.123]:2434 [TcpIpConnectionManager]
2015-01-05 07:06:03:915 INFO [172.17.42.1]:2434 [orientdb] [3.3] Connection [/123.123.123.124:44369] lost. Reason: Socket explicitly closed [TcpIpConnection]
Using ODB 2.0-SNAPSHOT (Jan 5, 2015).
My nodes in Docker containers on separate physical machines cannot join to each other. The establish a connection however eventually they refuse joining because some conditions aren't met.
The following are logs on Host 2:
2015-01-05 06:07:15:691 INFO [172.17.0.3]:2434 [orientdb] [3.3] Accepting socket connection from /123.123.123.124:55647 [SocketAcceptor]
2015-01-05 06:07:15:692 INFO [172.17.0.3]:2434 [orientdb] [3.3] Established socket connection between /172.17.0.3:2434 and /123.123.123.124:55647 [TcpIpConnectionManager]
2015-01-05 06:07:15:694 WARNING [172.17.0.3]:2434 [orientdb] [3.3] Wrong bind request from Address[172.17.0.12]:2434! This node is not requested endpoint: Address[123.123.123.124]:2434 [TcpIpConnectionManager]Host 1 (123.123.123.123) running ODB in a container 172.17.0.3:2434.Host 2 (123.123.123.124) running ODB in a container 172.17.0.12:2434.Host 3 (123.123.123.125) running ODB in a container 172.17.0.10:2434.Because docker on each host manages its own bridge each ODB container doesn't see it directly. This is why in config/hazelcast.xml I specify the IP of the host machines.<tcp-ip enabled="true"><member> 123.123.123.123:2434</member><member> 123.123.123.124:2434</member><member> 123.123.123.125:2434</member></tcp-ip>All ODB containers expose all 3 ports (2424, 2480, 2434). I can telnet and ping. However, because each container requests a dynamic docker IP address, each node cannot join the same cluster because host IP doesn't not match the actual Docker IP inside the container as shown in the above error log.Any solutions for this?
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/ehfKcInWZXs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
<dependency> <groupId>com.hazelcast</groupId> <artifactId>hazelcast-kubernetes</artifactId> <version>${hazelcast-kubernetes-version}</version> </dependency>
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.