tor-socks-proxy
tor-socks-proxy copied to clipboard
Healthcheck not working in portainer
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.
Have you tried to use another endpoint for health check and see if it works?