-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi,
first of all thank you for the nice software patchmon is.
I have installed it and it works nice. The agent is able to contact the server and every hour the reports are updated. However I see that the agent tries to contact the server every minute via websocket but that fails:
time="2025-11-01T16:16:04" level=warning msg="ws disconnected; retrying" error="websocket: bad handshake"
I am not sure which is the reason for the failure. I am running patchmon via a reverse proxy, so I had to tweak a couple of things in the installation (which I did with the script), so that might be the reason why the websocket connection fails.
Nevertheless, if I understood the code properly, the websocket connection is only used to report the docker events. However I do not have any docker events, so I wonder whether this could be caught early and avoid any websocket connection altogether.
In fact in the log it is reported that docker is not available before any message from the websocket:
time="2025-11-01T16:05:08" level=warning msg="Failed to start integration monitoring" error="docker is not available"
Thanks!