On Tue, Mar 18, 2014 at 4:50 PM, Rob S <[email protected]> wrote: > That is correct that I am not using remote deployed actors in my > application but I was attempting to run the sample code with no > modifications except for the config files. >
Ok, that is good. It was just that I thought that you would find the LookupApplication in the sample to be more close to your application. > There are no firewalls between my two systems and everything works > correctly the first time I run each piece on separate systems. System A > sends a calculation request, System B processes that request and returns > the result, System A displays the result. Everything stops working when I > stop the application on System A and leave System B running. When I start > System A again and attempt to request a calculation I don't ever get a > response. > I could not reproduce that on one machine. I will have to try on some other machines, but I will not have time for that today. > I get the following debug: > Thank you for the logs. > > System A > WARN] [03/18/2014 09:40:19.140] > [CreationSystem-akka.remote.default-remote-dispatcher-5] [akka.tcp:// > [email protected]:2554/system/remote-watcher] Detected > unreachable: [akka.tcp://[email protected]:2552] > [WARN] [03/18/2014 09:40:19.143] > [CreationSystem-akka.remote.default-remote-dispatcher-13] [Remoting] > Association to [akka.tcp://[email protected]:2552] > with unknown UID is reported as quarantined, but address cannot be > quarantined without knowing the UID, gating instead for 5000 ms. > [INFO] [03/18/2014 09:40:19.158] > [CreationSystem-akka.actor.default-dispatcher-3] > [akka://CreationSystem/deadLetters] Message [akka.remote.DaemonMsgCreate] > from Actor[akka://CreationSystem/deadLetters] to > Actor[akka://CreationSystem/deadLetters] 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'. > > System B > [WARN] [03/18/2014 09:40:15.157] > [CalculatorWorkerSystem-akka.remote.default-remote-dispatcher-12] > [akka.tcp:// > [email protected]:2552/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2FCreationSystem%40192.168.12.23%3A2554-1] > Association with remote system [akka.tcp:// > [email protected]:2554] has failed, address is now gated for > [5000] ms. Reason is: [Association failed with > [akka.tcp://[email protected]:2554]]. > > > On Monday, March 17, 2014 3:42:01 PM UTC-4, Rob S wrote: > >> Hi all, >> >> I am starting out with remote actors and I have run into an issue I can't >> seem to find an answer for. I have setup an application that performs >> distributed work on remote systems. Simply I have an actor system on one >> computer that sends a work request to a remote actor, the remote performs >> the work and returns the result. This process works perfectly. My issue >> comes in when I shutdown the requesting actor system and trying to start it >> up again. I get a connection refused on the remote system and I can not >> pass any messages to the remote system anymore. When I restart both >> applications everything works fine. I am using Akka 2.3.0 >> >> >> 1. System A starts up >> 2. System B starts up and sends request to System A >> 3. System A sends a reply to System B >> 4. System B shutsdown >> 5. System B starts up and sends request to System A >> 6. System A outputs connection refused >> >> Rob >> > -- > >>>>>>>>>> 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 [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/d/optout. > -- Patrik Nordwall Typesafe <http://typesafe.com/> - Reactive apps on the JVM Twitter: @patriknw -- >>>>>>>>>> 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 [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/d/optout.
