I’m studying websocket and I tried the tomcat howto.here
Everything is clear except the fact that after 15 seconds of inactivity the server call the onclose method with status 1002 ( it should be protocol error). What should I do to maintain the websocket open until i want to close it? Am I missing something?
Ps: I’m using Tomcat 7.0.27
I’m studying websocket and I tried the tomcat howto. here Everything is clear except
Share
I had a similar issue and stopped it by setting the connectionTimeout higher in the server.xml config.
J