-
Notifications
You must be signed in to change notification settings - Fork 493
docs: Fix incomplete Gunicorn command Update faqs.mdx #646
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
Conversation
Fix incomplete Gunicorn command for AutoGen Studio launch
|
Part |
Thank you for your feedback! You're absolutely right that binding to I've updated the documentation to clarify when this is necessary:
Additionally, I've added a warning to highlight the security implications of using Here’s the updated command with the clarification: # For Docker or cloud environments (external access required):
gunicorn -w $((2 * $(getconf _NPROCESSORS_ONLN) + 1)) --timeout 12600 -k uvicorn.workers.UvicornWorker autogenstudio.web.app:app --bind "0.0.0.0:8081"
# For local development (restrict to localhost):
gunicorn -w $((2 * $(getconf _NPROCESSORS_ONLN) + 1)) --timeout 12600 -k uvicorn.workers.UvicornWorker autogenstudio.web.app:app --bind "127.0.0.1:8081" |
Can you please push the latest changes? |
|
davorrunje updated. |
Why are these changes needed?
I noticed a issue in the last code block where the Gunicorn command for launching AutoGen Studio was incomplete. The command was missing the port specification, which is necessary for the server to run properly.
I’ve updated it to include the correct binding to
0.0.0.0:8081. This should resolve the issue and allow the server to start as expected.Here’s the corrected command:
Checks