Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Sukhwant280
    3. Best
    S
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by Sukhwant280

    • RE: Unable to get live feed.

      @admin - Thanks. Now I am using below in my code
      AUTH_TOKEN -> jwtToken from response from generateSession('userid', 'password')
      FEED_TOKEN -> refreshToken from response from generateSession('userid', 'password')

      Please confirm if above is not correct, coz still I am getting same response from websockt i.e "Attempting to resubscribe/reconnect...
      In on pong function==> b'\x00'"

      I tried to troubleshoot from my end -> it failing at below step (i.e. row no 310 in smartWebsocketV2.py:

      "token": SmartWebSocketV2._parse_token_value(binary_data[2:27]),

      Can you help me here to understand whats wrong in my inputs ?

      posted in Python SDK
      S
      Sukhwant280