Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB connection error handling #781

Open
matthiasschaub opened this issue Apr 22, 2024 · 0 comments
Open

DB connection error handling #781

matthiasschaub opened this issue Apr 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@matthiasschaub
Copy link
Collaborator

If DB client can not connect to database, the following error gets raised:

    raise OSError('Multiple exceptions: {}'.format(
OSError: Multiple exceptions: [Errno 111] Connect call failed ('127.0.0.1', 5445), [Errno 99] Cannot assign requested address

This error is not handled. The API will return 500 status code. The dashboard does not handle this status code and spins indefinitely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant