-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add more information on "Retry total timeout exceeded before any response was received" error. #741
Comments
Faced some problem, any suggestions how to solved this |
@tanishiking : |
@hkdevandla @alexander-fenster can you please assist? |
when |
Folks, let's not bring different problems into the same issue. This particular issue asks to add library name to the valid "total timeout exceeded" error messages so that the users knew which API hit the timeout from the error message. @yossi-eynav If you folks are getting a lot of deadline exceeded errors in |
I'm having the same problem for PubSub, did you find a fix? |
As @alexander-fenster mentioned, this issue just asked to add the library name or some actionable information on error massages so that users can easily debug the error. FYI @abhirathod @mvergarair |
@tanishiking thanks! That was it, wasn't handling promises correctly. (Sry for commenting here) |
Hi,
gax-nodejs
team, I'd like to propose to add some more information on error message for "Retry total timeout error" so that GCP users can easily debug which GCP library and which API calls are hitting "retry total timeout" error.(I've already contacted GCP Support Team, they created an issue on public issue tracker, and suggested me to create an issue here).
Is your feature request related to a problem? Please describe. (background)
We are running Google Cloud Function with node10, and we occasionally hit the "Retry total timeout exceeded before any response was received" error.
FYI my piece of yarn.lock related to google-gax
I believe this error happens when google cloud library (technically its underlying library, "gax-nodejs") tries to access GCP API and didn't get a response from the server within the deadline here
gax-nodejs/src/normalCalls/retries.ts
Lines 82 to 89 in 4b9a35e
I tried to debug which API call and which library emit this error message, but I couldn't because the error message and stack trace don't provide any information other than 'Retry total timeout exceeded before any response was received'.
Here's the full stack-trace when we hit the error.
Describe the solution you'd like
Therefore, I'd like to propose that gax shows some more information on DEADLINE_EXCEEDED error so that the GCP users can easily debug and where's the root cause of this issue.
For example:
Unfortunately, since I'm not familiar with GRPC and GCP internal endpoints, I'm not sure is it possible.
Additional context
I guess an informative error message would be helpful for a lot of GCP users because as far as I know, there're quite a few people who are suffering from this issue:
Anyway, thank you so much for maintaining this fundamental library for GCP, you always save my days :)
The text was updated successfully, but these errors were encountered: