Skip to content

ECONNRESET responses from Census #12

@Maelstromeous

Description

@Maelstromeous

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:

  1. Requests go through as normal
  2. The issue occurs
  3. All requests on all endpoints respond with ECONNRESET for ~2 minutes
  4. 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.

Screenshot 2021-02-03 at 20 56 35

Metadata

Metadata

Assignees

No one assigned

    Labels

    IssueAnything not working as intendedRest APIAnything relating to the census.daybreakgames.com REST API

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions