Hello,
I am constantly getting HTTP 403 while reconnecting to market data feed websocket connection. Everything works well for the first connection instance of the day. But thereafter, whenever I unsubscribe, close the socket and try to reconnect, it gives me HTTP 403. I tried with auto-redirect and the “authorize” endpoint too. For both, the behaviour is the same.
I noticed that everytime the “authorize” response is different with regards to requestId and code params. Do I need to cache the day’s first “authorize” response and reuse it for any subsequent reconnect requests for the entire day/trading session?
Even if the websocket connection’s state is aborted or closed on client side, I’m getting HTTP 403. My guess is that from server side, the connection/session/thread against my Id/access token is not getting closed/disposed properly.
Any pointers would help. I’m on a custom .NET application.