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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...