Skip to content
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

feat(autogpt/cli): Check if port is available before running server #6996

Conversation

kcze
Copy link
Contributor

@kcze kcze commented Mar 9, 2024

OPEN-72

This prevents an unhandled exception by not starting agent protocol server (when using autogpt.sh serve) if chosen port is unavailable. It informs user that they can change port using environment variable or by defining AP_SERVER_PORT in .env.

Copy link

netlify bot commented Mar 9, 2024

Deploy Preview for auto-gpt-docs ready!

Name Link
🔨 Latest commit d8d4b19
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/65f45441f031f700082ec383
😎 Deploy Preview https://deploy-preview-6996--auto-gpt-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

@github-actions github-actions bot added the conflicts Automatically applied to PRs with merge conflicts label Mar 13, 2024
autogpts/autogpt/autogpt/app/utils.py Outdated Show resolved Hide resolved
@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Mar 15, 2024
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

@kcze kcze requested a review from Pwuts March 15, 2024 14:06
@Pwuts Pwuts merged commit fea62a7 into Significant-Gravitas:master Mar 16, 2024
11 of 14 checks passed
@kcze kcze deleted the kpczerwinski/open-72-error-port-address-already-in-use branch March 16, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants