Navigation

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

    Not Able to Close Websocket connection

    Python SDK
    0
    3
    27
    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.
    • M
      mohitag last edited by

      I am not able to close the websocket connection. When I run ss.ws.close() statement in python, I get the following error:

      AttributeError Traceback (most recent call last)
      Input In [19], in <cell line: 1>()
      ----> 1 ss.ws.close()

      AttributeError: 'NoneType' object has no attribute 'close'

      Any suggestions?

      M 1 Reply Last reply Reply Quote 0
      • M
        mohitag @mohitag last edited by

        @mohitag
        Hi,
        Is there any update on this query?

        --
        Regards,
        Mohit

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

          @admin I am still waiting for your response. Is there any way to close the websocket connection? Request for a quick resolution. Thanks.

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