mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-17 07:04:36 -05:00
[GH-ISSUE #2053] Pangolin Can’t Ping Sites #2058
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 @poyasyn on GitHub (Dec 12, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2053
Describe the Bug
Hi! I’ve been trying to route resources to containers on Newt connected sites using both the assigned IP and container hostnames (after confirming Newt shared network with said containers) to no avail. I decided to ping the assigned IP but got 100% packet loss; only clue is the Newt logs displaying the WG error “context deadline exceeded.” On Pangolin’s end, however, the site health checks are marked as healthy all throughout. There are no firewall conflicts, port conflicts, etc. that would imply why the pings are failing.
Environment
To Reproduce
Create a fresh Pangolin install. Set up UFW in accordance with Pangolin’s documentation. Create a site using the docker compose format. Start up Newt compose on target VPS, UFW also configured to documentation and adjusted for Newt’s organically chosen port (2112 in this case). Site should show as healthy and functional. Create a resource pointed at a known to be functional and accessible, it should show as 404 or timeout when assigned URL is attempted. Pinging assigned IP loses all packets.
Expected Behavior
Resource URL points to site resource and Pangolin VPS can ping Newt connected sites using its assigned IP.
@poyasyn commented on GitHub (Dec 12, 2025):
so, I did some more checking and it seems that, even though Newt is installed correctly, the docker socket on its server is actually not listening for 51820, 2112, or the internal port the Newt container is using (39888). every other container is being listened to in accordance with their assigned ports, just not Newt
@poyasyn commented on GitHub (Dec 12, 2025):
explicitly mounted docker socket and rebooted to no avail, still not being listened to
@oschwartz10612 commented on GitHub (Dec 12, 2025):
Hi! Sounds like you are trying to do a couple of things here. I think you are trying out the new clients so thank you for doing that!
On the ICMP pinging: right now that is not supported and I left a note in the docs here about it to warn people in the future. We plan to add this soon.
On the docker socket: mounting the socket is used for discovery of resources for the Pangolin dashboard and for use with blueprints.
On the port: for client connectivity and for connectivity to the Pangolin server newt generates random ports. If you would like to make that static so you can open firewall ports you could use the --port or PORT env var to set an explicit port to listen on.
I would suggest attempting a TCP or UDP connection to start. If that is not working could you please put newt into debug mode with LOG_LEVEL or --log-level and try to access the resource and send the log output here please? You can also check in the preferences > status section of the pangolin desktop application if it is connected to this site. If it is not connected that could also be causing issues.
@poyasyn commented on GitHub (Dec 13, 2025):
so ! a couple notes:
-the pocket-id-pocket-id-1 container passed health checks and even loaded the site properly when initially accessed. in under a minute, visiting the page then timed out and eventually became a 404 error
-raw tcp resource on port 5335; the port is completely functionally assigned on the VPS itself
-it seems that testing local reverse proxies (i.e. Caddy, Traefik) works perfectly fine. the issue seems to be newt being denied connections or otherwise not finding the docker socket albeit it explicitly mounted in newt’s docker-compose.yml
i sanitized the logs, my apologies if there's a better way to format, i'm quite new at git
@HearthCore commented on GitHub (Dec 14, 2025):
Also make sure to check the correct socket string. It seems there are a few additional slashes needed after I first instituted them to my compose files?
@poyasyn commented on GitHub (Dec 17, 2025):
thanks! could you elaborate a bit on the additional slashes you needed? assuming in newt container
@github-actions[bot] commented on GitHub (Dec 31, 2025):
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.
@github-actions[bot] commented on GitHub (Jan 14, 2026):
This issue has been automatically closed due to inactivity. If you believe this is still relevant, please open a new issue with up-to-date information.