-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Occasionally, Census REST responds with nonsence or a ECONNRESET (also known as a peer connection reset). In my very detailed monitoring, I've calculated on average this happens is ~50 a day.
When it does happen, it appears to happen for multiple requets being made to a particular endpoint, or all at once. In example, it behaves in the following ways:
- Requests go through as normal
- The issue occurs
- All requests on all endpoints respond with ECONNRESET for ~2 minutes
- Requests return back to normal until it happens again.
It acts like it's being rate limited. However in having chats with Alvin (API maintainer) my serviceid hasn't hit such limits.
DBG staff are struggling to figure out when this occurs, even after providing them very detailed metrics (such as below). All times are in UTC.
For context, my application uses the NodeJS Axios library, but after extensive googling I could find nothing to support evidence that the package has any issues of this manner. This is purely connection issue on the Census side.