Navigation

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

    Issue with concurrent websocket 2.0 connections

    Python SDK
    0
    7
    114
    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.
    • I
      imakr last edited by imakr

      Hi admin,
      Im facing issue with the websocket 2.0 concurrent connections . Im running my daily strategies in Laptop#1 which works fine. However when connection is active and fetching market feed on Laptop#1, If i try running websocket connection on laptop#2, i get "Attempting to resubscribe" and i dont receive the market feed. Next, if i try to logout in first session in Laptop#1, i get error message as INVALID TOKEN.
      To debug this further, i restarted both laptops and on this attempt, i logged in first on Laptop#2, i was able to get market feed without any issue. Now when i try to login on Laptop#1, i get "Attempting to resubscribe" . Im not sure why im facing this issue. My understanding as per your pinned post, 3 concurrent connections are allowed.

      A I F 3 Replies Last reply Reply Quote 0
      • A
        anil_patel @imakr last edited by

        @imakr @admin I also get the Same Error. @admin Please Check.

        I 1 Reply Last reply Reply Quote 1
        • Y
          yogeshwadhwani last edited by

          facing same error.

          1 Reply Last reply Reply Quote 0
          • I
            imakr @anil_patel last edited by

            @anil_patel @admin Hi Admin, Can you please confirm on this?

            1 Reply Last reply Reply Quote 0
            • I
              imakr @imakr last edited by

              @imakr @anil_patel @admin Dear fellow traders, have you faced the above scenario? If so, please suggest any resolution if available

              1 Reply Last reply Reply Quote 0
              • F
                falconTrader @imakr last edited by

                @imakr, I haven't tried by myself, but just thinking out logically, I ask myself, should the same APP API key be valid for multi session? Since, Angelone is offering this service for free, a multi session might throw errors.

                Could it be that user needs to create another APP (and hence a new key) and use that for connecting from Laptop#2?

                I 1 Reply Last reply Reply Quote 0
                • I
                  imakr @falconTrader last edited by

                  @falconTrader Thanks for your thoughts. Let me try some more debugging options and update this thread,

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