[GH-ISSUE #368] token problems #4613

Open
opened 2026-06-02 02:35:32 -05:00 by GiteaMirror · 12 comments
Owner

Originally created by @ZultaCulu on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/fosrl/newt/issues/368

Describe the Bug

newt fails to connect with this error. ERROR: 2026/05/27 04:04:25 Failed to connect: failed to get token: failed to request new token: Post "https://pangolin.zultaculu.xyz/api/v1/auth/newt/get-token": tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match pangolin.zultaculu.xyz. Retrying in 3s...

Environment

  • OS Type & Version: Debian Trixie
  • Pangolin Version:1.18.4
  • Gerbil Version:1.4.0
  • Traefik Version:3.6
  • Newt Version:1.12.5
  • Olm Version: (if applicable)

To Reproduce

setup a newt site in pangolin. run newt connecer with the credetials for the newt site. it fails to connect.

Expected Behavior

newt connecter connects to newt site

Originally created by @ZultaCulu on GitHub (May 27, 2026). Original GitHub issue: https://github.com/fosrl/newt/issues/368 ### Describe the Bug newt fails to connect with this error. ERROR: 2026/05/27 04:04:25 Failed to connect: failed to get token: failed to request new token: Post "https://pangolin.zultaculu.xyz/api/v1/auth/newt/get-token": tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match pangolin.zultaculu.xyz. Retrying in 3s... ### Environment - OS Type & Version: Debian Trixie - Pangolin Version:1.18.4 - Gerbil Version:1.4.0 - Traefik Version:3.6 - Newt Version:1.12.5 - Olm Version: (if applicable) ### To Reproduce setup a newt site in pangolin. run newt connecer with the credetials for the newt site. it fails to connect. ### Expected Behavior newt connecter connects to newt site
Author
Owner

@AstralDestiny commented on GitHub (May 27, 2026):

Check traefik logs for acme generation, That's not a newt token issue.

<!-- gh-comment-id:4551395484 --> @AstralDestiny commented on GitHub (May 27, 2026): Check traefik logs for acme generation, That's not a newt token issue.
Author
Owner

@ZultaCulu commented on GitHub (May 27, 2026):

this is what the log says

log.txt

<!-- gh-comment-id:4556509081 --> @ZultaCulu commented on GitHub (May 27, 2026): this is what the log says [log.txt](https://github.com/user-attachments/files/28316008/log.txt)
Author
Owner

@AstralDestiny commented on GitHub (May 27, 2026):

Put traefik into trace logging

<!-- gh-comment-id:4556966764 --> @AstralDestiny commented on GitHub (May 27, 2026): Put traefik into trace logging
Author
Owner

@ZultaCulu commented on GitHub (May 28, 2026):

How do I do that?

<!-- gh-comment-id:4567276539 --> @ZultaCulu commented on GitHub (May 28, 2026): How do I do that?
Author
Owner

@AstralDestiny commented on GitHub (May 28, 2026):

/config/traefik/traefik_config.yml

log:
 level: TRACE
<!-- gh-comment-id:4567630265 --> @AstralDestiny commented on GitHub (May 28, 2026): /config/traefik/traefik_config.yml ```yml log: level: TRACE ```
Author
Owner

@ZultaCulu commented on GitHub (May 29, 2026):

here's the log

traefik.log

<!-- gh-comment-id:4578606716 --> @ZultaCulu commented on GitHub (May 29, 2026): here's the log [traefik.log](https://github.com/user-attachments/files/28405434/traefik.log)
Author
Owner

@AstralDestiny commented on GitHub (May 29, 2026):

Mmm strange do you have any geoblock at the vps lvel or so?

<!-- gh-comment-id:4578681991 --> @AstralDestiny commented on GitHub (May 29, 2026): Mmm strange do you have any geoblock at the vps lvel or so?
Author
Owner

@ZultaCulu commented on GitHub (May 29, 2026):

I dont think so.

I dont remeber setting any geoblock up

<!-- gh-comment-id:4579395334 --> @ZultaCulu commented on GitHub (May 29, 2026): I dont think so. I dont remeber setting any geoblock up
Author
Owner

@AstralDestiny commented on GitHub (May 29, 2026):

Just figured I'd ask as I can't even reach that pangolin instance unless it's just not public.

<!-- gh-comment-id:4579427676 --> @AstralDestiny commented on GitHub (May 29, 2026): Just figured I'd ask as I can't even reach that pangolin instance unless it's just not public.
Author
Owner

@ZultaCulu commented on GitHub (May 29, 2026):

huh

weird

it should be public

<!-- gh-comment-id:4579522441 --> @ZultaCulu commented on GitHub (May 29, 2026): huh weird it should be public
Author
Owner

@AstralDestiny commented on GitHub (May 29, 2026):

* connect to XXX.XXX.XXX port 443 from 0.0.0.0 port 52493 failed: Connection refused
* Failed to connect to pangolin.domain.xyz port 443 after 2553 ms: Could not connect to server
* closing connection #0
curl: (7) Failed to connect to pangolin.domain.xyz port 443 after 2553 ms: Could not connect to server

Figured it was geoblocks

<!-- gh-comment-id:4579603571 --> @AstralDestiny commented on GitHub (May 29, 2026): ``` * connect to XXX.XXX.XXX port 443 from 0.0.0.0 port 52493 failed: Connection refused * Failed to connect to pangolin.domain.xyz port 443 after 2553 ms: Could not connect to server * closing connection #0 curl: (7) Failed to connect to pangolin.domain.xyz port 443 after 2553 ms: Could not connect to server ``` Figured it was geoblocks
Author
Owner

@ZultaCulu commented on GitHub (May 29, 2026):

I never set any up, so that's weird.

<!-- gh-comment-id:4579737616 --> @ZultaCulu commented on GitHub (May 29, 2026): I never set any up, so that's weird.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#4613