Navigation

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

    Web socket streaming

    General Discussion
    0
    6
    92
    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.
    • A
      anosingh last edited by

      Anyone running Smart API web socket successfully? It runs for 30 sec approx and then stops...
      there was an issue with the api code as the reconnect attempt was fixed to 1 which I change but still it ends up breaking after 5 min

      G P J 3 Replies Last reply Reply Quote 0
      • J
        JarvisBull @anosingh last edited by

        @anosingh As per documentation, you need to ping server every 30 sec to keep connection alive. Check if you are sending "ping" using timer. Also which API are you talking about ? I recently successfully ran WebSocket 2.0 for C#.

        1 Reply Last reply Reply Quote 0
        • P
          pratikbhadane @anosingh last edited by

          @anosingh it appears to be operating smoothly, as we've been actively utilizing it for the past month without any issues. Could you provide details on your implementation? I'll have a look.

          1 Reply Last reply Reply Quote 0
          • J
            J88913 last edited by

            Watch the video and download the code to get the live data into Excel

            Youtube Video

            1 Reply Last reply Reply Quote 0
            • G
              gnihcacoes @anosingh last edited by

              @anosingh said in Web socket streaming survivor io:

              Anyone running Smart API web socket successfully? It runs for 30 sec approx and then stops...
              there was an issue with the api code as the reconnect attempt was fixed to 1 which I change but still it ends up breaking after 5 min

              I'm using API web sockets here but I've never had an error. If you look at the solutions online and still can't solve the problem, try contacting the supplier.

              1 Reply Last reply Reply Quote 0
              • M
                Moderator_1 last edited by

                Hello @anosingh ,

                Apologies for delayed response and inconvenience is regretted.
                Are you still facing the same issue?
                How are you connecting with the websocket? Can you please provide details?

                Thank you.

                Regards
                SmartAPI Team

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