-
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
fix(rules): automated rule creation now list eventTemplates based on target selector #483
fix(rules): automated rule creation now list eventTemplates based on target selector #483
Conversation
The
These environment variables are telling Cryostat to start itself up with its own webserver running in HTTP mode rather than HTTPS (
Is this problem reproducible on |
Oh gotcha, my bad didn't know that, thanks!
Yeah, so I just tried it with When I select
before I even enter anything, and when I try to save the credentials that are autofilled, I get
and sort of the same thing will happen in the |
Weird, |
Strange. I can't reproduce that failure. I can get the |
Hmm, actually yeah it is likely a problem on my end. I tried it again, and this time there were no issues, I'll investigate more. |
|
Okay, I finally figured it out, I need to run
That was it, but I just didn't realize what you actually meant for some reason... my bad :( . So there's no problem with the credentials feature you just implemented, sorry about that. I realized this after I got HTTP 406 from viewing reports on main... However my previous error is still an issue
Appending what I said, it's not that the drop down won't do anything, but it just won't query any further. So if a user navigates to the Rule Creation and the Match Selector was already selected onto a Target without proper authentication, then the query will fail completely and the dropdown will show empty for This is definitely just a contained issue for me to figure out since on the recordings tab, the user can still switch targets if there is an auth error, and nothing stalls. I'll continue on this. |
Not sure why, but |
I see. That might just be a browser implementation thing. The browser itself does some level of processing of requests before we ever see them in application code, especially for Could you file a new issue with a description of the behaviour you've found? We probably won't get to it for some time but it'll be good to have it on the back burner. |
…e selected, it breaks if there are some SSL authentication errors though
8d30c6d
to
f8a2ede
Compare
Should we wait for #485, or can this be merged as it is? If there are no errors it works as intended, but if there is JMX Auth errors by selecting on an unauth'd target, the dropdown will show stale templates from the previous target, but it can be solved by just simply selecting a different target. |
We can proceed without #485. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, thanks.
Fixes #433
It works but if a user clicks on a certain target and if there's any errors with SSL authentication or JMX authentication
e.g. HTTP 427: JMX Authentication Failure
, theServiceApi
will stop working and get stuck on the error, and hence subsequent clicks on the dropdown targets won't do anythingI'm not sure why I even get these errors since I'm running