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

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

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

rosstimothy
Copy link
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
@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
44 checks passed
@rosstimothy rosstimothy deleted the bot/backport-47351-branch/v16 branch October 9, 2024 14:57
@camscale camscale mentioned this pull request Oct 16, 2024
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