-
Notifications
You must be signed in to change notification settings - Fork 271
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
Fetch failed error #360
Comments
Hi @shawncao What is your runtime environment? I did some initial investigation, this error seems come from the low level It would be helpful if you could provide the stack trace so we could debug further, thanks |
Hi @shawncao could you explain how can we replicate this behaviour for further debugging? |
Hi, I can not repro this, this just randomly happened. I don't know if it is just the stability of Gemini service itself. If it is not related to the client lib, I can understand, we can close. Just want to bring it up to see if this is common for all users. |
There's not currently much extra info for it (hopefully they will provide some more details in time), but it looks like a It looks like they were running on Windows, and the stack trace seems to mention Edit: They're running Node.js v22.14.0
|
It's pretty random, feels like it's service reliability issue, once in a while, but I'm not sure. by the way, I'm running node v22.14.0 |
Thanks @0xdevalias for sharing similar issues from other repos, particularly the stack trace shared in jehna/humanify#366 is very helpful. I also guess this might related to network connectivity issues, potentially due to firewall/proxy. (The issue happens randomly and hard to reproduce). If it is a Gemini api side issue, there should be a http status in the error message. I do found the same error message from the undici repo, which indicate it is a network error, without stack trace, it is hard to debug further. @shawncao what do you think to close the issue for now and reopen when you have a detailed stack trace? thanks |
Description of the bug:
It seems having a high chance to hit failure, based on the error message, I'm not sure if this is SDK's issue or the model's issue. If you have some pointer, that would be great.
Often seeing this - more than 20% of the time? Since it says
fetch failed
, I'm wondering if this is something to do with the SDK or some client configurations.Actual vs expected behavior:
The service should be reliability give answer. But it often fails, my observation gives me ~20% of the chance.
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: