mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 07:59:04 -05:00
[GH-ISSUE #201] Newt 1.7.0 seg faults on bad wireguard address #532
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 @sickmitch on GitHub (Dec 15, 2025).
Original GitHub issue: https://github.com/fosrl/newt/issues/201
Describe the Bug
After updating the whole stack to be compatible to pangolin 1.13.1 my newt istance can't stay up anymore. At first glance all connects fine but after half a second the program panic and restart the container, over and over.
Both pangolin and gerbil successfully add and connect to the newt istance for a moment, with normal logs.
Seems like the problem is in the PANGOLIN_ENDPOINT variable, tried to change to various syntax but the only reaching gerbil is like from the docs PANGOLIN_ENDPOINT=https://app.pangolin.xx, changing the value changes the error in the newt container logs but without reaching out.
Looked at #176 but segmentation violation codes looks different so I guess is another prob.
Environment
To Reproduce
The problem presented after the update, before all was smoothly running. No changes has been made to the configuration.
Expected Behavior
Successfully connect to the gerbil istance.
@sickmitch commented on GitHub (Dec 15, 2025):
Redeployed fresh and is working, keeping the old images and confs to troubleshoot if needed but i guess it has been a migraion problem.
@oschwartz10612 commented on GitHub (Dec 15, 2025):
Yeah this seems like a migration problem - the site was not assigned an
IP address or a malformed one and the clients stuff was trying to init
and crashing. I will update Newt to prevent a full on panic when this
happens and just instead not start the clients.
The other patch solution that could have fixed this was to use
--disable-clients on the site - this would prevent it from trying to init.
In terms of why it failed to migrate you could click on the site in UI
in the old config or look in the database and see if it has a valid IP
in the address field. For the database:
s1lite3 config/db/db.sqlite