mirror of
https://github.com/fosrl/newt.git
synced 2026-05-06 07:59:04 -05:00
[GH-ISSUE #329] 1.12.0 docker socket does not work #2073
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 @cpuks on GitHub (Apr 28, 2026).
Original GitHub issue: https://github.com/fosrl/newt/issues/329
Describe the Bug
After upgrading to latest newt some containers stopped working—it's totally random, and I have the same behavior on 4 different machines - LXC, VMs—mixed debian and ubuntu. I found out that it's docker socket - once I type the IP address, the asset starts to work. Once I revert back to newt 1.11.0 all works fine.
Environment
To Reproduce
Use 1.12.0 with docker socket—Grafana, Dockhand, Paperless-ngx, and many others stop working as long as I use docker socket, once I type serivce IP:port it's working again. All containers share the same docker network with newt and they can ping each other.
Expected Behavior
1.12.0 should work exactly same as 1.11.0 if no other changes were applied
@AstralDestiny commented on GitHub (Apr 28, 2026):
You have your newt setup properly to hit the socket you want?
You're going have to be more descriptive when you say you use docker socket as the data that's filled into pangolin and then traefik then relies squarely on the docker dns at 127.0.0.11:53 for resolving.. it doesn't poll the socket again and again for container ip changes it's purely just to find the dns entry that exists within docker aliases / dns.
@cpuks commented on GitHub (Apr 28, 2026):
Sorry for lack of my compose:
It works as intended on 1.11.0 and all previous versions; with 1.12.0 it's hit and miss—some services work, some don't. nothing is mentioned in release notes regarding extra entries in compose file
@LaurenceJJones commented on GitHub (Apr 28, 2026):
Can you define
LOG_LEVEL=DEBUGinside your compose environment for Newt and do a compose up. This will print debug information about the socket itself and can aid us in seeing what its doing.@cpuks commented on GitHub (Apr 28, 2026):
@LaurenceJJones attached logs with debug turned on, same applies to my other machines running newt - random services are unavilable but only via docker socket - once I type ip it's ok
newt-pangolin-vps-logs.txt
@LaurenceJJones commented on GitHub (Apr 28, 2026):
Yeah so the service is failing due to the healthcheck configured is returning a
302status as per #330 the healthcheck is not broken just users configured a healthcheck that ultimately had a redirect and now since we dont follow redirects it fails.either update the healthcheck to go to a health endpoint or configure a healthcheck route such as
/loginor where grafana will ultimate redirect you too.@cpuks commented on GitHub (Apr 28, 2026):
duplicate of #330