I keep getting this error very frequently. I am firing orders over home broadband. However, simultaneously, I am also using kite web app it is working. So I would like to believe that my internet connection is all right.
Today since last 30 minutes or so, I am continuously getting this error.
Can you tell me what exactly is the problem, is it at your end or mine. If at my end, how can we fix it.
Hi @skk, Can you mention for which API call you are getting this exception? Please print exception message and paste it here. To access exception message you can write something like this
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 236, in request_access_token "checksum": checksum
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 468, in _post return self._request(route, "POST", params)
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 521, in _request raise ex.ClientNetworkException("Gateway connection error", code=503)
Again, I am getting these errors. Once I start getting this error, all commands will give this error for a while.
Funny thing is that websocket is streaming data uninterrupted all this while. So, my internet connectivity as a problem is ruled out.
The problem is occurring frequently lately leading to big "dead-zones" where I cant do anything. This is a serious hindrance.
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 345, in orders return self._get("orders")
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 464, in _get return self._request(route, "GET", params)
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 521, in _request raise ex.ClientNetworkException("Gateway connection error", code=503)
Can you mention for which API call you are getting this exception?
Please print exception message and paste it here. To access exception message you can write something like this
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 236, in request_access_token
"checksum": checksum
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 468, in _post
return self._request(route, "POST", params)
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 521, in _request
raise ex.ClientNetworkException("Gateway connection error", code=503)
ClientNetworkException: Gateway connection error
Funny thing is that websocket is streaming data uninterrupted all this while. So, my internet connectivity as a problem is ruled out.
The problem is occurring frequently lately leading to big "dead-zones" where I cant do anything. This is a serious hindrance.
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 345, in orders
return self._get("orders")
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 464, in _get
return self._request(route, "GET", params)
File "D:\Filehistory Backup D\WinPython-64bit-3.5.2.2\python-3.5.2.amd64\lib\site-packages\kiteconnect\__init__.py", line 521, in _request
raise ex.ClientNetworkException("Gateway connection error", code=503)
ClientNetworkException: Gateway connection error