Hi Hub,
We have some backend code running as a Github Action that fetches events using `clients.events.list` over a period of 1 year. The fetching is of course chunked into smaller time frames to avoid memory overload. This has worked just fine until recently where we are frequently encountering a
CogniteReadTimeouterror, which can be traced back to the following HTTP request error:
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='az-ams-sp-002.cognitedata.com', port=443): Read timed out. (read timeout=30)The error occurs inconsistently and not necessarily at the same point in time of the workflow run.
Have there been any recent changes/restrictions in the Cognite SDK that could explain the cause of the issue? As mentioned, some weeks ago the workflow succeeded without problems.
For additional context, we are using multiple threads to fetch events in parallel over metadata, for events within same time interval. Also, we use multiple cores to parallelize fetching and subsequent processing over different time intervals of the 1 year time frame.
Thanks!
Best regards,
Vetle.
Check the
documentation
Ask the
Community
Take a look
at
Academy
Cognite
Status
Page
Contact
Cognite Support

