[Triage] Simple no config Gunicorn fails and restarts repeateadly #3538
Closed
CoolGuyNice
started this conversation in
Issue Triage
Replies: 1 comment
-
|
Never mind, calling app.run while using Gunicorn was my mistake. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Type
Bug Report
Description
What happened?
A simple dash application works fine when run directly.
However, when using Gunicorn, gunicorn first restarts without logging any errors, then the restarted program logs that the address is already in use and repeatedly restarts with the same issue.
What did you expect?
I expected the application to start once and run without issues.
Relation to other issues
I tried running with the "--no-control-socket" option suggested here #3510 did not help.
#3064
Which was closed by #3441
and released in 24.1.0
This issue seemed similar, but it's unclear to me whether it's the same issue and whether it was resolved or not.
I have the same issue when using Gunicorn version 24.1.0
Steps to Reproduce (for bugs)
from dash import Dash, html
app = Dash()
server = app.server
app.layout = [
html.H2("Hello World!"),
]
app.run(host="0.0.0.0", debug=True)
Configuration
Logs / Error Output
Gunicorn Version
gunicorn (version 25.1.0)
Python Version
Python 3.11.14
Worker Class
sync (default)
Operating System
Linux Mint 22.3 - Cinnamon 64-bit
Additional Context
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions