Remote shutdown of Akka.Net

I use Akka.Net in a very simple client server configuration. Nothing very advanced at the moment. After about 3 or 4 days of sending messages back and forth, it seems that the whole system is in a disconnected state. When you restart the services, everything connects again, and there are no problems. Before that, everything will be disconnected, but it seems that it is connecting again.

During this time, both machines are available on the network and do not seem to have any connection problems.

I'm not sure where to go from here.

Client configuration (server is very similar)

return ConfigurationFactory .ParseString(string.Format(@" akka {{ loggers = [""XYZ.AkkaLogger, XYZ""] actor {{ provider = ""Akka.Remote.RemoteActorRefProvider, Akka.Remote"" serializers {{ json = ""XYZ.AkkaSerializer, XYZ"" }} }} remote {{ helios.tcp {{ transport-class = ""Akka.Remote.Transport.Helios.HeliosTcpTransport, Akka.Remote"" applied-adapters = [] transport-protocol = tcp port = 0 hostname = {0} send-buffer-size = 512000b receive-buffer-size = 512000b maximum-frame-size = 1024000b tcp-keepalive = on }} transport-failure-detector {{ heartbeat-interval = 60 s # default 4s acceptable-heartbeat-pause = 20 s # default 10s }} }} stdout-loglevel = DEBUG loglevel = DEBUG debug {{ receive = on autoreceive = on lifecycle = on event-stream = on unhandled = on }} }} ", Environment.MachineName)); 

This loop is pretty sporadic at the beginning, but after a while it repeats and connects nothing until the service is reset.

 WARN 2015-07-31 07:22:12,994 [1584] - Association with remote system akka.tcp:// SystemName@Server :8081 has failed; address is now gated for 5000 ms. Reason is: [Disassociated] ERROR 2015-07-31 07:22:12,994 [1584] - Disassociated Akka.Remote.EndpointDisassociatedException: Disassociated at Akka.Remote.EndpointWriter.PublishAndThrow(Exception reason, LogLevel level) at Akka.Remote.EndpointWriter.Unhandled(Object message) at Akka.Remote.EndpointWriter.Writing(Object message) at Akka.Actor.ActorCell.<>c__DisplayClass3e.<Akka.Actor.IUntypedActorContext.Become>b__3d(Object m) at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message) at Akka.Actor.ActorCell.ReceiveMessage(Object message) at Akka.Actor.ActorCell.AutoReceiveMessage(Envelope envelope) at Akka.Actor.ActorCell.Invoke(Envelope envelope) DEBUG 2015-07-31 07:22:12,996 [1494] - Disassociated [akka.tcp:// SystemName@Client :57284] -> akka.tcp:// SystemName@Server :8081 DEBUG 2015-07-31 07:23:13,033 [1469] - Drained buffer with maxWriteCount: 50, fullBackoffCount: 1,smallBackoffCount: 0, noBackoffCount: 0,adaptiveBackoff: 10000 ERROR 2015-07-31 07:24:13,019 [1601] - No response from remote. Handshake timed out or transport failure detector triggered. DEBUG 2015-07-31 07:24:13,020 [1569] - Disassociated [akka.tcp:// SystemName@Client :57284] -> akka.tcp:// SystemName@Server :8081 WARN 2015-07-31 07:24:13,020 [1601] - Association with remote system akka.tcp:// SystemName@Server :8081 has failed; address is now gated for 5000 ms. Reason is: [Disassociated] ERROR 2015-07-31 07:24:13,021 [1601] - Disassociated 
+6
source share

All Articles