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

Client query temporarily fails #107

Open
ilveroluca opened this issue Apr 29, 2021 · 1 comment
Open

Client query temporarily fails #107

ilveroluca opened this issue Apr 29, 2021 · 1 comment
Assignees

Comments

@ilveroluca
Copy link
Member

Occasionally when retrieving a time series through the Client something goes wrong with the connection with TDMq.

Users report first getting an error:

('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

Upon retrying right afterwards

HTTPConnectionPool(host='compassionate-fermi-tdmq.default', port=8000): Max retries exceeded with url: /api/v0.0/sources/204bbb85-1f54-54ab-9527-b20511e4528e/timeseries?after=2021-01-07+00%3A00%3A00&before=2021-01-08+00%3A00%3A00 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4ffcdae250>: Failed to establish a new connection: [Errno 111] Connection refused'))

After retrying a few times the connection is re-established and the query goes to completion. When successful the query fetches about 20k records. The size of the result set doesn't seem to be a problem since queries of this size by the same user usually work fine.

@ilveroluca
Copy link
Member Author

@pinno this is the issue for the problem you're experiencing.

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