-
Notifications
You must be signed in to change notification settings - Fork 259
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
Getting DatabaseBackend
is not running error
#516
Comments
Having a similar issue, not sure on what the equivalent to a sessionmaker is over here. |
Sup @eddyizm! If you are using sqlalchemy, there is no need to use this dep. Have a look at this commit for more info. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey everyone. After deploying my fastapi app on
Deta
and/or onVercel
, I got an error complaining aboutDatabaseBackend
not running. However, theconnect
method is being called during the startup event of fastapi instance:The weird thing is that the app is running as expected on Heroku; you can interract with the endpoints to test things out.
Here are the full logs on vercel:
logs
Digging a bit deeper, I realized that the query calls were not working even though the
database.connect
is being called at the startup. It seems like some sort of a race condition. Not sure.The text was updated successfully, but these errors were encountered: