mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 07:59:04 -05:00
[GH-ISSUE #209] IPv6 parsing error: malformed exit node address from Pangolin Cloud API #833
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ashish-tandon on GitHub (Dec 16, 2025).
Original GitHub issue: https://github.com/fosrl/newt/issues/209
Originally assigned to: @oschwartz10612 on GitHub.
Describe the Bug
ERROR: Failed to split endpoint: address 2607:5300:205:200::1349:51820: too many colons in address
INFO: SendMessageInterval timed out after 10 attempts for message type: newt/wg/get-config
Labels to Add (if available)
bugipv6apiEnvironment
Environment
On-Prem (Self-hosted Pangolin Server)
fosrl/pangolin:postgresql-latest)fosrl/gerbil:latest)OVH VPS (Remote Exit Node)
fosrl/pangolin-node:latest)fosrl/gerbil:1.3.0)Affected Sites
All three newt sites (v1.7.0) are affected:
inside.ashhl.ca(ID:v1xak444467lq65) - On-prem Docker containeroutside.ashhl.com(ID:4l7778rk2o7vbzu) - On-prem base OSovh.ashhl.ca(ID:cqn4qphlb6741r2) - OVH VPS base OSTo Reproduce
Prerequisites
Steps
Configure newt site with valid credentials:
Newt connects to Pangolin Cloud via WebSocket successfully
Newt requests WireGuard configuration:
newt/wg/get-configPangolin Cloud API responds with exit node endpoint containing malformed IPv6 address:
2607:5300:205:200::1349:51820[2607:5300:205:200::1349]:51820Newt fails to parse the endpoint:
WireGuard configuration request times out:
Configuration Files
config.ymlhasbase_endpointset to IPv4:148.113.197.35/etc/sysctl.conf) and DockerExpected Behavior
Pangolin Cloud API should return properly formatted IPv6 addresses when IPv6 is used:
[IPv6_address]:port[2607:5300:205:200::1349]:51820OR Pangolin Cloud API should return IPv4 exit node addresses when:
base_endpointis configured with IPv4 addressNewt should successfully parse the endpoint and establish WireGuard connection
Site should come online and show as connected in Pangolin dashboard
Expected Behavior
Actual Behavior
2607:5300:205:200::1349:51820Additional Context
base_endpointconfiguration is correct (IPv4)base_endpointto IPv4 on both instances@LaurenceJJones commented on GitHub (Apr 13, 2026):
This should now be resolved via https://github.com/fosrl/pangolin/pull/2667 marking as resolved
@LaurenceJJones commented on GitHub (Apr 13, 2026):
I see another issue marked as resolved, ill tag @oschwartz10612 to see if we can close/clean up this issue
#83