Getting 1006 error - WebSocket connection upgrade failed (403 - Forbidden)

My connection to kite websocket connection failed in the morning and since then its giving me the following error.
ERROR : 1006, connection was closed uncleanly (WebSocket connection upgrade failed (403 - Forbidden))
And then the code throws an exception and quits.

How can this be handled or rectified?
  • sujith
    It seems like your session is expired. You need to create a new access token and use that.
  • MAG
    Thanks Sujith.

    I generate the token and update to git which then pulls it to a remote box automatically. Worked like clockwork for months. Which is why I didnt even look there. It failed for the first time today!!
    Just goes to say you can never have too much monitoring. Something will slip through the cracks.
Sign In or Register to comment.