Navigation

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

    Websocket connection was forcibly closed by the remote host.

    General Discussion
    0
    1
    1
    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.
    • R
      rakeshkr114 last edited by

      Hi @admin,
      Why was my websocket connection closed (in python)? Can you please let me know?
      I saw 4 errors in websocket: "Connection closed" around 23/07/2024 12:10:55 PM.
      I also observed An existing connection was forcibly closed by the remote host - goodbye around same time.
      Error stack:
      23/07/2024 12:10:55 PM error in connection: Connection closed
      23/07/2024 12:10:55 PM [Errno 11001] getaddrinfo failed - goodbye
      23/07/2024 12:10:55 PM error from callback <bound method SmartWebSocketV2._on_close of <SmartApi.smartWebSocketV2.SmartWebSocketV2 object at 0x0000028F4545FB20>>: _on_close() takes 2 positional arguments but 4 were given
      23/07/2024 12:10:55 PM error in connection: Connection closed
      23/07/2024 12:10:55 PM [Errno 11001] getaddrinfo failed - goodbye
      23/07/2024 12:10:55 PM error from callback <bound method SmartWebSocketV2._on_close of <SmartApi.smartWebSocketV2.SmartWebSocketV2 object at 0x0000028F4545FB20>>: _on_close() takes 2 positional arguments but 4 were given
      23/07/2024 12:10:55 PM error in connection: Connection closed
      23/07/2024 12:10:55 PM [WinError 10054] An existing connection was forcibly closed by the remote host - goodbye
      23/07/2024 12:10:55 PM error from callback <bound method SmartWebSocketV2._on_close of <SmartApi.smartWebSocketV2.SmartWebSocketV2 object at 0x0000028F4545FB20>>: _on_close() takes 2 positional arguments but 4 were given
      23/07/2024 12:10:55 PM error in connection: Connection closed

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