Navigation

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

    Non Secure Websocket URL Decommissioned

    General Discussion
    0
    3
    31
    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.
    • M
      Moderator_1 last edited by

      Dear SmartAPI users,

      As highlighted long back in a forums post
      We have decommissioned the non secure URL for websocket streaming. Please use the secure connection url for your needs as mentioned in the linked post.

      From: ws://smartapisocket.angelone.in/smart-stream
      To: wss://smartapisocket.angelone.in/smart-stream

      Library Updates:
      We're excited to announce that our official SmartAPI libraries for Python, Node.js, and Java have been updated to accommodate this change. These updated libraries have undergone thorough testing to ensure seamless integration with the new WebSocket URL

      Action Required for Library Users:
      The updated libraries are available on our GitHub repository. We kindly request that all library users update to the latest version to align with the new WebSocket URL.

      Action Required for Direct Connections:
      For users who connect directly to the SmartAPI without using a library, you will need to update your code to use WebSocket Secure (WSS) instead of WebSocket (WS). This change is essential for maintaining a secure connection.

      Thank you for choosing SmartAPI for your trading journey.

      Thank you.

      Regards
      SmartAPI Team

      P 1 Reply Last reply Reply Quote 0
      • P
        poorna @Moderator_1 last edited by

        @Moderator_1 Is it need pip update, have error on SmartApi.smartwebsocketV2
        Pls advice, I don't know what to do

        M 1 Reply Last reply Reply Quote 1
        • M
          Moderator_1 @poorna last edited by

          Hello @poorna,
          we have had already updated the SDK long time back, so if you're using a version installed after September 2023 it is already handled. In any case we'd advise you to use the latest SDK to benefit from all the features and security patches.

          Thank you.

          Regards
          SmartAPI Team

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