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

"The client has already been closed" Error thrown #468

Open
Tasnaditomy22 opened this issue Aug 14, 2023 · 2 comments
Open

"The client has already been closed" Error thrown #468

Tasnaditomy22 opened this issue Aug 14, 2023 · 2 comments

Comments

@Tasnaditomy22
Copy link

Hello,

When using the customer.query method sometimes we get a "The client has already been closed" error thrown after 10 minutes from running the query.

The same usage of cutomer.query with the same query from the same client gives a response in ~1 second, when ran in the time range of +- 1 hour from the one that throws the error.
Example query, if it helps:
`SELECT campaign.id, customer.id, segments.conversion_action, metrics.conversions, metrics.all_conversions_value, segments.hour, segments.date FROM campaign WHERE segments.date BETWEEN "2023-08-07" AND "2023-08-08"

We've observed this after upgrading to version 13.
Do you have an idea if this can be cause by the library or it's just an issue on Google's side ?

@cl-vladislavl
Copy link

Same behavior, the issue reproduced for different requests to google ads.

It seems that might be related to this issue since it's coming from gax-nodejs lib, but I didn't manage to find an actual fix.

@cl-vladislavl
Copy link

This PR release might fix issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants