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

Web UI showing incorrect error when connecting to a host that is offline #25648

Closed
rosstimothy opened this issue May 4, 2023 · 0 comments · Fixed by #25660 or #25661
Closed

Web UI showing incorrect error when connecting to a host that is offline #25648

rosstimothy opened this issue May 4, 2023 · 0 comments · Fixed by #25660 or #25661
Assignees
Labels

Comments

@rosstimothy
Copy link
Contributor

Expected behavior:

The session should display a message indicating that the node is offline:

Teleport proxy failed to connect to "node" agent "127.0.0.1:3022" over direct dial:

  dial tcp 127.0.0.1:3022: connect: connection refused

This usually means that the agent is offline or has disconnected. Check the
agent logs and, if the issue persists, try restarting it or re-registering it
with the cluster.

Current behavior:

The session displays an error about MFA problems:

“rpc error: code = PermissionDenied desc = MFA is required to access this resource but user has no MFA devices; use ‘tsh mfa add’ to register MFA devices”
@rosstimothy rosstimothy added the bug label May 4, 2023
@rosstimothy rosstimothy self-assigned this May 4, 2023
rosstimothy added a commit that referenced this issue May 4, 2023
This change was missed in #24829
when backporting to v11.

Closes #25648
rosstimothy added a commit that referenced this issue May 4, 2023
This change was missed in #25430
when backporting to v12.

Closes #25648
rosstimothy added a commit that referenced this issue May 4, 2023
This change was missed in #24829
when backporting to v11.

Closes #25648
rosstimothy added a commit that referenced this issue May 8, 2023
This change was missed in #25430
when backporting to v12.

Closes #25648
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant