Skip to content

BUG: SQLAlchemy error #4088

@zzzepezzz

Description

@zzzepezzz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThings that should work, but don’ttriageThese issues need to be reviewed by the Aleph team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions