--
>>>>>>>>>> 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 post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user?hl=en.
On Saturday, 10 November 2012 at 02:27, cessationoftime wrote:
I probabIy should have been more thorough in my initial description, my Netty configuration is a little non-standard. I am giving the Netty server an IP address of "0.0.0.0", so the server will accept incoming connections directed to an IP other than the local one. I then give the Akka system my router IP. With this setup I can accept external NAT connections through my router. Works great except for the shutdown timeout. Does the Netty shutdown sequence require an IP address as an input somewhere? Perhaps I am supplying it with the wrong value when I shutdown.
This isnt running in a test, this is remoting from one PC to another.At the end of NettyRemoteTransport.shutdown, If I shutdown the executionHandler like this:clientChannelFactory.releaseExternalResources()PipelineFactory.executionHandler foreach { _.releaseExternalResources() }Then the timeout problem goes away. However, I found a commit by Victor with a comment that explicitly says not to do this. It is pretty old and the comment is gone, is that warning still valid?
I will do a Pull Request shortly so you can view my change, and hopefully Pull it if this gets solved.
Since this timeout problem seems to be unrelated to the changes I made. I created a second ticket and PR for those changes #2698. I am hoping they are simple enough you guys will be able to merge them in for the 2.1 release.https://github.com/akka/akka/pull/864