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

BUG: SQLAlchemy error #4088

Open
zzzepezzz opened this issue Jan 3, 2025 · 0 comments · May be fixed by #4087
Open

BUG: SQLAlchemy error #4088

zzzepezzz opened this issue Jan 3, 2025 · 0 comments · May be fixed by #4087
Labels
bug Things that should work, but don’t triage These issues need to be reviewed by the Aleph team

Comments

@zzzepezzz
Copy link

zzzepezzz commented Jan 3, 2025

I got many 500 internal server error when navigating throw the Aleph UI.

I found that sometimes, when the postgres stack reboot, it may cause the SQLAlchemy session to be invalid.

Precision, I only reproduce this bug using an aleph stack with oauth

Aleph version
Aleph v4.0.2

Discourse subject

The only way I found to fix this error is to add the option pool_pre_ping in the SQLAlchemy initialization.

@zzzepezzz zzzepezzz added bug Things that should work, but don’t triage These issues need to be reviewed by the Aleph team labels Jan 3, 2025
@zzzepezzz zzzepezzz linked a pull request Jan 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Things that should work, but don’t triage These issues need to be reviewed by the Aleph team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant