Open
Description
I have a long running server app that connects to another [target] service via https protocol.
Now sometimes I get an error "io.socket.client.SocketIOException: timeout". I am using a default timeout of 20 seconds.
The weird thing is that the target service is working fine, as I could access it from another application. But once I start seeing this error in my server app, it keeps coming again & again for all subsequent requests. Once I restart my server JVM, the error goes away. The connection is established in 150 milliseconds.
My server in this case is a client to the target service.
I am quite puzzled as to what could be the cause. There is no change in any config on a restart, but it starts working smoothly again.