Navigation

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

    Websocket Invalid feed token or client code after reconnect attempts

    Test
    3
    5
    30
    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.
    • V
      viralt last edited by

      2021/06/04 13:07:44 Connected
      2021/06/04 13:11:31 Error: Error reading data: websocket: close 1006 (abnormal closure): unexpected EOF
      2021/06/04 13:12:44 Error: write tcp 192.168.1.12:60358->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      2021/06/04 13:13:44 Error: write tcp 192.168.1.12:60358->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      2021/06/04 13:14:44 Error: write tcp 192.168.1.12:60358->103.82.177.98:443: wsasend: An established connection was aborted by the software in your host machine.
      Reconnect attempt 3 in 8.000000s
      2021/06/04 13:14:52 Connected
      2021/06/04 13:17:44 Error: Invalid feed token or client code
      2021/06/04 13:17:52 Error: Invalid feed token or client code
      2021/06/04 13:18:44 Error: Invalid feed token or client code
      2021/06/04 13:18:52 Error: Invalid feed token or client code
      2021/06/04 13:19:44 Error: Invalid feed token or client code
      2021/06/04 13:19:52 Error: Invalid feed token or client code
      2021/06/04 13:20:44 Error: Invalid feed token or client code
      2021/06/04 13:20:52 Error: Invalid feed token or client code
      2021/06/04 13:21:44 Error: Invalid feed token or client code
      2021/06/04 13:21:52 Error: Invalid feed token or client code
      2021/06/04 13:22:44 Error: Invalid feed token or client code
      2021/06/04 13:22:52 Error: Invalid feed token or client code
      2021/06/04 13:23:44 Error: Invalid feed token or client code
      2021/06/04 13:23:52 Error: Invalid feed token or client code
      2021/06/04 13:24:44 Error: Invalid feed token or client code
      2021/06/04 13:24:52 Error: Invalid feed token or client code
      2021/06/04 13:25:44 Error: Invalid feed token or client code
      2021/06/04 13:25:52 Error: Invalid feed token or client code

      A 1 Reply Last reply Reply Quote 0
      • A
        admin @viralt last edited by

        HI @viralt Please check you feed token and client code and try again.

        V 1 Reply Last reply Reply Quote 0
        • V
          viralt @admin last edited by

          @admin
          If we generate new session in another program then in that case does it invalidate older running program ?

          A 1 Reply Last reply Reply Quote 0
          • A
            admin @viralt last edited by

            Hi @viralt no.

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

              If you are using C# library and your target framework is 5.0
              then

              1. comment out the code where you are assigning security protocol.
                ![0_1622910468104_8bdf1b16-f986-46a0-9102-92c26329ec11-image.png](Uploading 100%)
              2. Build the SmartAPIProject
              3. Refer to the latest angelbroking.dll binary placed at bin folder
                ![0_1622910570902_0afaf07f-8de5-4eba-bd50-0dc4f4a1d614-image.png](Uploading 100%)
              1 Reply Last reply Reply Quote 0
              • First post
                Last post