Order websocket not connecting


  • To get order updates we are trying to connect to orderwebsocket of angelone on the following url : wss://tns.angelone.in/smart-order-update
    Getting the following error message : Error: Handshake status 404 Not Found -+-+- {'vary': 'Accept-Encoding', 'date': 'Fri, 02 Feb 2024 07:27:56 GMT', 'server': 'envoy', 'connection': 'close', 'content-length': '0'} -+-+- b''
    Please resolve this issue asap as it is pending from longtime.


  • Hi @RK123

    We are able to reproduce the issue if the Authorization is initiated without the "Bearer". Please verify if the issue occurs on following of below step on postman.

    • Open Postman => Select New => select websocket

    • Domain: wss://tns.angelone.in/smart-order-update

    • Add Authorization along with other header params

    • Key : Authorization - Value: Bearer ********

    Kindly share us the screenshot of the request(Please hide on auth token) if the issue still occurs.

    Regards,
    SmartAPI team


  • Smart API auth token is passed correctly on header parameter from ourside but still issue is coming. This issue is from yourside.


  • Hi @RK123

    Apologies for the delayed response.
    Please make sure smart API auth token is passed properly on header parameter.
    Kindly share us more client code if possible to help us debug

    Thanks & Regards,
    SmartAPI Team


  • Almost 10 days gone but still no reply from yourside. Please there are lot of users are connected with angleone don't lose hopes.


  • client code = 'A458898'


  • Hi @RK123

    Kindly share us the client code to analyze on the issue.

    Thanks & Regards,
    SmartAPI team