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

Creating multiple target connections with the same client port hangs the boundary CLI #4759

Open
haniffm opened this issue May 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@haniffm
Copy link

haniffm commented May 1, 2024

Describe the bug
When using Boundary CLI to create a connections with the same client port to listen to, Boundary CLI gets unresponsive.

To Reproduce
Steps to reproduce the behavior:

  1. Run boundary authenticate ...
  2. Run boundary connect ... -listen-port 2222. You should get a "Proxy listening information" output.
  3. In a different terminal, run boundary connect ... -listen-port 2222 (notice the same port). This time you don't get any output, and the CLI get unresponsive. You can't even CTRL+C out of it. I have to do kill -9 on the last connection.

Expected behavior
I would expect that the boundary CLI would give an error message on that the port is already occupied and exit with non-zero.

Additional context
This happens often when a default client port is configured and the user is not sure that a connection is already establish.

@haniffm haniffm added the bug Something isn't working label May 1, 2024
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