hashicorp / boundary

Boundary enables identity-based access management for dynamic infrastructure.
https://boundaryproject.io
Other
3.85k stars 289 forks source link

Client connect error with client 0.15.0 #4364

Closed umglurf closed 8 months ago

umglurf commented 9 months ago

Describe the bug

After upgrading boundary controller and worker to 0.15.0, connections fails when using boundary client 0.15.0, but using boundary client 0.14.3 connections works.

To Reproduce Steps to reproduce the behavior:

  1. Run boundary connect -target-id=xx -host-id=xx
  2. Run nc 127.0.0.1 port_number
  3. See error

Expected behavior Connections work with client version 0.15.0 as they do with client 0.14.3

Additional context

Nothing in either the controller og worker logs

logamanig commented 9 months ago

same issue for us as well. so, I'm now running

Controller: 0.15.0 Worker: 0.14.3 Client: 0.15.0

to get this working around

elimt commented 9 months ago

Hey @umglurf ,

I've tried reproducing the issue here but haven't had any luck. Can you please provide some more information about your set up. Your controller is 0.15.0, worker is 0.15.0 & your CLI client is 0.15.0? Also, what OS are you using?

Thank You!

umglurf commented 9 months ago

Hey @umglurf ,

Hey

I've tried reproducing the issue here but haven't had any luck. Can you please provide some more information about your set up. Your controller is 0.15.0, worker is 0.15.0 & your CLI client is 0.15.0? Also, what OS are you using?

Controller & worker is 0.15.0. CLI client 0.15.0 fails, CLI client 0.14.3 works. Controller and worker is running in podman using the https://hub.docker.com/r/hashicorp/boundary image, CLI is on Fedora Linux 39 with the packages from the Hashicorp repo

elimt commented 9 months ago

@umglurf Thanks!

What is the error thrown when you attempt to connect to the authorized session nc 127.0.0.1 port_number?

umglurf commented 9 months ago

What is the error thrown when you attempt to connect to the authorized session nc 127.0.0.1 port_number?

I've made a short recording showing what happens Screencast from 2024-02-08 06-12-21.webm

elimt commented 9 months ago

@umglurf Thanks for the video. That helps a lot

What is the maximum number of connections configured for your target?

umglurf commented 9 months ago

@umglurf Thanks for the video. That helps a lot

What is the maximum number of connections configured for your target?

Hi, the session max connection limit is set to 1. I tried increasing it to 2, and then it works with 0.15.0, so could it be something has changed in 0.15 that now requires an extra connection?

elimt commented 9 months ago

That should not be happening. We're working on a fix on our end. Thanks for your help!

umglurf commented 8 months ago

Hi @elimt

I tested the released 0.15.1 now and it works again with that version. Thanks for the fix