cescoffier / vertx-microservices-workshop

Vert.x Microservices Hand's on lab
http://escoffier.me/vertx-hol/
Apache License 2.0
331 stars 196 forks source link

Workshop on OpenShift - multicast issue #41

Open tarunaz opened 6 years ago

tarunaz commented 6 years ago

I have the trader-dashboard verticle unable to join the cluster with the quote-generator, all running on OpenShift.

Logs from the trader-dashboard logs- INFO: [127.0.0.1]:5701 [dev] [3.6.3] Could not connect to: /127.0.0.1:5702. Reason: SocketException[Connection refused to address /127.0.0.1:5702]

  | Jul 19, 2018 5:05:47 AM com.hazelcast.cluster.impl.TcpIpJoiner   | INFO: [127.0.0.1]:5701 [dev] [3.6.3] Address[127.0.0.1]:5702 is added to the blacklist.   | Jul 19, 2018 5:05:47 AM com.hazelcast.nio.tcp.InitConnectionTask   | INFO: [127.0.0.1]:5701 [dev] [3.6.3] Could not connect to: /127.0.0.1:5703. Reason: SocketException[Connection refused to address /127.0.0.1:5703]   | Jul 19, 2018 5:05:47 AM com.hazelcast.cluster.impl.TcpIpJoiner   | INFO: [127.0.0.1]:5701 [dev] [3.6.3] Address[127.0.0.1]:5703 is added to the blacklist.   | Jul 19, 2018 5:05:48 AM com.hazelcast.cluster.impl.TcpIpJoiner   | INFO: [127.0.0.1]:5701 [dev] [3.6.3]   |     |     | Members [1] {   | Member [127.0.0.1]:5701 this   | }

Thanks, Tarun

cescoffier commented 6 years ago

From the output, the cluster is not created correctly. Check that you have the correct infinispan configuration in your project.

cescoffier commented 6 years ago

Also check that the application is started with the right parameters.