Skip to content

[v16] Improve error messaging when connections to nodes fail#47361

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

[v16] Improve error messaging when connections to nodes fail#47361
rosstimothy merged 1 commit intobranch/v16from
bot/backport-47351-branch/v16

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #47351 to branch/v16

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/v16 with commit 3ddcff1 Oct 9, 2024
@rosstimothy rosstimothy deleted the bot/backport-47351-branch/v16 branch October 9, 2024 14:57
@camscale camscale mentioned this pull request Oct 16, 2024
@fheinecke fheinecke mentioned this pull request Apr 9, 2025
@fheinecke fheinecke mentioned this pull request Jan 8, 2026
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