Hi,

I have two actor systems on different boxes under 2.2.3 ActorSystem1 and 
ActorSystem2. I spin up ActorSystem1 and then ActorSystem2. ActorSystem1 
"asks" an actorSelection on ActorSystem2 and ActorSystem2 replies 
everything is fine. (I can do this lots of times without issue)

Then after 5 minutes or so of not sending messages from ActorSystem1 to 
ActorSystem2,  ActorSystem1 and ActorSystem2 can't communicate anymore 
despite both systems are up and there being are no network issues.  Under 
Akka 2.1.4 I don't get this issue. Restarting the ActorSystem1 jvm restores 
the connectivity. Anyone got any ideas? Currently if this isn't fix I'm 
going to have to go back to using Akka 2.1.4 as we can't have this 
happening in production. Logs below of when I attempt to send a message 
from actorSystem1 to actorSystem2 and the ask fails.

Thanks,

Brian

On ActorSystem1 I get 

[2014-01-24 14:26:14,620] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-10] 
akka.remote.transport.ProtocolStateActor - stopped
[2014-01-24 14:26:14,620] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-10] 
akka.remote.transport.ProtocolStateActor - stopped
[2014-01-24 14:26:14,620] [INFO] 
[AkkaXLServer-akka.actor.default-dispatcher-10] akka.actor.LocalActorRef - 
Message [akka.remote.transport.AssociationHandle$Disassociated] from 
Actor[akka://AkkaXLServer/deadLetters] to 
Actor[akka://AkkaXLServer/system/transports/akkaprotocolmanager.tcp0/akkaProtocol-tcp%3A%2F%2FDataAugmentation%40server002%3A2552-1#1651503039]
 
was not delivered. [1] dead letters encountered. This logging can be turned 
off or adjusted with configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
[2014-01-24 14:26:14,620] [INFO] 
[AkkaXLServer-akka.actor.default-dispatcher-10] akka.actor.LocalActorRef - 
Message [akka.remote.transport.AssociationHandle$Disassociated] from 
Actor[akka://AkkaXLServer/deadLetters] to 
Actor[akka://AkkaXLServer/system/transports/akkaprotocolmanager.tcp0/akkaProtocol-tcp%3A%2F%2FDataAugmentation%40server002%3A2552-1#1651503039]
 
was not delivered. [1] dead letters encountered. This logging can be turned 
off or adjusted with configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
[2014-01-24 14:26:14,621] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-10] akka.remote.EndpointReader 
- stopped
[2014-01-24 14:26:14,621] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-10] akka.remote.EndpointReader 
- stopped
[2014-01-24 14:26:14,623] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-13] akka.remote.EndpointWriter 
- Disassociated [akka.tcp://[email protected]:60789] -> 
[akka.tcp://DataAugmentation@server002:2552]
[2014-01-24 14:26:14,623] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-13] akka.remote.EndpointWriter 
- Disassociated [akka.tcp://[email protected]:60789] -> 
[akka.tcp://DataAugmentation@server002:2552]
[2014-01-24 14:26:14,628] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-19] akka.remote.EndpointWriter 
- restarting
[2014-01-24 14:26:14,628] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-19] akka.remote.EndpointWriter 
- restarting
[2014-01-24 14:26:14,630] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-2] akka.remote.EndpointWriter - 
Disassociated [akka.tcp://[email protected]:60789] -> 
[akka.tcp://DataAugmentation@server002:2552]
[2014-01-24 14:26:14,630] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-2] akka.remote.EndpointWriter - 
Disassociated [akka.tcp://[email protected]:60789] -> 
[akka.tcp://DataAugmentation@server002:2552]
[2014-01-24 14:26:14,630] [INFO] 
[AkkaXLServer-akka.actor.default-dispatcher-2] akka.actor.LocalActorRef - 
Message 
[akka.remote.transport.ActorTransportAdapter$DisassociateUnderlying] from 
Actor[akka://AkkaXLServer/deadLetters] to 
Actor[akka://AkkaXLServer/system/transports/akkaprotocolmanager.tcp0/akkaProtocol-tcp%3A%2F%2FDataAugmentation%40server002%3A2552-1#1651503039]
 
was not delivered. [2] dead letters encountered. This logging can be turned 
off or adjusted with configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
[2014-01-24 14:26:14,630] [INFO] 
[AkkaXLServer-akka.actor.default-dispatcher-2] akka.actor.LocalActorRef - 
Message 
[akka.remote.transport.ActorTransportAdapter$DisassociateUnderlying] from 
Actor[akka://AkkaXLServer/deadLetters] to 
Actor[akka://AkkaXLServer/system/transports/akkaprotocolmanager.tcp0/akkaProtocol-tcp%3A%2F%2FDataAugmentation%40server002%3A2552-1#1651503039]
 
was not delivered. [2] dead letters encountered. This logging can be turned 
off or adjusted with configuration settings 'akka.log-dead-letters' and 
'akka.log-dead-letters-during-shutdown'.
[2014-01-24 14:26:14,632] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-11] akka.remote.EndpointWriter 
- restarted
[2014-01-24 14:26:14,632] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-11] akka.remote.EndpointWriter 
- restarted
[2014-01-24 14:26:14,633] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-24] 
akka.remote.transport.AkkaProtocolManager - now supervising 
Actor[akka://AkkaXLServer/system/transports/akkaprotocolmanager.tcp0/akkaProtocol-tcp%3A%2F%2FDataAugmentation%40server002%3A2552-2#1273774939]
[2014-01-24 14:26:14,633] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-24] 
akka.remote.transport.AkkaProtocolManager - now supervising 
Actor[akka://AkkaXLServer/system/transports/akkaprotocolmanager.tcp0/akkaProtocol-tcp%3A%2F%2FDataAugmentation%40server002%3A2552-2#1273774939]
[2014-01-24 14:26:14,634] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-24] 
akka.remote.transport.ProtocolStateActor - started 
(akka.remote.transport.ProtocolStateActor@549ad840)
[2014-01-24 14:26:14,634] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-24] 
akka.remote.transport.ProtocolStateActor - started 
(akka.remote.transport.ProtocolStateActor@549ad840)
[2014-01-24 14:26:17,126] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-20] akka.remote.EndpointWriter 
- Associated [akka.tcp://[email protected]:60789] -> 
[akka.tcp://DataAugmentation@server002:2552]
[2014-01-24 14:26:17,126] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-20] akka.remote.EndpointWriter 
- Associated [akka.tcp://[email protected]:60789] -> 
[akka.tcp://DataAugmentation@server002:2552]
[2014-01-24 14:26:17,127] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-20] akka.remote.EndpointWriter 
- now supervising 
Actor[akka://AkkaXLServer/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FDataAugmentation%40server002%3A2552-0/endpointWriter/endpointReader-akka.tcp%3A%2F%2FDataAugmentation%40server002%3A2552-0#936701101]
[2014-01-24 14:26:17,127] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-20] akka.remote.EndpointWriter 
- now supervising 
Actor[akka://AkkaXLServer/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FDataAugmentation%40server002%3A2552-0/endpointWriter/endpointReader-akka.tcp%3A%2F%2FDataAugmentation%40server002%3A2552-0#936701101]
[2014-01-24 14:26:17,129] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-18] akka.remote.EndpointReader 
- started (akka.remote.EndpointReader@1bd97d0d)
[2014-01-24 14:26:17,129] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-18] akka.remote.EndpointReader 
- started (akka.remote.EndpointReader@1bd97d0d)
[2014-01-24 14:26:17,129] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-18] akka.remote.EndpointReader 
- now monitoring 
Actor[akka://AkkaXLServer/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FDataAugmentation%40server002%3A2552-0/endpointWriter#226701486]
[2014-01-24 14:26:17,129] [DEBUG] 
[AkkaXLServer-akka.actor.default-dispatcher-18] akka.remote.EndpointReader 
- now monitoring 
Actor[akka://AkkaXLServer/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FDataAugmentation%40server002%3A2552-0/endpointWriter#226701486]

On ActorSystem2

[2014-01-24 14:26:16,473] [ERROR] 
[DataAugmentation-akka.actor.default-dispatcher-234] 
akka.remote.EndpointWriter - AssociationError 
[akka.tcp://DataAugmentation@server002:2552] -> 
[akka.tcp://[email protected]:60789]: Error [Association failed with 
[akka.tcp://[email protected]:60789]] [
akka.remote.EndpointAssociationException: Association failed with 
[akka.tcp://[email protected]:60789]
Caused by: 
akka.remote.transport.netty.NettyTransport$$anonfun$associate$1$$anon$2: 
Connection refused: /127.0.0.1:60789

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to