Skip to content
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

Display websocket errors in the UI #43433

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Display websocket errors in the UI #43433

merged 1 commit into from
Jun 25, 2024

Conversation

zmb3
Copy link
Collaborator

@zmb3 zmb3 commented Jun 24, 2024

We never implemented UI support for the websocket error message, so errors were never surfaced to users.

This also uncovered one case where we were sending invalid data (due to a missing version number).

Closes #42626

Changelog: Display errors in the web UI console for SSH and Kubernetes sessions.

We never implemented UI support for the websocket error message,
so errors were never surfaced to users.

This also uncovered one case where we were sending invalid data
(due to a missing version number).

Closes #42626
@zmb3
Copy link
Collaborator Author

zmb3 commented Jun 24, 2024

@AntonAM can you help out on this one?

I think we need to do 2 things from the kube side:

  1. Make sure the Kube exec modal is dismissed if an error comes through
  2. Make sure we send a shorter/cleaner error message

Both of these can (and should) be done in a separate PR, since kube exec is only in v16, I just don't want us to lose track ofit.

image

image

@AntonAM
Copy link
Contributor

AntonAM commented Jun 24, 2024

@zmb3 yep, I'll look into this, It was already on my radar 👍

@zmb3 zmb3 added this pull request to the merge queue Jun 25, 2024
Merged via the queue into master with commit 0fd1da7 Jun 25, 2024
43 checks passed
@zmb3 zmb3 deleted the zmb3/webui-error branch June 25, 2024 14:54
@public-teleport-github-review-bot

@zmb3 See the table below for backport results.

Branch Result
branch/v14 Failed
branch/v15 Failed
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebUI tty doesn't handle websocket error messages from the server.
3 participants