[GH-ISSUE #5196] failed to parse endpoint #10763

Closed
opened 2026-08-05 01:27:12 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @mrlhansen on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5196

Originally assigned to: @pappz on GitHub.

Describe the problem

I see the following error in the client.log file.

2026-01-27T17:00:45+01:00 ERRO client/iface/configurer/usp.go:563: failed to parse endpoint: address 2001:aaa:bbb::ccc]:51820: too many colons in address

The code in usp.go does not work properly for IPv6 addresses as endpoints. I believe it would work, if the strings.Trim(val, "[]") is removed.

NetBird version

0.64.2

Originally created by @mrlhansen on GitHub (Jan 27, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5196 Originally assigned to: @pappz on GitHub. **Describe the problem** I see the following error in the `client.log` file. ```text 2026-01-27T17:00:45+01:00 ERRO client/iface/configurer/usp.go:563: failed to parse endpoint: address 2001:aaa:bbb::ccc]:51820: too many colons in address ```` The code in `usp.go` does not work properly for IPv6 addresses as endpoints. I believe it would work, if the `strings.Trim(val, "[]")` is removed. **NetBird version** `0.64.2`
saavagebueno added the triage-needed label 2026-08-05 01:27:12 -04:00
Author
Owner

@pappz commented on GitHub (Jan 27, 2026):

@mrlhansen Thank you for the report. The patch is on its way.

<!-- gh-comment-id:3806938065 --> @pappz commented on GitHub (Jan 27, 2026): @mrlhansen Thank you for the report. The patch is on its way.
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10763