-
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] "Create Recording" displays an unhelpful error view when performed on an HTTP Agent #944
Comments
Just wondering how to trace this error message to a meaningful one? Or at least for now, are we having like an special case for |
The proper fix is to return a more useful error from the backend that has some informative error code (not 500), and ideally which also has some structured response body that the client can process. In the timeframe we have for this release (ie. get done today), I think just handling it on the client side and displaying a specific error view if the target connection URL starts with |
Since cryostatio/cryostat-agent#175 and https://github.com/cryostatio/cryostat/pull/1608 , the situation is improved enough that I think this can be considered "done". Perhaps we just need to add some documentation about what HTTP 403 on an Agent target could mean with an error message like this (ie. turn on the |
Current Behavior:
"Recordings > Active > Create" results in an unhelpful error message and notification when the selected target is an HTTP-based Cryostat Agent.
Expected Behavior:
Either there should be no error and the action should work as usual (TODO later on, this needs more consideration on the Agent side), or at least the error message should be more informative about why the action failed.
Screenshots
The text was updated successfully, but these errors were encountered: