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

Print a message if requested ports are in use #196

Open
varunsh-xilinx opened this issue May 30, 2023 · 1 comment
Open

Print a message if requested ports are in use #196

varunsh-xilinx opened this issue May 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@varunsh-xilinx
Copy link
Member

Describe the bug
If the server ports are already in use, the server executable ends with no error message and no logs, making it hard to identify what went wrong.

To Reproduce
Steps to reproduce the behavior:

  1. Start the deployment container with --net=host
  2. Start a second deployment container with --net=host. It ends immediately with no error.

Expected behavior
There should be an error message if the requested port is in use.

Screenshots
N/A

OS/Versions:
N/A

Additional context
N/A

@varunsh-xilinx varunsh-xilinx added the bug Something isn't working label May 30, 2023
@varunsh-xilinx
Copy link
Member Author

The error is coming from Trantor, which just exits if it can't bind to the requested port. I've raised 261 for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant