mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-22 17:43:04 -05:00
[GH-ISSUE #1289] Newt throws errors trying to install as binary in Debian 12 - [Failed to connect: failed to get token with status code 400] #12645
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 @SprMario on GitHub (Aug 16, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1289
Hi all,
Here I am again! It seems I am hitting the lottery with Pangolin. I hope MorganKryze doesn't see this 😶🌫️ .
Today I wanted to replace Newt in docker with Newt as a binary for the performance gains, at least I think Docker can introduce some overhead.
Following this guide: https://docs.digpangolin.com/manage/sites/install-site
Environment:
Proxmox VM running Debian 12
The steps to install are done without any issues(binary buick install) but when I try to start newt with my information following the guide and using my information, I get errors.
Command:
newt \ --id 31frd0uzbjvp721 \ --secret h51mmlknrvrwv8s4r1i210azhumt6isgbpyavxodibx1k2d6 \ --endpoint https://example.comThese credentials are generated by Pangolin dashboard once you try to create a site. The dashboard is reachable and works as expected(thanks Morgan).
I also tried to run Newt through a system service file. Using the example of the guide in the correct path I made sure the service did NOT run using htop.
Then reloaded the daemon:
systemctl daemon-reloadEnabled the service
systemctl enable newt.serviceThen start the service file with
systemctl start newt.serviceNo errors unless I do:
systemctl status newt.serviceOutput:
Does anyone know what I can do?
@oschwartz10612 commented on GitHub (Aug 17, 2025):
Hum I don't see a reason it should not work. 400 is a bad request but
your command looks good. If you turn on --log-level debug in newt does
that show you anything?
Also could be good to look in Pangolin logs. See any errors?
IDK why you would get a 400 and not a 403 - I would expect if the id or
secret were wrong but check that as well to make sure they are correct.
LMK what you find.
@SprMario commented on GitHub (Aug 17, 2025):
Output of Newt with log-level debug:
It seems that it doesn't reach my endpoint at all, there are no logs on Pangolin side.
@SprMario commented on GitHub (Aug 18, 2025):
Going to start from scratch. This issue seems too new for the community as I am barely able to find results on the errors messages.
@oschwartz10612 commented on GitHub (Aug 23, 2025):
Hi!
Sorry for the delays!
Okay if you moved on. Just a thought here it looks like there is
https:// in the endpoint print out which is not usually the case but I
could be fooling myself. How was the endpoint entered into the command?
Its closed so if you are good feel free to ignore.
@SprMario commented on GitHub (Aug 23, 2025):
Hello,
The example is from the website which i followed quite closely and after reinstalling I used HTTPS too. I don't think that was the issue.