I use the Closure client side and the Tornado server. I am creating a socket:
this.socket = goog.net.WebSocket(true)
and then open it:
this.socket.open(theSocketUrl)
Each works fine, including the messages being transmitted. However, once a minute (every 60-61 seconds), the socket closes and then opens again. There are no errors on the server side, and the Closure socket error event is not triggered.
I added an entry to the tornado, and something seems to call on_connection_close (), which then calls the on_close () socket method. The close () method itself is not called.
Any idea why this could be happening?
source share