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 fails when behind a proxy #109

Closed
claustres opened this issue Feb 27, 2020 · 1 comment
Closed

Healthcheck fails when behind a proxy #109

claustres opened this issue Feb 27, 2020 · 1 comment
Labels

Comments

@claustres
Copy link
Member

Steps to reproduce

On a machine behind a proxy setup the HTTP_PROXY env var correctly in the docker env, launch a job in a docker container running the healthcheck

Expected behavior

Healthcheck should work

Actual behavior

Connection to healthcheck endpoint fails causing the healthcheck to fail as well and the container to be killed

System configuration

Module versions (especially the part that's not working): 1.0

NodeJS version: 8.16

Operating System: Linux Debian Buster

@claustres claustres added the bug label Feb 27, 2020
@claustres
Copy link
Member Author

As this is inside a container this can be easily fixed by bypassing the proxy when launching the healthcheck command with NO_PROXY="*" node /opt/krawler/healthcheck.js

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

No branches or pull requests

1 participant