mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 16:09:02 -05:00
[GH-ISSUE #284] Newt loses connection to server and will only reconnect on service restart #1452
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 @imoBooze on GitHub (Mar 28, 2026).
Original GitHub issue: https://github.com/fosrl/newt/issues/284
Describe the Bug
Whenever the wifi of a site disconnects for a period of time then reconnects, the newt of the site is unable to reconnect to pangolin. The logs of newt mentions several periodic ping failures.
Environment
To Reproduce
Expected Behavior
Newt reconnects after wifi outage.
@github-actions[bot] commented on GitHub (Apr 12, 2026):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@imoBooze commented on GitHub (Apr 12, 2026):
As of newt version 1.11.0, this issue appears to have been fixed. Could others also confirm?
@Jdsx74 commented on GitHub (Apr 16, 2026):
I have the same problem with Pangolin 1.17.0 and Newt 1.11.0.
I start Newt service, but after 4/5 days the connection drop and i have to restart the newt service to be able to access to site again..
Thank you !
@Kornelius777 commented on GitHub (Apr 17, 2026):
Same here.
Would it be possible to implement a health check so that a script could reboot the newt server?
@svillar commented on GitHub (Apr 18, 2026):
I've newt 1.11.0 and I can easily reproduce this issue. Not following the same steps. In my case newt is runnning in a docker container in a NAS (ARM) which is connected via ethernet, so unless something very wrong happens it's always online. At some point it disconnects:
and then it never recovers (when I got the log it was reporting >1000 consecutive failures). Only restarting it makes it work again. It's a serious issue as it makes resources lose all connectivity
@svillar commented on GitHub (Apr 18, 2026):
I'm BTW available for further testing, using an image with extra debugging or the like, just ping me back.
@AstralDestiny commented on GitHub (Apr 18, 2026):
@svillar Mind poking me on discord and throw me a site config?
@v3rm1n0 commented on GitHub (Apr 24, 2026):
Same issue here. My router restarts frequently for updates, resulting in exactly this. Would be possible to have newt exit or kill itself after x consecutive failures? That way systemds restart on failure could work
Edit: I am on newt 1.11.0
@sandroshu commented on GitHub (Apr 24, 2026):
It is not resolved in the latest available release.
Workaround still works for systemd service but not optimal mentioned in my issue for the time being. https://github.com/fosrl/newt/issues/310
Create a service for it or run it in a screen session in the background. For eg. I have a separate service newt-healer:
@AstralDestiny commented on GitHub (Apr 24, 2026):
Wouldn't really use the latest RC right now honestly, We've got a few critical bugs.