hi @eldad i have noticed this 500 status code in my function requests, it seems its not able to connect to the internet in the function as requests to APIs and urls fail with ClientException with SocketException: failed host lookup: ... (OS Error: name or service not known, errno = -2)
i also get this error which is basically same thing:
Error: Exception: Invalid or expired token.
Unhandled error: Exception: Invalid or expired token.```
Note that this happens like twice in every 10 request.
Better not to tag eldad directly....
all good I asked π
please share the code, project ID, runtime, region etc
status code 500, project id: 6751d496002a1bcc7486, dart runtime, FRA region
Error is always ClientException with SocketException: Failed host lookup:, wether its appwrite services or doing a HTTP request to external URLs in the function, it gives that error. it's happening more frequently now.
Recommended threads
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...