Failed to split endpoint: address [domain:port]: too many colons in address #39

Closed
opened 2025-11-19 07:12:37 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Lacedaemon on GitHub (Jul 12, 2025).

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). 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

@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!!

@Lacedaemon commented on GitHub (Jul 14, 2025): That's exactly what it was - had `https://` in Gerbil > `base_endpoint`. Appreciate it!!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#39