You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to register a DbHealthProvider using an async connection, but I'm getting status DOWN with the following message:
"db": {
"status": "DOWN",
"details": {
"engine": "postgresql",
"failure": "'AsyncConnection' object does not support the context manager protocol"
}
}
I tried passing my_engine.sync_engine, but I'm encountering this error:
"db": {
"status": "DOWN",
"details": {
"engine": "postgresql",
"failure": "greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place? (Background on this error at: https://sqlalche.me/e/20/xd2s)"
}
}
The text was updated successfully, but these errors were encountered:
angelgonzalbez
changed the title
Error setting DbHealthProvider using SQLAlchemy AsyncEngine
Error registering DbHealthProvider using SQLAlchemy AsyncEngine
Sep 3, 2024
I'm trying to register a DbHealthProvider using an async connection, but I'm getting status DOWN with the following message:
"db": {
"status": "DOWN",
"details": {
"engine": "postgresql",
"failure": "'AsyncConnection' object does not support the context manager protocol"
}
}
I tried passing my_engine.sync_engine, but I'm encountering this error:
"db": {
"status": "DOWN",
"details": {
"engine": "postgresql",
"failure": "greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place? (Background on this error at: https://sqlalche.me/e/20/xd2s)"
}
}
The text was updated successfully, but these errors were encountered: