Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Order websocket not connecting

    Test
    0
    7
    62
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RK123 last edited by

      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.

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_2 @RK123 last edited by

        Hi @RK123

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

        Thanks & Regards,
        SmartAPI team

        1 Reply Last reply Reply Quote 0
        • R
          RK123 last edited by

          client code = 'A458898'

          1 Reply Last reply Reply Quote 0
          • R
            RK123 last edited by

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

            M 1 Reply Last reply Reply Quote 0
            • M
              Moderator_2 @RK123 last edited by

              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

              1 Reply Last reply Reply Quote 0
              • R
                RK123 last edited by

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

                M 1 Reply Last reply Reply Quote 0
                • M
                  Moderator_2 @RK123 last edited by Moderator_2

                  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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post