Navigation

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

    What is this error - 'An existing connection was forcibly closed by the remote host'. Faced while placing a market order.

    Python SDK
    1
    1
    13
    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.
    • P
      projectSB last edited by

      Hi @admin ,

      I got the following error while my algo was running fine today:

      2025-07-29 13:33:08,801 ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

      The API request was for Placing a market order to exit an existing position.

      Details:
      "instrument": "NIFTY31JUL2524700PE"

      Note that the system was fine from the morning, and was executing orders as well.

      Need your help ASAP, other wise my system won't run tomorrow and Angel will lose revenue 🙂

      Thanks
      -Sid

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