-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Node SDK Fetch Fail Issues #8311
Comments
Update: I've found the cause for this which might be coming from The problem seems to be coming from Node:20 Specific Tests:
Runtimes:
|
@ItzNotABug, whoa! Can you reproduce this with just node (specific version in the runtime) and not in an Appwrite Function? |
I've tested on a self hosted instance with Functions. Usage via Server Side SDK on a local machine works fine. Its just the function runtime acting out. Alternatively, I tested with Dart Server SDK on Functions, that went fine. I could share a video of the issue. |
Update 2: I somehow also managed to get this on a local execution (via a Trace -
Node: |
@ItzNotABug, nice! Looks like you've narrowed down the problem to |
@stnguyen90, I haven't tested this on a |
👟 Reproduction steps
When using a batch process like below (or even
listDocuments
) in a Function,Node SDK
often fails with timeouts and fetch failed -Error Cause -
The same is pretty usable on Dart SDK (only tested this) and on local executions.
Sometimes a logic like
sleep
/delay
is helpful but not always & is really not optimal as it can take upto minutes to update the documents where using something likePromise.all
is pretty much under 10s.👍 Expected behavior
No timeouts.
👎 Actual Behavior
Timeouts.
🎲 Appwrite version
Version 1.5.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: