Connection timeout

Issue #89 wontfix
jjoannes created an issue

Hi,

Our infrastructure behaves oddly these times and I faced a strange issue while trying to connect:

2016-11-14T16:08:02,459+01:00 INFO  [main] (JdkClientContainer.java:177) Connecting to 'wss://activation.cc.connect2.opentouch.com:443/' via proxy 'HTTP @ /192.168.254.49:8080'.
2016-11-14T16:12:47,707+01:00 DEBUG [ tyrus-jdk-client-4] (ClientFilter.java:234) Connection has been closed by the server

Do you know how I can decrease timeout? I can't afford the user waiting such a long time... By the way the connection issue is not on the proxy side, I can connect successfully on another server.

Thanks

Comments (7)

  1. jjoannes reporter

    Unfortunately it doesn't work. I found the blocking call being in TransportFilter:

                    socketChannel = AsynchronousSocketChannel.open(channelGroup);
    

    And according to StackOverflow it's not possible to set a timeout here.

    I suggest to close this issue...

  2. Christian Schudt repo owner

    No estimated release date yet, but I guess there are enough bug fixes to release it within the next few weeks.

  3. Log in to comment