Websocket disconnection issue
-
Good Afternoon,
today I am going to connect smartApi order WebSocket, I received unexpected server errors-
When I trying to connect with angelone websocket, I got 503 server error.
-
When I again try to connect, it gave connection error.
-
After some time, it directly connects and give response.
-
But, after some time when disconnect connection, and again build the connection through websocket it gave me same errors.
I get confused why this happen, Pls resolve this unexpected issue asap.
thank you.
-
-
I am currently using the following header parameters for my WebSocket connection:
Authorization: (Value starts with 'Bearer' keyword)
x-api-key
x-client-code
x-feed-tokenIssue:
Considering your hypothesis if I am passing the wrong headers or wrong values then how I am able to connect to the WebSocket within 5 minutes without making any changes? I need to understand why this is happening.Verification Needed:
I also need to verify if the WSS URI I use is correct.If possible connect me with the tech team.
Thank you.
-
Hello @RK123
Can you please provide the headers here you are passing
You need to pass these as well API_KEY,ClientCode and feedToken
In postman you will get the response as in binary
But if you are using any of the sdk such as python,Node or java you will be able to see the response as in stringRegards,
SmartAPI Team