Reverse Proxy Not Working After Recent Update

Sonarr version 2.0.0.4851:
OS: Windows 10 Professional
Debug logs: https://kelnetcloud.com/owncloud/index.php/s/j9VZKgNnAwGgiz4 (After starting up Sonarr then shutting it back down)
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here)
Description of issue:
Hey Guys - First of all THANK YOU so much for continued development and hard work. Sonarr is a great app and the fact that it’s open source is fantastic!

I’ve been using Sonarr / NZBDrone for at least a couple of years now. Since almost the beginning, I’ve used Apache for Windows for Reverse Proxy and it’s worked great. The HTTP port is set to default and the URL base set to /sonarr.

About a week ago, I went to access Sonarr via reverse proxy, but the only thing that appeared in the webpage is the black text “Sonarr Ver.” on a white background. As I’ve been meaning to switch to nginx for a while, I went ahead and set it up thinking the issue may had been with Apache as visiting the URL with port # worked), but once done got the exact same results! Also, other services that I use reverse proxy with (Radarr, LazyLib, & many others) still redirect just fine.

Below are my configs used for both services. Any suggestions?

Apache
<Location /sonarr>
order deny,allow
deny from all
allow from all
ProxyPass http://localhost:8989/sonarr
ProxyPassReverse http://localhost:8989/sonarr

I’ve tried 127.0.0.1 and the local IP of the host above as well

nginx
location /sonarr {
proxy_pass http://127.0.0.1:8989;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

Thanks!!

Make sure under “Settings/General/URL Base” is set as /sonarr. You will have to stop and restart Sonarr.

Yes, it is. Thanks. Again, http://127.0.0.1:8989/sonarr works so that can’t be the issue. Any other suggestions?

Works fine using IIS reverse proxy on Windows Server 2016.

Connecting via HTTPS to IIS then normal HTTP back to Sonarr.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Sonarr" stopProcessing="true">
                    <match url="sonarr/(.*)" />
                    <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
                    <action type="Rewrite" url="http://127.0.0.1:8989/sonarr/{R:1}" />
                </rule>
             </rules>
            </rewrite>
    </system.webServer>
</configuration>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.