Replies: 1 comment
-
I am also experiencing exactly the same error with the healtchecks widget on v0.10.1. I am not hitting the internet via a proxy though. I can also successfully make curl requests to the healthchecks API from inside the docker container and get back successful responses, but when homepage makes the request it always results in the error. Is there any additional troubleshooting you would like to me perform to help identify the cause of this problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hello everyone.
In my company we installed Homepage in a docker container, we use squid proxy to go out on internet.
Widgets for local services work well, but not those that retrieve data from the internet such as healtchecks.io which returns the error "ENETUNREACH".
I have already set the HTTP_PROXY and HTTPS_PROXY environment variables, if I enter in the shell with the command
docker exec -it homepage sh
and launch the command from the container (i've installed curl package)
curl https://healtchecks.io
or
curl --header "X-Api-Key: xxxxxxxxxxxxxxxxx" https://healthchecks.io/api/v3/checks/
it works correctly, but not homepage, perhaps because nodejs does not take the proxy environment variables.
How can I solve this?
Sorry for my bad english.
homepage version
v0.9.9 (6b1080a)
Installation method
Docker
Configuration
Container Logs
Browser Logs
No response
Troubleshooting
curl --header "X-Api-Key: xxxxxxxxxxxxxxxxx" https://healthchecks.io/api/v3/checks/
{"checks": [{"name": "xxxxxxx", "slug": "", "tags": "Backups", "desc": "", "grace": 14400, "n_pings": 0, "status": "new", "started": false, "last_ping": null, "next_ping": null, "manual_resume": false, "methods": "", "subject": "", "subject_fail": "", "start_kw": "", "success_kw": "", "failure_kw": "", "filter_subject": false, "filter_body": false, ... etc. ....................................}]}
Beta Was this translation helpful? Give feedback.
All reactions