-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Not able to use IIS reverse proxy since 3.3.13 #7577
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
Comments
I'm unfamiliar with IIS, in general, you could try suppressing both |
After managing to get my own IIS server to play ball, i can confirm that's what you need to do. i.e.
|
@JamiePhonic Thanks that bring me a bit further. This is my IIS log, that shows the 401's on the logon.
|
Here is a copy of my web.confg file that's working with QBT 3.3.16 |
Yes, My setup is qBittorrent 3.3.16 running on Windows Server 2016 with IIS 10, URL Rewrite 2.5 and ARR 3.0. Try disabling the "redirect to HTTPS" rule and get the server to listen on HTTP. In the mean time, i'll try installing QBT on a different machine and pointing IIS at that instead to see if i get the same issue as you. Update |
@JamiePhonic You're not changing anything in qBittorrent right? One thing I also have is hostheaders enabled in IIS as I have 9 websites running with their own subdomain under xxx.yyy EDIT: |
Yes I did try to use the internal IP Address as well, the same result however. |
I think I'll be adding code to record these errors/failures in log. |
@Chocobo1 You mean in qBittorrent? |
@Rouzax You can find its source in PR #7603. |
Running on Windows indeed, will give it a try and post the results. |
I've tested the test build and this is the output:
It looks like it is not switching out the hostheaders to the internal host. Just to do a sanity check. Then afterwards I edit my web.config with the following settings:
This is my IIS Faile Request Log |
I would try changing to |
The The error is below which will clear the (Note: I've been using firefox in my testing which appears to only set the |
ditto, #7577 (comment) , sadly none actually tried the workaround before. |
@Chocobo1 and @JamiePhonic: Thank you so much it no works.
This works on Chrome and Internet Explorer. |
Closing as fixed. |
I am not sure if I should open up a new ticket but I am using the web.config from @Rouzax with Qbittorrent 4.1.6. My screen is looking like this: I am on IIS 7.5 using a reverse proxy. HTTPS -> IIS 7.5 -> HTTP qbittorrent. SSL CA is from Let's Encrypt There is ONE thing though. When I am on the IIS 7.5 host and do a http://localhost/qtweb. It comes up fine. Seems like it's only when requesting https @Chocobo1 should I open a new ticket? |
@Chocobo1, would you be able to spin out an custom qBittorrent build like you did before with more web gui logging? There is an issue with the qBittorent controller since qBittorrent 4.2 to authenticate to the API through the Reverse Proxy. I think it would help if we could see some more logging. The Reverse Proxy is just giving a HTTP 403 error |
qBittorrent version and Operating System:
qBittorent: 3.3.13 till 3.3.16
Windows Server 2016 fully pathed
What is the problem:
Since 3.3.13 I'm unable to upgrade beacuse my reverse Proxy with IIS ARR does not work.
I've following the steps in https://github.com/qbittorrent/qBittorrent/wiki/IIS-ARR-Reverse-Proxy


Unfortunately that results in a weird looking logon screen
When I try to logon I just get an empty screen that has my usename and password in the URL bar.
My web.config has the following line:
Also tried with the temporary 3.3.15 fix that is in the wiki.
The text was updated successfully, but these errors were encountered: