The operation has timed out

hemanthbidare
Keep getting "The operation has timed out" error. Any scheduled downtime with the api?
  • sujith
    Can you give us a complete stack trace of this?
  • KT5961
    Im also getting the same error while accessing any method of kite.
  • pgalgo
    pgalgo edited November 2020
    i also get the same error on GetHoldings(), GetPositions() and also while getting orders.

    DEBUG: User-Agent: KiteConnect.Net/3.0.7.0
    DEBUG: X-Kite-Version: 3
    DEBUG: Authorization: token j9izk0fppaej1y21:Sxp34XlcQyq7nr7asdasd214321ewsdad
    The thread 0x2948 has exited with code 0 (0x0).
    The thread 0x55b8 has exited with code 0 (0x0).
    The thread 0x2c74 has exited with code 0 (0x0).
    Exception thrown: 'System.Net.Sockets.SocketException' in System.dll
    Exception thrown: 'System.Net.Sockets.SocketException' in System.dll
    Exception thrown: 'System.ObjectDisposedException' in System.dll
    Exception thrown: 'System.Net.WebException' in System.dll
    Exception thrown: 'System.Net.WebException' in System.dll
    Exception thrown: 'System.ObjectDisposedException' in System.dll
    Exception thrown: 'System.Net.WebException' in System.dll
    Exception thrown: 'System.Net.WebException' in System.dll
    Exception thrown: 'System.Net.WebException' in KiteConnect.dll
    System.Transactions Critical: 0 : http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/UnhandledUnhandled exceptionSignals.exeSystem.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089The operation has timed out at KiteConnect.Kite.Request(String Route, String Method, Object Params, Boolean json)
    at KiteConnect.Kite.GetHoldings()
    at Signals.Form1.kiteHoldings() in D:\vsprojects\source\repos\Signals\Signals\Form1.cs:line 436
    at Signals.Form1..ctor() in D:\vsprojects\source\repos\Signals\Signals\Form1.cs:line 53
    at Signals.Program.Main() in D:\vsprojects\source\repos\Signals\Signals\Program.cs:line 19System.Net.WebException: The operation has timed out
    at KiteConnect.Kite.Request(String Route, String Method, Object Params, Boolean json)
    at KiteConnect.Kite.GetHoldings()
    at Signals.Form1.kiteHoldings() in D:\vsprojects\source\repos\Signals\Signals\Form1.cs:line 436
    at Signals.Form1..ctor() in D:\vsprojects\source\repos\Signals\Signals\Form1.cs:line 53
    at Signals.Program.Main() in D:\vsprojects\source\repos\Signals\Signals\Program.cs:line 19
    An unhandled exception of type 'System.Net.WebException' occurred in KiteConnect.dll
    The operation has timed out
  • sujith
    sujith edited November 2020
    @pgalgo
    Please make sure you remove the app and client-specific details while posting logs on the public thread.
    This seems like a network issue, can you try on an alternate network?
Sign In or Register to comment.