You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With only option "-watchdoginterval=120" set I got "msg="checking socket availability" origin=checkSocketAvailability" every 2m in logs. But with added options "-allowhealthcheck" and "interval: 10s" I see the same msg every 10s.
Is healthcheck have the same functionality as watchdog? Or is it's just the same msg text.
Think there should be the more description in Readme.
Short answer: While the health check ist the health check done with Docker or the container orchestrator, the watchdog ist an internal function to check the socket connectivity (and quit if the connection is dead, so that Docker can restart socket-proxy with a new socket connection).
Personally, I prefer to use the internal watchdog in my use case. The health check is for use cases when a container health status is needed. Errors have to be handled from Docker or the orchestrator then.
Both health check and watchdog are using the same internal function to test the socket availability, so the log entries are the same.
I'll add this to the Readme later.
Repository owner locked and limited conversation to collaborators on Aug 23, 2025
Activity
wollomatic commentedon Jul 4, 2024
Hello, thanks for reaching out.
Short answer: While the health check ist the health check done with Docker or the container orchestrator, the watchdog ist an internal function to check the socket connectivity (and quit if the connection is dead, so that Docker can restart socket-proxy with a new socket connection).
Personally, I prefer to use the internal watchdog in my use case. The health check is for use cases when a container health status is needed. Errors have to be handled from Docker or the orchestrator then.
Both health check and watchdog are using the same internal function to test the socket availability, so the log entries are the same.
I'll add this to the Readme later.