You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
in docker-compose.yml:
environment:
HTTP_PROXY: 'http://192.168.2.14:3128'HTTPS_PROXY: 'http://192.168.2.14:3128'in services.yaml:
- Healtchecks:
icon: healthchecks.pnghref: https://healthchecks.io/projects/xxxxxxxxxxxxxxxxxxxxxxxx/checks/widget:
type: healthchecksurl: https://healthchecks.iokey: xxxxxxxxxxxxxxxxxxxxxxxxxxx#uuid: <CHECK_UUID> # optional, if not included total statistics for all checks is shown
Container Logs
[2024-09-20T07:55:29.504Z] error: undefined
[2024-09-20T07:55:37.034Z] error: <httpProxy> Error calling https://healthchecks.io/api/v3/checks/...
[2024-09-20T07:55:37.035Z] error: <httpProxy> [
500,
AggregateError
at internalConnectMultiple (node:net:1114:18)
at internalConnectMultiple (node:net:1173:5)
at Timeout.internalConnectMultipleTimeout (node:net:1632:3)
at listOnTimeout (node:internal/timers:571:11)
at process.processTimers (node:internal/timers:512:7) {
code: 'ENETUNREACH',
[errors]: [ [Error], [Error], [Error], [Error] ]
}
]
[2024-09-20T07:55:37.035Z] error: <credentialedProxyHandler> HTTP Error 500 calling https://healthchecks.io/api/v3/checks/
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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