Skip to content

[v15] Improve error messaging when connections to nodes fail#47362

Merged
rosstimothy merged 1 commit intobranch/v15from
bot/backport-47351-branch/v15
Oct 9, 2024
Merged

[v15] Improve error messaging when connections to nodes fail#47362
rosstimothy merged 1 commit intobranch/v15from
bot/backport-47351-branch/v15

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #47351 to branch/v15

changelog: Improve error messaging when connections to offline agents are attempted

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.
@rosstimothy rosstimothy marked this pull request as ready for review October 8, 2024 21:39
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from fspmarshall October 9, 2024 13:35
@rosstimothy rosstimothy added this pull request to the merge queue Oct 9, 2024
Merged via the queue into branch/v15 with commit 590988f Oct 9, 2024
@rosstimothy rosstimothy deleted the bot/backport-47351-branch/v15 branch October 9, 2024 14:57
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.

3 participants