Navigation

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

    Websoket keeps disconnecting.

    Python SDK
    4
    5
    56
    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.
    • J
      jiwan1986 last edited by

      @admin I got the following error multiple times while running my algo using web socket. Connection closed: 1006 - connection was closed uncleanly (None). Please help mw with this.

      S 1 Reply Last reply Reply Quote 0
      • S
        Surya 1 @jiwan1986 last edited by

        @rjbanna

        I have posted similar error yesterday. Where is your server hosted ? I ran two accounts today, one on aws and other on my network. AWS instance ran without any issue, while private one ran in to issues.

        I believe this is due to disruptions in network. Reconnect module which was introduced in SDK 1.2.1 is taking care of this, but its keep trying and reconnecting and HeartBeat Failed message is also printed. its connected to one other. I think fixing reconnect module could fix all this issues

        Please keep me posted about this.

        A J 2 Replies Last reply Reply Quote 0
        • A
          admin @Surya 1 last edited by

          Hi @rajanprabu yes we will update you on this Asap.

          1 Reply Last reply Reply Quote 0
          • J
            jiwan1986 @Surya 1 last edited by

            @rajanprabu Currently I'm testing it on my own machine. Yes, you are right. Root cause is reconnect method. I was also getting the tic k data while that method was printing heartbeat failed message.

            1 Reply Last reply Reply Quote 0
            • P
              pranav last edited by

              I'm having the same issue. How did you fix this?

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