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

Improve logs to show if the destination endpoint is not reachable through relay #1954

Open
vishnoianil opened this issue Mar 5, 2024 · 0 comments
Assignees
Labels
bug Something isn't working needs-triaging Issue/Enhancement needs assignment

Comments

@vishnoianil
Copy link
Contributor

Describe the bug

If the destination endpoint is not connected to the derp server, source endpoint failed to establish the end to end connection and throws the following error logs which is not very helpful to deduce that endpoint is not connected to the relay.

Mar 05 09:48:44 rbryant-lab sh[131295]: 2024-03-05T09:48:44.224-0500        DEBUG        nexodus/derp.go:177        DERP lookup of 127.0.0.1:900 with no private key; ignoring
Mar 02 20:11:52 rbryant-lab sh[2260]: {"level":"error","ts":"2024-03-02T20:11:52.000-0500","caller":"nexodus/wg_derp_proxy.go:150","msg":"Error getting derp write channel for addr 127.0.0.1:900"}

How to Reproduce

Connect two machine to nexodus using --relay-only option and than disconnect the second machine.

Expected Behavior

A source nexd agent should log a helpful message that indicate that the destination peer is not connected to derp or not reachable.

Deployment Environment

No response

Additional Context

No response

@vishnoianil vishnoianil added bug Something isn't working needs-triaging Issue/Enhancement needs assignment labels Mar 5, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Nexodus Board Mar 5, 2024
@vishnoianil vishnoianil self-assigned this Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triaging Issue/Enhancement needs assignment
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant