mirror of
https://github.com/fosrl/newt.git
synced 2026-03-09 07:12:28 -05:00
Failed to Request New Token #30
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 @rhpeZ on GitHub (May 30, 2025).
Issue with Newt that has randomly appeared after working for a few days, have recreated site and nothing seems to work. Site is showing offline and in Newt logs I get the below error.
"ERROR: 2025/05/30 19:28:46 Failed to connect: failed to get token: failed to request new token: Post "https://pangolin.domain.tld/api/v1/auth/newt/get-token": dial tcp: lookup pangolin.domain.tld on 127.0.0.11:53: server misbehaving. Retrying in 10s..."
Unsure what is causing it and cannot find anything on the issues on here or on google about it.
@oschwartz10612 commented on GitHub (May 31, 2025):
This very likely is a DNS issue on your local computer. The log is saying
dial tcp: lookup pangolin.domain.tld on 127.0.0.11:53: server misbehaving- basically that it tried to look up the dns namepangolin.domain.tldon localhost but it did not work.You should test your local DNS and make sure it is working. For example you can use dig on linux with
dig @127.0.0.11 pangolin.domain.tldand see if it returns a valid response. If not your DNS does not work.@rhpeZ commented on GitHub (May 31, 2025):
Hi, did the dig command and it does resolve a valid answer with the correct IP of my VPS. Below is an image of the command results
@oschwartz10612 commented on GitHub (Jun 2, 2025):
Hum good to know. Are you running newt in docker?
@rhpeZ commented on GitHub (Jun 2, 2025):
Hi, managed to fix it. Was a DNS issue, my resolv.conf file on my ubuntu VM had corrupted and was missing. Has happened before on a different VM, so just generated it and now the site is showing online and Newt logs look healthy.