Connection error:1006 -connection was closed uncleanly

royankur
Hi,

Getting this error while running my websocket

Connection error: 1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
Connection closed: 1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)

Losing connection every half-hour.

Any suggestions to resolve this issue?
  • rakeshr
    Connection error: 1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
    Are you blocking the main ticker thread?
    Go through the websocket FAQs here.
  • royankur
    No, I am not blocking the thread.

    Today it worked fine!!!

    I used Lan Connection Today.

    Before this, I was using Wifi!!!

This discussion has been closed.