You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by AllanOliveiraM November 12, 2024
Hi everyone, how's it going?
I need some help with the Cloud Tasks client library. I have an application running on App Engine, and I use Cloud Tasks to queue the processing of some critical application data.
I'm using the createTask method to do this, and everything works normally most of the time. The problem is that occasionally, a task cannot be created, and I encounter a "14 UNAVAILABLE: read ECONNRESET" error in the logs.
I believe the issue is not with the API itself, but with my client library configuration.
I found this issue in the grpc-node GitHub repository, but I'm still having trouble configuring the client correctly.
If anyone could help me understand what I’m doing wrong, I’d be very grateful :)
I don’t think the error is here, but I’ll include it as context.
The text was updated successfully, but these errors were encountered:
Is there any opportunity to reuse an existing CloudTasksClient in your code instead of creating a new one (perhaps its entirely optimized, I don't know, but I wonder if it has anything to do with creating new clients).
Since you're using NestJS, are you sure you're not using grpc (the deprecated package)?
Importantly, does this issue happen outside of using NestJs (can you recreate it just with AppEngine)? And lastly, can you provide a valid reproduction? Without it, I can't really tell it's a client libraries issue and wouldn't be able to help much.
Discussed in #5799
Originally posted by AllanOliveiraM November 12, 2024
Hi everyone, how's it going?
I need some help with the Cloud Tasks client library. I have an application running on App Engine, and I use Cloud Tasks to queue the processing of some critical application data.
I'm using the
createTask
method to do this, and everything works normally most of the time. The problem is that occasionally, a task cannot be created, and I encounter a "14 UNAVAILABLE: read ECONNRESET" error in the logs.I believe the issue is not with the API itself, but with my client library configuration.
I found this issue in the grpc-node GitHub repository, but I'm still having trouble configuring the client correctly.
If anyone could help me understand what I’m doing wrong, I’d be very grateful :)
I don’t think the error is here, but I’ll include it as context.
The text was updated successfully, but these errors were encountered: