tor-socks-proxy icon indicating copy to clipboard operation
tor-socks-proxy copied to clipboard

Healthcheck not working in portainer

Open simon-t-grimm opened this issue 3 years ago • 1 comments

I've deployed your container via portainer. It is constantly shown as 'unhealthy' with error message:

[...]
Jun 21 09:24:00.000 [notice] Bootstrapped 100% (done): Done
Jun 21 09:24:24.000 [warn] Invalid hostname [scrubbed]; rejecting
Jun 21 09:24:54.000 [warn] Invalid hostname [scrubbed]; rejecting
Jun 21 09:25:24.000 [warn] Invalid hostname [scrubbed]; rejecting
Jun 21 09:25:54.000 [warn] Invalid hostname [scrubbed]; rejecting
Jun 21 09:26:25.000 [warn] Invalid hostname [scrubbed]; rejecting

Network mode is 'host' and the configured curl request works on the host and inside the container: curl --fail --socks5-hostname localhost:9150 -I -L 'https://www.facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion/'

I'm testing with the 'latest' image and have not made any changes to the container.

simon-t-grimm avatar Jun 21 '22 09:06 simon-t-grimm

Have you tried to use another endpoint for health check and see if it works?

PeterDaveHello avatar Jul 07 '22 09:07 PeterDaveHello