mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-26 04:35:54 +03:00
[GH-ISSUE #519] [BUG] unhealthy on docker - though healthy and working #337
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#337
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 @sutidor on GitHub (Nov 2, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/519
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Deployment Method
runexecutableVersion of Whoogle Search
Additional context
There is no publicly exposed port, whoogle is reverse proxied. Going into whoogle container terminal and
curl http://localhost:${EXPOSE_PORT}/healthz || exit 1gives no return. curl -i and going to published url with browser gives me return code 200. How to fix?@benbusby commented on GitHub (Nov 7, 2021):
Hmmm, I'm not sure what the problem could be here. Could you run
docker inspect --format "{{json .State.Health }}" whoogle-search | jqand share the results?@sutidor commented on GitHub (Nov 8, 2021):
dont know how to jq on ubuntu but here the
docker inspect --format "{{json .State.Health }}" whoogle-searchbit:{"Status":"unhealthy","FailingStreak":1714,"Log":[{"Start":"2021-11-08T10:37:29.387401171+01:00","End":"2021-11-08T10:37:29.454545693+01:00","ExitCode":1,"Output":"/bin/sh: 1: wget: not found\n"},{"Start":"2021-11-08T10:42:29.457327157+01:00","End":"2021-11-08T10:42:29.524791178+01:00","ExitCode":1,"Output":"/bin/sh: 1: wget: not found\n"},{"Start":"2021-11-08T10:47:29.527064049+01:00","End":"2021-11-08T10:47:29.5934602+01:00","ExitCode":1,"Output":"/bin/sh: 1: wget: not found\n"},{"Start":"2021-11-08T10:52:29.595778319+01:00","End":"2021-11-08T10:52:29.683696621+01:00","ExitCode":1,"Output":"/bin/sh: 1: wget: not found\n"},{"Start":"2021-11-08T10:57:29.686125891+01:00","End":"2021-11-08T10:57:29.762943074+01:00","ExitCode":1,"Output":"/bin/sh: 1: wget: not found\n"}]}Interesting. When docker exec into container curl works but wget does not. Using image v0.6.0 sha256:e3473b7003866a1973ae2d26a71834199661777f3f4007859fc35b718e99ea0b
@benbusby commented on GitHub (Nov 9, 2021):
Well that's odd...the Dockerfile uses
curland notwgetfor the healthcheck.github.com/benbusby/whoogle-search@3f40a6c485/Dockerfile (L77-L78)It's actually been that way since 0.5.0 (
1fdf226802). Is it possible your Dockerfile is older than 0.6.0 due to changes that you've made locally? Either way somehow you've ended up with 0.6.0 code, but an old Dockerfile, which is strange.@sutidor commented on GitHub (Nov 11, 2021):
healthy!
I removed everything and started anew
Thank you for this amazing project as well as your support.
@benbusby commented on GitHub (Nov 12, 2021):
Awesome! Glad it's working now.