-
Notifications
You must be signed in to change notification settings - Fork 125
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] Making it a Postgres database URI causes SQLAlchemy too many Connections, Dash App Does not work #26
Comments
Do you have a repo where you can reproduce the issue? I can't help you based on this alone. |
Here you go: https://github.com/mdylan2/dash_on_flask. I've also included a dummy database connection in the export commands. Let me know if you have any issues. Run the flask app and open it in a browser, create an account, sign in, navigate to the dashboard, refresh a bit and keep an eye on the terminal What's weird is that is happens only sometimes, not all the time... |
After some debugging (adding a print statement inside the Edit: |
This also relates to the Stack Overflow post here |
If I make the DATABASE_URI a Postgres database, launch the app server locally, and then navigate to the dashboard mounted at
/dashboard
, I get the following error and the dashboard does not launch:The text was updated successfully, but these errors were encountered: