Closed FuzzyMistborn closed 1 month ago
How is your connection setup to docker? file? tcp? etc?
Some over file, but most are over TCP.
Can you make a tcpdump and share? I assume you do not use an encrypted connection.
No, I use SSL/TLS with this: https://github.com/kekru/docker-remote-api-tls
Ok, you got a proxy between HA and Docker instance. Can you test it without the proxy? So directly connecting to the Docker instance?
I switched to tecnativa/docker-socket-proxy
as suggested in the readme (been a while since I looked them over) and am running a test with the HA host and a remote host. So far no errors after about 20 minutes of uptime.
Ok, not sure if it was the proxy container I was using, TLS issues, or that there was an old container in my containers
section for the HA config that no longer exists, but I haven't seen an error in a few hours since switching to the new proxy container. So going to close. Thanks for the help!
Possible it is a nginx setting in that proxy, I found this information https://serverfault.com/questions/777749/how-to-disable-timeout-for-nginx/993559#993559
Was noticing my logs were getting filled with lots of
ERROR (Recorder) [homeassistant] Error doing job: Unclosed client session
in my log (a thousand or so entries a day)Added
debugpy:
to my config, and this now is coming up: