-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
qBittorent UI returns 401 (blank page) when accessed through Kubernetes proxy #8095
Comments
I don't have any knowledge of what Kubernetes is and how kube-proxy, pod and nodePort work. |
@sledgehammer999 Kubernetes (K8's) creates abstraction on top of Docker (or other container runtime). Service is implemented as a set of IP table rules that know how to take traffic from the host:nodePort and route it to the Pod. Kube proxy is a daemon that maintains the IP tables rules on each node (host). curl node:nodePort -> Node IP tables -> Pod:8080 |
Correction: curl node:nodePort -> Node (IP tables) -> podIP:podPort ->qBittorrent:8080 Hope it makes sense. |
I deployed Nginx ingress controller (which is basically Nginx server) and still fails with 401. Looks like it's related to this #6962 I applied all the headers as described here https://github.com/qbittorrent/qBittorrent/wiki/NGINX-Reverse-Proxy-for-Web-UI - still no luck. Can anybody share working Nginx configuration (when Nginx and qBittorrent are deployed on different hosts)? |
Found another related issue (and it still open) #7028 |
Used this #5693 to figure it out, for anybody else having the same issue the kubernetes ingress yaml should look like this:
|
@zeppelinux I am the original reporter of the issue/feature request #5693 Just to confirm, did you get it to work with a work around or has the base URL been implemented? |
Another +1 for this, not working for me behind Nginx. Login screen appears (without any images strangely) then when I submit the password appears in the URL and goes to blank screen :| |
I had the same issue with run qBittorrent v4.1.5 Web UI on docker. And #9333 not works for me. |
I use docker image |
qBittorrent version and Operating System
4.0.3 (latest), Docker 17.03.2-ce, Kubernetes 1.8
What is the problem
qBittorrent responds with 401 on any http GET request
What is the expected behavior
login page is returned for /
Steps to reproduce
deploy qBittorrent in a Pod and expose it as a Service using nodePort type.
Extra info(if any)
When accessed using clusterIP it works as expected, the problem is with the kube-proxy only.
The last version that works with kube-proxy seems to be 3.3.1
The text was updated successfully, but these errors were encountered: