Skip to content

Client query temporarily fails #107

@ilveroluca

Description

@ilveroluca

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions