Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Healthcheck not working in portainer #36

Open
5turm opened this issue Jun 21, 2022 · 1 comment
Open

Healthcheck not working in portainer #36

5turm opened this issue Jun 21, 2022 · 1 comment

Comments

@5turm
Copy link

5turm commented Jun 21, 2022

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.

@5turm 5turm changed the title Healthcheck not working Healthcheck not working in portainer Jun 21, 2022
@PeterDaveHello
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants