mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #1108] 3.8.2 stays unhealthy - same config working with 3.8.1 #770
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#770
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BeyondVertical on GitHub (Dec 20, 2024).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/1108
My Healthchecks-container was unhealthy today and I dug a little deeper:
Watchtower was updating it overnight from 3.8.1 to 3.8.2 and it could not get to run (status: unhealthy).
Here is my config from the docker compose, maybe you can see what the problem is. In the meantime I went back to 3.8.1.
@andreasfaerber commented on GitHub (Dec 20, 2024):
Same issue here. From health status (docker inspect --format "{{json .State.Health }}" container | jq):
{
"Status": "unhealthy",
"FailingStreak": 1,
"Log": [
{
"Start": "2024-12-20T09:56:30.309793605+01:00",
"End": "2024-12-20T09:56:30.582685056+01:00",
"ExitCode": 1,
"Output": "Traceback (most recent call last):\n File "/opt/healthchecks/./fetchstatus.py", line 34, in \n with urlopen(f"{SITE_ROOT}/api/v3/status/") as response:\n ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/local/lib/python3.13/urllib/request.py", line 189, in urlopen\n return opener.open(url, data, timeout)\n ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^\n File "/usr/local/lib/python3.13/urllib/request.py", line 495, in open\n response = meth(req, response)\n File "/usr/local/lib/python3.13/urllib/request.py", line 604, in http_response\n response = self.parent.error(\n 'http', request, response, code, msg, hdrs)\n File "/usr/local/lib/python3.13/urllib/request.py", line 533, in error\n return self._call_chain(*args)\n ~~~~~~~~~~~~~~~~^^^^^^^\n File "/usr/local/lib/python3.13/urllib/request.py", line 466, in _call_chain\n result = func(*args)\n File "/usr/local/lib/python3.13/urllib/request.py", line 613, in http_error_default\n raise HTTPError(req.full_url, code, msg, hdrs, fp)\nurllib.error.HTTPError: HTTP Error 404: Not Found\n"
}
]
}
I am behind traefik. Maybe trying to request something from itself via traefik while traefik did not pick up the container and will not as long as it's unhealthy?
@cuu508 commented on GitHub (Dec 20, 2024):
Yes, that looks like it. It's a bug by me, sorry. I'll have another go at fetchstatus.py.
@cuu508 commented on GitHub (Dec 20, 2024):
I've released v3.9 which should fix this.
@BeyondVertical commented on GitHub (Dec 22, 2024):
Yeah, working again. Thanks. The healthy-status is taking a little longer than expected, but it works.