101 Switching Protocols. HTTP/1.1 403 Forbidden

noft

com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 403 Forbidden
Since afternoon of 31st August 2021, I am getting the above error and havent been able to reconnect
Have logged in multiple times to the kite and generated the token bt still getting the same error
  • sujith
    Can you paste the complete code here?
    You may also print and check what are the values you are sending.
    This usually means your session is expired.
  • noft
    Yes. Usually logging in again used to solve this problem. Is there a cut off in the morning (say 8:30 am) before which all sessions are expired, even if created the same day (say 8:15 am)?
    And is there some problem with session reactivation if the session is deactivated coz of "Too many requests" or "Session expired" kinda reasons?
  • rakeshr
    Is there a cut off in the morning (say 8:30 am) before which all sessions are expired, even if created the same day (say 8:15 am)?
    Yes, it's 7:35 AM. You can know more about this here.
    And is there some problem with session reactivation if the session is deactivated coz of "Too many requests" or "Session expired" kinda reasons?
    No, the new session generation is independent of both the above errors .
Sign In or Register to comment.