Skip to content
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

Google Cloud Tasks with Google App Engine: 14 UNAVAILABLE: read ECONNRESET #5852

Open
AllanOliveiraM opened this issue Dec 3, 2024 Discussed in #5799 · 1 comment
Open
Assignees
Labels
needs more info This issue needs more information from the customer to proceed.

Comments

@AllanOliveiraM
Copy link

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 :)

image

I don’t think the error is here, but I’ll include it as context.

image
image

@sofisl
Copy link
Contributor

sofisl commented Jan 22, 2025

  • What version are you using of:
    • Node
    • tasks
    • gax
    • grpc-js?
  • 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)?
  • Did you enable logging?

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.

@sofisl sofisl added the needs more info This issue needs more information from the customer to proceed. label Jan 22, 2025
@sofisl sofisl self-assigned this Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info This issue needs more information from the customer to proceed.
Projects
None yet
Development

No branches or pull requests

2 participants