-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Health probes are not working when auth is added #313
Labels
Comments
crazy-max
added
status/needs-more-info
and removed
kind/bug
status/needs-investigation
labels
Jun 1, 2024
Not sure what this means but health check for the container is used here: docker-rtorrent-rutorrent/Dockerfile Lines 252 to 253 in cfea5dc
docker-rtorrent-rutorrent/rootfs/usr/local/bin/healthcheck Lines 4 to 11 in cfea5dc
There is an additional nginx configuration for each probes which does not have any authentication as we only expose the service on 127.0.0.1:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Support guidelines
I've found a bug and checked that ...
Description
When you add passwords with:
htpasswd -Bbn admin password >> $(pwd)/passwd/webdav.htpasswd
htpasswd -Bbn admin password >> $(pwd)/passwd/rutorrent.htpasswd
htpasswd -Bbn admin password >> $(pwd)/passwd/rpc.htpasswd
the liveness, readiness and startup probs stop working. This is occurring on truenas scale which uses the docker image with Kubs.
Expected behaviour
When you add basic auth the probes still work
Actual behaviour
Error occurs when you add base auth
2024/01/11 00:05:18 [info] 561#561: *1 no user/password was provided for basic authentication, client: 192.168.2.185, server: , request: "GET /plugins/diskspace/action.php?=1704948204387 HTTP/1.1", host: "192.168.2.7:8080", referrer: "http://192.168.2.7:8080/"
2024-01-11 00:05:18.039287-05:00192.168.2.185 - - [11/Jan/2024:00:05:18 -0500] "GET /plugins/diskspace/action.php?=1704948204387 HTTP/1.1" 401 574 "http://192.168.2.7:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
2024-01-11 00:05:24.514639-05:002024/01/11 00:05:24 [info] 561#561: *2 no user/password was provided for basic authentication, client: 192.168.2.185, server: , request: "GET /plugins/diskspace/action.php?=1704948178686 HTTP/1.1", host: "192.168.2.7:8080", referrer: "http://192.168.2.7:8080/"
2024-01-11 00:05:24.514645-05:00192.168.2.185 - - [11/Jan/2024:00:05:24 -0500] "GET /plugins/diskspace/action.php?=1704948178686 HTTP/1.1" 401 172 "http://192.168.2.7:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15"
it will shut down after a bit
Steps to reproduce
install and add basic auth
Docker info
Docker Compose config
n/a
Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: