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
- Dart Runtime as Function is missing
Hey guys, I set the _APP_FUNCTIONS_RUNTIMES to dart-3.10 and redeployed the appwrite stack but unfortunately the dart runtime doesnt show up. I copied the val...
- Go 1.25 runtime
So I'm trying to use go 1.25 for my functions and I can only find go-1.23 as a function runtime. So I did some searching and found https://github.com/appwrite/a...
- Python TablesDB Rework
Hi, i starting to rework some older functions to TablesDB list_rows Method. I used list_documents with a resultset with worked fine. Now i tried to get all rows...