Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Asych client connect timeout? #30

Open
krestenkrab opened this Issue · 0 comments

1 participant

@krestenkrab
Owner

This shoudl not happen, as all out Sockets are created in non-blocking mode. Figure out why Java thinks it's a blockling connect -- which may cause time out exception. Non-blocking connect requests should fail by returning false.

unknown exception: java.net.ConnectException: Operation timed out
java.net.ConnectException: Operation timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
at erjang.net.InetClientSocket.finishConnect(InetClientSocket.java:113)
at erjang.net.LazyInetSocket.finishConnect(LazyInetSocket.java:158)
at erjang.driver.tcp_inet.TCPINet.readyConnect(TCPINet.java:1364)
at erjang.driver.LockingDriverInstance.readyConnect(LockingDriverInstance.java:194)
at erjang.driver.EDriverTask$3.execute(EDriverTask.java:642)
at erjang.driver.EDriverTask.main_loop(EDriverTask.java:459)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.