requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed ou

mkrathi
Hello,

I have situation. I have code which runs smoothly when I run on my local machine but when I execute the same on Azure VM I am getting

requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.kite.trade', port=443): Read timed out. (read timeout=7)

And this happens for all order transactions like place_order, Cancel_order, etc. Ping from VM to api.kite.trade seems ok.

I can introduce try catch and retries but thats also not helping. Any leads what is causing this especially on Azure VM only. I am stuck.
This discussion has been closed.