[GH-ISSUE #83] Failed to split endpoint: address [domain:port]: too many colons in address #1394

Closed
opened 2026-04-24 19:59:33 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @Lacedaemon on GitHub (Jul 12, 2025).
Original GitHub issue: https://github.com/fosrl/newt/issues/83

Container log:

2025-07-12 08:53:08.159904+00:00INFO: 2025/07/12 08:53:08 Newt version 1.3.1
2025-07-12 08:53:08.759983+00:00INFO: 2025/07/12 08:53:08 Websocket connected
2025-07-12 08:53:08.760080+00:00INFO: 2025/07/12 08:53:08 Requesting exit nodes from server
2025-07-12 08:53:08.811261+00:00INFO: 2025/07/12 08:53:08 Received registration message
2025-07-12 08:53:08.814058+00:00ERROR: 2025/07/12 08:53:08 Failed to split endpoint: address https://pangolin.app.example.com:51820: too many colons in address

Docker Compose:

services:
  newt:
    image: fosrl/newt
    container_name: newt
    restart: unless-stopped
    environment:
      - PANGOLIN_ENDPOINT=https://pangolin.app.example.com
      - NEWT_ID=foobar
      - NEWT_SECRET=foobar

Seems to be coming from here:

b881808cae/main.go (L349-L353)

Appreciate any support on this!

Originally created by @Lacedaemon on GitHub (Jul 12, 2025). Original GitHub issue: https://github.com/fosrl/newt/issues/83 Container log: ``` 2025-07-12 08:53:08.159904+00:00INFO: 2025/07/12 08:53:08 Newt version 1.3.1 2025-07-12 08:53:08.759983+00:00INFO: 2025/07/12 08:53:08 Websocket connected 2025-07-12 08:53:08.760080+00:00INFO: 2025/07/12 08:53:08 Requesting exit nodes from server 2025-07-12 08:53:08.811261+00:00INFO: 2025/07/12 08:53:08 Received registration message 2025-07-12 08:53:08.814058+00:00ERROR: 2025/07/12 08:53:08 Failed to split endpoint: address https://pangolin.app.example.com:51820: too many colons in address ``` Docker Compose: ``` services: newt: image: fosrl/newt container_name: newt restart: unless-stopped environment: - PANGOLIN_ENDPOINT=https://pangolin.app.example.com - NEWT_ID=foobar - NEWT_SECRET=foobar ``` Seems to be coming from here: https://github.com/fosrl/newt/blob/b881808caeac1df805b8c3072c726d7cfde98423/main.go#L349-L353 Appreciate any support on this!
Author
Owner

@oschwartz10612 commented on GitHub (Jul 13, 2025):

Hi! Does your actual endpoint follow the proper host format? You can double check what is sent from the server in the server config/config.yml file under gerbil base_endpoint

<!-- gh-comment-id:3067376244 --> @oschwartz10612 commented on GitHub (Jul 13, 2025): Hi! Does your actual endpoint follow the proper host format? You can double check what is sent from the server in the server config/config.yml file under gerbil `base_endpoint`
Author
Owner

@Lacedaemon commented on GitHub (Jul 14, 2025):

That's exactly what it was - had https:// in Gerbil > base_endpoint. Appreciate it!!

<!-- gh-comment-id:3067992587 --> @Lacedaemon commented on GitHub (Jul 14, 2025): That's exactly what it was - had `https://` in Gerbil > `base_endpoint`. Appreciate it!!
Author
Owner

@szszl0 commented on GitHub (Dec 10, 2025):

have the same issue but do not have "https://" in gebrill config.

Dec 10 11:57:48 pangolin newt[88]: ERROR: 2025/12/10 11:57:48 Failed to split endpoint: address :51820: too many colons in address

<!-- gh-comment-id:3636754899 --> @szszl0 commented on GitHub (Dec 10, 2025): have the same issue but do not have "https://" in gebrill config. Dec 10 11:57:48 pangolin newt[88]: ERROR: 2025/12/10 11:57:48 Failed to split endpoint: address <ipv6adress>:51820: too many colons in address
Author
Owner

@oschwartz10612 commented on GitHub (Dec 10, 2025):

What do you have as your gerbil base endpoint? Is it ipv6? We might not
support ipv6 in here until RC comes out to GA.

<!-- gh-comment-id:3637577220 --> @oschwartz10612 commented on GitHub (Dec 10, 2025): What do you have as your gerbil base endpoint? Is it ipv6? We might not support ipv6 in here until RC comes out to GA.
Author
Owner

@szszl0 commented on GitHub (Dec 10, 2025):

Yes it is ipv6. Ok, thanks for info

<!-- gh-comment-id:3637597395 --> @szszl0 commented on GitHub (Dec 10, 2025): Yes it is ipv6. Ok, thanks for info
Author
Owner

@oschwartz10612 commented on GitHub (Dec 10, 2025):

Okay I bet thats causing the issue. I will try to watch out to make sure
this works in the next release.

<!-- gh-comment-id:3637612258 --> @oschwartz10612 commented on GitHub (Dec 10, 2025): Okay I bet thats causing the issue. I will try to watch out to make sure this works in the next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#1394