Re: [akka-user][deprecated] Akka Clustering

53 views
Skip to first unread message

Justin du coeur

unread,
Dec 12, 2019, 7:07:48 PM12/12/19
to akka...@googlegroups.com, stfleu...@gmail.com
This mailing list is pretty much long-dead.  You'd be better off asking on the Akka Users Forum...

On Fri, Dec 6, 2019 at 2:04 AM Randy St.fleur <stfleu...@gmail.com> wrote:
I am new to using akka. 
I am seeing the wifi ip address instead of localhost when remoting is starting up the backend servers are trying to join on the localhost address but failing


Here is the output from where the error starts to fail: 

[INFO] [12/05/2019 16:14:50.105] [main] [akka.remote.Remoting] Starting remoting
[INFO] [12/05/2019 16:14:50.572] [main] [akka.remote.Remoting] Remoting started; listening on addresses :[akka.tcp://ClusterSystem@10.31.53.249:2552]
[INFO] [12/05/2019 16:14:50.574] [main] [akka.remote.Remoting] Remoting now listens on addresses: [akka.tcp://Cluste...@10.31.53.249:2552]
[INFO] [12/05/2019 16:14:50.643] [main] [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://Cluste...@10.31.53.249:2552] - Starting up, Akka version [2.6.0-M8] ...
[INFO] [12/05/2019 16:14:50.784] [main] [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://Cluste...@10.31.53.249:2552] - Registered cluster JMX MBean [akka:type=Cluster]
[INFO] [12/05/2019 16:14:50.784] [main] [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://Cluste...@10.31.53.249:2552] - Started up successfully
[WARN] [12/05/2019 16:14:50.835] [ClusterSystem-akka.actor.default-dispatcher-18] [akka.tcp://Cluste...@10.31.53.249:2552/system/cluster/core/daemon/downingProvider] Don't use auto-down feature of Akka Cluster in production. See 'Auto-downing (DO NOT USE)' section of Akka Cluster documentation.
[WARN] [12/05/2019 16:14:50.959] [New I/O boss #3] [NettyTransport(akka://ClusterSystem)] Remote connection to [null] failed with java.net.ConnectException: Connection refused: /127.0.0.1:2552
[WARN] [12/05/2019 16:14:50.959] [New I/O boss #3] [NettyTransport(akka://ClusterSystem)] Remote connection to [null] failed with java.net.ConnectException: Connection refused: /127.0.0.1:2551
[WARN] [12/05/2019 16:14:50.960] [ClusterSystem-akka.remote.default-remote-dispatcher-19] [akka.tcp://Cluste...@10.31.53.249:2552/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2552-1] Association with remote system [akka.tcp://Cluste...@127.0.0.1:2552] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://Cluste...@127.0.0.1:2552]] Caused by: [java.net.ConnectException: Connection refused: /127.0.0.1:2552]
[WARN] [12/05/2019 16:14:50.960] [ClusterSystem-akka.remote.default-remote-dispatcher-6] [akka.tcp://Cluste...@10.31.53.249:2552/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FClusterSystem%40127.0.0.1%3A2551-0] Association with remote system [akka.tcp://Cluste...@127.0.0.1:2551] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://Cluste...@127.0.0.1:2551]] Caused by: [java.net.ConnectException: Connection refused: /127.0.0.1:2551]
[INFO] [12/05/2019 16:14:50.966] [ClusterSystem-akka.actor.default-dispatcher-5] [akka://ClusterSystem/deadLetters] Message [akka.cluster.InternalClusterAction$InitJoin] from Actor[akka://ClusterSystem/system/cluster/core/daemon/joinSeedNodeProcess-1#1325673130] to Actor[akka://ClusterSystem/deadLetters] was not delivered. [1] dead letters encountered. If this is not an expected behavior then Actor[akka://ClusterSystem/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [12/05/2019 16:14:50.966] [ClusterSystem-akka.actor.default-dispatcher-5] [akka://ClusterSystem/deadLetters] Message [akka.cluster.InternalClusterAction$InitJoin] from Actor[akka://ClusterSystem/system/cluster/core/daemon/joinSeedNodeProcess-1#1325673130] to Actor[akka://ClusterSystem/deadLetters] was not delivered. [2] dead letters encountered. If this is not an expected behavior then Actor[akka://ClusterSystem/deadLetters] may have terminated unexpectedly. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [12/05/2019 16:14:51.063] [ClusterSystem-akka.actor.default-dispatcher-5] [akka.cluster.Cluster(akka://ClusterSystem)] Cluster Node [akka.tcp://Cluste...@10.31.53.249:2552] - Metrics collection has started successfully
[INFO] [12/05/2019 16:14:51.072] [main] [akka.remote.Remoting] Starting remoting
[ERROR] [12/05/2019 16:14:51.080] [ClusterSystem-akka.remote.default-remote-dispatcher-15] [NettyTransport(akka://ClusterSystem)] failed to bind to /10.31.53.249:2552, shutting down Netty transport
[ERROR] [12/05/2019 16:14:51.087] [main] [akka.remote.Remoting] Remoting error: [Startup failed] [



Application.conf: 
akka {
actor {
provider = cluster
}
remote {
netty.tcp {
hostname = "127.0.0.1"
port = 0
}

artery {
# change this to enabled=on to use Artery instead of netty
# see https://doc.akka.io/docs/akka/current/remoting-artery.html
enabled = off
transport = tcp
canonical.hostname = "127.0.0.1"
canonical.port = 0
}
}

cluster {
seed-nodes = [
"akka.tcp://Cluste...@127.0.0.1:2551",
"akka.tcp://Cluste...@127.0.0.1:2552"]

# auto downing is NOT safe for production deployments.
# you may want to use it during development, read more about it in the docs.
auto-down-unreachable-after = 10s
}
}

# Enable metrics extension in akka-cluster-metrics.
akka.extensions=["akka.cluster.metrics.ClusterMetricsExtension"]

# Sigar native library extract location during tests.
# Note: use per-jvm-instance folder when running multiple jvm on one host.
akka.cluster.metrics.native-library-extract-folder=${user.dir}/target/native

--
*****************************************************************************************************
** New discussion forum: https://discuss.akka.io/ replacing akka-user google-group soon.
** This group will soon be put into read-only mode, and replaced by discuss.akka.io
** More details: https://akka.io/blog/news/2018/03/13/discuss.akka.io-announced
*****************************************************************************************************
>>>>>>>>>>
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/akka-user/a2a7b7d0-2911-4b42-8653-92a18e4705ab%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages