-
Notifications
You must be signed in to change notification settings - Fork 292
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
refusing to activate session errors after upgrading to 0.10.1 #2362
Comments
I see the same, even if the connections are made one at a time. It happened on 0.10.0 as well. I can't speak to earlier history because I'm very new to Boundary. The first use of a session works fine. If the consumer of the session closes its connection, I'm then unable to use it again, with the error shown above. Looking at the code, I see that the worker refuses to establish the session again because the state is not "Pending". Indeed, the session remains as "Active" after the first time it's been used. I would expect it to change back to "Pending". I'm not totally sure this is the same exact bug, but it's certainly the same error message. Let me know if I should open a new issue instead. |
Thank you both for reporting this bug! @ataraxia937 It sounds like you're hitting the same bug as @umglurf We're actively looking into this and will let you know when a fix is available. |
Can you both confirm whether or not you have multiple workers? |
I have three controllers and three workers, but got the same result when running with just one controller and one worker |
I likewise can reproduce it with just one worker, or with multiple. |
@umglurf If you are using just one worker, do you see this behavior immediately? In the original post you suggested it started happening after some time. If it's what we think it is, it's a regression that would manifest as the first worker to handle a session throwing that error with additional connections...so if you have a single worker, I'd expect that any connection past the first would throw that error. |
@jefferai I tested again now with one worker, I'm able to do one connection and on the second it fails |
Perfect. Fix will be coming in 0.10.3, @irenarindos has a PR up (#2369) |
I was just now testing the code from that PR branch. Works great here! |
I was not able to get the build working locally, but downloaded the binary from https://github.com/hashicorp/boundary/actions/runs/2883181053#artifacts |
Sorry, wrong build :) |
Hi, I have a similar issue with boundary version 0.11.2 I can start the Connection and it is pending until I try to connect. Log:
Setup:
|
Hi @tritonblaster - I've been trying to replicate this, and was curious how you're initiating your connection? Thanks! |
Hi @irenarindos - I tried with boundary desktop Version 1.5. |
Hi @irenarindos, Should we track this bug in a new issue? Steps to reproduce (working):
Steps to reproduce (not working):
|
@tritonblaster thanks so much! I think we should track this in a new issue. Thanks again for finding this & the steps to reproduce it! |
Hi all. I am experiencing this issue again with Boundary 0.11.1 while using the CLI client. Particularly this is when connecting to a MongoDB server. Steps to reproduce:
On the client side I receive the same |
@jonathan-russo Thanks for reporting this! I'm looking into this issue under #2741 I am curious, what OS are you using, and what mongo client are you using? Thanks so much! |
Hi @irenarindos ! I am using Boundary version |
@jonathan-russo I've got a potential fix up in #2795 - I was wondering if you'd be willing to build Boundary from my PR branch and try to replicate your issue to see if it's resolved? Alternatively if you let me know what platform you need I can send a build to you. Thanks so much! |
Hi @irenarindos thanks for the quick fix! I'm having some issues trying to build Boundary so if you could send me a build that would be great. We are running the server on Amazon Linux 2 and I am running the boundary client on Mac OS X Monterey(12.6.2). |
Thanks @jonathan-russo ! Can you email me at "irena.rindos at the company I work for dot com" so we can coordinate getting you a build? |
Describe the bug
In one of my use cases for boundary, I use it to allow terraform to connect to database servers to configure them, using
When running terraform, there are many connections, and after a few seconds I start getting errors from the boundary agent
Running single sessions works fine, and running terraform with parallism 1 can work together with target.
I've also tried to re-initialize the database, no change.
To Reproduce
Steps to reproduce the behavior:
boundary connect -target-id $target_id -host-id "$host_id -listen-port=XX
Expected behavior
The boundary agent is able to serve the connections. This worked fine with 0.9.1.
Additional context
worker.log
controller.log
The text was updated successfully, but these errors were encountered: