Skip to content

[Task] Add error handling for redis connection drop #26

@tjtanjin

Description

@tjtanjin

Task Description:
Currently, if redis becomes temporarily unavailable (even if briefly), the API backend crashes with a "socket closed unexpectedly". Even if redis comes back alive, the backend remains down because the API servers are out. Error handling needs to be added to ensure that brief connection issues will not cause a long lasting downtime.

Deliverable(s):
Error handling should be added for redis connection issues.

Additional Context:
You can reproduce this error by:

  1. Spin up all services
  2. Take redis down
  3. Try visiting plugins page and notice error
  4. Bring redis back up and notice same error
  5. Check logs in api containers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions