I am continuously getting HTTPSConnectionPool(host='www.nseindia.com', port=443): Read timed out. Even if i keep the function timeout at 15 mins. The code works fine when run locally.
execution id : 652c1b525c690c9074be
function id :652b513aa586cf8639d5
last error was Unexpected curl error between proxy and executor ID exc3 (110): Operation timed out\nError Code: 500 but unable to debug this.
Are you self hosting or on cloud?
on the cloud
socket.getaddrinfo('www.nseindia.com', 443) on cloud is
[[2,1,6,"www.nseindia.com",["104.102.34.161",443]],[2,2,17,"www.nseindia.com",["104.102.34.161",443]]]
on local machine is
[(<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_DGRAM: 2>, 17, '', ('104.121.247.209', 443)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('104.121.247.209', 443))]
Do you have some sort of load balancer in front?
na is seems the website rejects request coming from outside the country, had to put proxies that were based in india for it to work, this is resolved. sorry about the false alarm.
this is now resolved for me
but getting a better message somehow would have been better, this was all trial and error
Recommended threads
- Unable to create records with other user...
are we able to create records in collections with permissions of different user than the caller of this request? (with document security on) I have backend func...
- Sometimes this function shows an error l...
1. Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds.\nError Code: 408 2...
- Custom Topic sent from Function (with sc...
Can I send a message on a custom topic? So clients can subscribe to them?