requests.exceptions.SSLError: HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /instruments/historical/1332225/minute?from=2018-12-01&to=2018-12-12 (Caused by SSLError(SSLError("bad handshake: SysCallError(54, 'ECONNRESET')")))
I am getting errors from historical api from past week. i am getting all kinds of errors each time. Please let us know if there are any changes made to historical API in last one month
i am back testing my code and i am requesting all candles one after other(d,60,15,5,3,1) ,usually i do not get this error for the first set of request but i get when i do this second time or later. Some time i get this error even for the first request also.
absolutely unable to use Historical API please help getting this error over and over again. requests.exceptions.SSLError: HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /instruments/historical/340481/minute?from=2018-12-08&to=2018-12-12 (Caused by SSLError(SSLError("bad handshake: SysCallError(54, 'ECONNRESET')")))
Read timed out errors. Also FYI, I am sending only sending 1 request at a time every 3 seconds. INFY Historical 5MIN data fetching failed HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read ti meout=7) AUROPHARMA Historical 5MIN data fetching failed HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (r ead timeout=7) HINDZINC Historical 5MIN data fetching failed HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (rea d timeout=7) BHARATFORG Historical 5MIN data fetching failed HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (r ead timeout=7)
I am also getting the same errors. 1. requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7) 2. NetworkException: Request failed (kitetrade-common).
I am making one request per second. Please fix these issues. I am not able to run my strategies because of these issues.
me too. Since two days HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /instruments/historical/340481/minute?from=2018-12-13&to=2018-12-13&api_key=xxxxxxxxxx (Caused by SSLError(SSLError("bad handshake: SysCallError(10054, 'WSAECONNRESET')",),))
can i know how much do you need to fix this. please at least give us an estimate. We can not wait eternal. we are paying for services. in case the issue is resolved please let us know or make an announcement in a new thread.
It is possible that a request might fail by the time data is fetched. You can add a small delay and fetch it again. You just need to make sure that you don't hit the rate limits.
Is it happening often? We checked logs at our end, can't find much issue instances.
now i am also getting
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /instruments/historical/1332225/minute?from=2018-12-01&to=2018-12-12 (Caused by SSLError(SSLError("bad handshake: SysCallError(54, 'ECONNRESET')")))
1. requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7)
2. NetworkException: Request failed (kitetrade-common).
3. requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
4. kiteconnect.exceptions.NetworkException: Request failed (kitetrade-common).
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /instruments/historical/340481/minute?from=2018-12-08&to=2018-12-12 (Caused by SSLError(SSLError("bad handshake: SysCallError(54, 'ECONNRESET')")))
INFY Historical 5MIN data fetching failed HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read ti
meout=7)
AUROPHARMA Historical 5MIN data fetching failed HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (r
ead timeout=7)
HINDZINC Historical 5MIN data fetching failed HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (rea
d timeout=7)
BHARATFORG Historical 5MIN data fetching failed HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (r
ead timeout=7)
1. requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7)
2. NetworkException: Request failed (kitetrade-common).
I am making one request per second. Please fix these issues. I am not able to run my strategies because of these issues.
We are already looking into both the above errors. For time being, we will request you to handle above exception at your end.
HTTPSConnectionPool(host='api.kite.trade', port=443): Max retries exceeded with url: /instruments/historical/340481/minute?from=2018-12-13&to=2018-12-13&api_key=xxxxxxxxxx (Caused by SSLError(SSLError("bad handshake: SysCallError(10054, 'WSAECONNRESET')",),))