-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
repeated errors on ssh attempts #45256
Comments
Related to #31517 |
@rosstimothy is this fixed? |
I closed #31517 because I was never able to reproduce. @stevenGravy if you have a reliable way to reproduce this can you please share it so we can investigate? |
Yes, it's happening with a cloud instance that's on 16.4.2 with a Teleport SSH service on 16.4.2. Same behavior. I started the SSH service connected to the cloud. Stopped it. Attempted to connect and you get the double errors. |
The source of the duplicate message seems to stem from Proxy Peering. I've been able to repro and should be able to clean up some of the duplicate information being presented. |
As suspected, we are combining errors from attempting to connect to the host directly via a reverse tunnel, and via a peers reverse tunnel: https://github.com/gravitational/teleport/blob/master/lib/reversetunnel/localsite.go#L613. |
Prevents duplicate information about missing tunnels preventing a connection when attempting to connect locally and via a proxy peer. The error from the remote dial is now omitted from the message provided to end users. The information about how the connection was attempted was instead updated to reflect that tunnels were attempted via both the local proxy and a peer and they both failed. Additionally, if a hostname was provided in the dial request, it will be included in the error message instead of the internal @local-node identifier for tunnels or the public address for direct dial nodes. Closes #45256.
Prevents duplicate information about missing tunnels preventing a connection when attempting to connect locally and via a proxy peer. The error from the remote dial is now omitted from the message provided to end users. The information about how the connection was attempted was instead updated to reflect that tunnels were attempted via both the local proxy and a peer and they both failed. Additionally, if a hostname was provided in the dial request, it will be included in the error message instead of the internal @local-node identifier for tunnels or the public address for direct dial nodes. Closes #45256.
Prevents duplicate information about missing tunnels preventing a connection when attempting to connect locally and via a proxy peer. The error from the remote dial is now omitted from the message provided to end users. The information about how the connection was attempted was instead updated to reflect that tunnels were attempted via both the local proxy and a peer and they both failed. Additionally, if a hostname was provided in the dial request, it will be included in the error message instead of the internal @local-node identifier for tunnels or the public address for direct dial nodes. Closes #45256.
Prevents duplicate information about missing tunnels preventing a connection when attempting to connect locally and via a proxy peer. The error from the remote dial is now omitted from the message provided to end users. The information about how the connection was attempted was instead updated to reflect that tunnels were attempted via both the local proxy and a peer and they both failed. Additionally, if a hostname was provided in the dial request, it will be included in the error message instead of the internal @local-node identifier for tunnels or the public address for direct dial nodes. Closes #45256.
Prevents duplicate information about missing tunnels preventing a connection when attempting to connect locally and via a proxy peer. The error from the remote dial is now omitted from the message provided to end users. The information about how the connection was attempted was instead updated to reflect that tunnels were attempted via both the local proxy and a peer and they both failed. Additionally, if a hostname was provided in the dial request, it will be included in the error message instead of the internal @local-node identifier for tunnels or the public address for direct dial nodes. Closes #45256.
Prevents duplicate information about missing tunnels preventing a connection when attempting to connect locally and via a proxy peer. The error from the remote dial is now omitted from the message provided to end users. The information about how the connection was attempted was instead updated to reflect that tunnels were attempted via both the local proxy and a peer and they both failed. Additionally, if a hostname was provided in the dial request, it will be included in the error message instead of the internal @local-node identifier for tunnels or the public address for direct dial nodes. Closes #45256.
Prevents duplicate information about missing tunnels preventing a connection when attempting to connect locally and via a proxy peer. The error from the remote dial is now omitted from the message provided to end users. The information about how the connection was attempted was instead updated to reflect that tunnels were attempted via both the local proxy and a peer and they both failed. Additionally, if a hostname was provided in the dial request, it will be included in the error message instead of the internal @local-node identifier for tunnels or the public address for direct dial nodes. Closes #45256.
Prevents duplicate information about missing tunnels preventing a connection when attempting to connect locally and via a proxy peer. The error from the remote dial is now omitted from the message provided to end users. The information about how the connection was attempted was instead updated to reflect that tunnels were attempted via both the local proxy and a peer and they both failed. Additionally, if a hostname was provided in the dial request, it will be included in the error message instead of the internal @local-node identifier for tunnels or the public address for direct dial nodes. Closes #45256.
Expected behavior:
The error messages wouldn't repeat.
Current behavior:
In the CLI or web ui you get the same error messages repeated when a SSH connection isn't available.
Bug details:
The text was updated successfully, but these errors were encountered: