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
- Cannot create cloud function due to this...
As I try to deploy a new function to Github I get this error message: ``` Unable to clone code repository: fatal: ' ' is not a valid branch name hint: See `man ...
- How to use TS for creating appwrite func...
I was making a few appwrite functions but on doing the appwrite init setup process i always got main.js. Is there any way i can use TS?
- Synchronous Function Execution Timed Out...
Hi Appwrite team 👋 I’m facing a synchronous function execution timeout issue on Appwrite Cloud and would appreciate some guidance. I executed this function u...