-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Task] "Session credentials" mode seems unreliable for JMX connections #656
Comments
Reposting for visibility from #672 (comment) What should the plan be then? It seems like the whole session storage might have to be scrapped until then... |
Well, there is one other hack we can apply in the meantime. I don't think I like it and don't take this as me committing to it. In ex. This should make the |
Wondering, when is 2.2.1 slated to be released? I believe this feature should definitely be fixed in the bug fix release. I definitely think there are some hacks that can be put in place until the big refactor like the one you mention, and I dont think it should be too difficult to put in. |
It's too late for 2.2.1, the merge window for that would've been a couple weeks back. The downstream release is in progress and should be delivered any day now. |
I have a semi-hacky solution for this in mind that just might work. It's a totally normal concept for a web application but the way we're using worker thread pools and pushing work off between threads might break it. I'll open a draft PR soon so we can try hammering on it and testing it out to exercise the various API execution paths and see if the credentials get properly passed through the stack. |
Using "Session credentials" seems unreliable or intermittently fails when connecting to different JMX target applications or Cryostat itself. "Backend credentials" stored in the JMX keyring seem reliable, and the backend itests exercising the
X-JMX-Authorization
header (the mechanism behind Session credentials) seem solid, so this might just be a frontend error handling bug.The text was updated successfully, but these errors were encountered: