mirror of
https://github.com/fosrl/newt.git
synced 2026-03-09 07:12:28 -05:00
Newt failed to connect on fresh install #9
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 @Lokowitz on GitHub (Mar 1, 2025).
Hey guys,
yesterday i tried the new pangolin update and i made a fresh install on the vps.
Now i can not connect the newt site with docker, i tried docker compose and the docker run command.
It is only working with the binary newt installation.
All running on latest tag and i also tried with secound LXC container.
@Mitch187 commented on GitHub (Mar 2, 2025):
I have the same problem, too.
@oschwartz10612 commented on GitHub (Mar 2, 2025):
Typically this is due to something wrong with getting the token from the server - usually a wrong endpoint or bad credentials. Does the endpoint in your newt command match the dashboard? Does it have any extra chars?
In 3d15ecb I am printing the actual response which may help us narrow down this issue. I should be rolling this out shortly.
@Lokowitz commented on GitHub (Mar 3, 2025):
It is working for me now...
I deleted the pangolin installation on the vps and reinstalled it, but this time without crowdsec installation at the first time.
After finishing my setup (dnschallenge, 2 sites added, 9 resources added) i added crowdsec via the installer and everything is still working fine now.
The only thing i noticed from my old installation is that in the dynamic_config.yml i still had "crowdsecLapiKey: "PUT_YOUR_BOUNCER_KEY_HERE_OR_IT_WILL_NOT_WORK"", so it sounds like the installation was not complete. In my current installation the bouncer key is inserted.
@Mitch187 did you also installed crowdsec with initial installation? And is your bouncer key replaced in dynamic_config.yml?
@oschwartz10612 commented on GitHub (Mar 3, 2025):
Ahh yeah this makes sense. Pesky crowdsec. It must have been blocking you. Looks like it failed when you installed the first time to automate the token retrial. I will see if I can update the script to more explicitly fail if that is the case.
@oschwartz10612 commented on GitHub (Mar 3, 2025):
Added a check in
37fdc4a6a8to warn users