Newt Pangolin connection failure through Rest API #1563

Closed
opened 2026-04-05 19:34:39 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @rahulr56 on 4/26/2025

I finished setting up Pangolin server using the automated installer. No errors are found in Pangolin, trraefik and gerbil (crowdsec skipped). All configurations are default. I have the dashboard working and I was able to setup multiple organizations. However, when I tried to add sites with NEWT using docker compose, the following errors are seen:

ERROR: 2025/04/26 00:02:50 Failed to connect: failed to get token: failed to request new token: Post "https://pangolin.<domain>/api/v1/auth/newt/get-token": dial tcp <Server IP>:443: i/o timeout. Retrying in 10s...

Upon further checking the Rest API sites:

  • https://pangolin./api/v1/auth/newt/get-token
    • {"data":null,"success":false,"error":true,"message":"The requests url is not found - /api/v1/auth/newt/get-token","status":404,"stack":null}
  • https://pangolin./api/v1/
    • {"message":"Healthy"}
  • https://pangolin./api/v1/users
    • {"data":{"users":[],"pagination":{"total":1,"limit":1000,"offset":0}},"success":true,"error":false,"message":"Users retrieved successfully","status":200}
  • https://pangolin./api/v1/auth
    • {"data":null,"success":false,"error":true,"message":"The requests url is not found - /api/v1/auth","status":404,"stack":null}

Even the /user returns the correct authenticated user along with email address.

I'm not sure how the /auth Rest APIs are not working. Can someone help me get this working?

Distro : Arch Linux
Ports exposed: 80, 443, 51820
Arch : x86_64

Versions:

  • Pangolin: 1.2.0
  • Traefik : 3.3.3
  • Gerbil : 1.0.0
  • Newt : 1.1.3 (latest from fosrl/newt)
*Originally created by @rahulr56 on 4/26/2025* I finished setting up Pangolin server using the automated installer. No errors are found in Pangolin, trraefik and gerbil (crowdsec skipped). All configurations are default. I have the dashboard working and I was able to setup multiple organizations. However, when I tried to add sites with NEWT using docker compose, the following errors are seen: ``` ERROR: 2025/04/26 00:02:50 Failed to connect: failed to get token: failed to request new token: Post "https://pangolin.<domain>/api/v1/auth/newt/get-token": dial tcp <Server IP>:443: i/o timeout. Retrying in 10s... ``` Upon further checking the Rest API sites: * https://pangolin.<DOMAIN>/api/v1/auth/newt/get-token * `{"data":null,"success":false,"error":true,"message":"The requests url is not found - /api/v1/auth/newt/get-token","status":404,"stack":null}` * https://pangolin.<DOMAIN>/api/v1/ * `{"message":"Healthy"}` * https://pangolin.<DOMAIN>/api/v1/users * `{"data":{"users":[],"pagination":{"total":1,"limit":1000,"offset":0}},"success":true,"error":false,"message":"Users retrieved successfully","status":200}` * https://pangolin.<DOMAIN>/api/v1/auth * `{"data":null,"success":false,"error":true,"message":"The requests url is not found - /api/v1/auth","status":404,"stack":null}` Even the /user returns the correct authenticated user along with email address. I'm not sure how the /auth Rest APIs are not working. Can someone help me get this working? Distro : Arch Linux Ports exposed: 80, 443, 51820 Arch : x86_64 Versions: * Pangolin: 1.2.0 * Traefik : 3.3.3 * Gerbil : 1.0.0 * Newt : 1.1.3 (latest from fosrl/newt)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1563