Reverse proxy Nginx Issues

Sonarr version (exact version): 2.0.0.3953
Mono version (if Sonarr is not running on Windows):
OS: windows 10
nginx: 1.9.2
Debug logs (posted to hastebin or similar): http://pastebin.com/MWByj3Bp , http://pastebin.com/iSvX8Qat , https://paste.ee/p/rXahL
Description of issue (if you think you’ve found a bug please include steps to reproduce):

I have nginx installed with reverse proxy configured for all my apps, sabnzbd, torrent, couchpotato, etc. However since ive enabled this within sonarr. It hangs for a long time unless i load it from the same machine sonarr is on. Nzb360 refuses to load it since it times out and if i access it via my domain or external ip via a browser it takes forever to load. Every other app is fine, machine is beefy enough, upload speed is good enough. Only happens once i fill in the setting for reverse proxy path e.g. /sonarr.

server { listen 80; server_name my domain, 192.168.1.2; 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; }

Have you set the URL base in Sonarr? Setting it to /sonarr and having nginx set to use it may help.

Yes that’s what seems to create the sluggish once that is set. Even accessing via local network pc lanip:8989/sonarr is slow. Setting base back to / speeds it up

edit: actually noticing sonarr is no longer responding to local lan access from another machine. i know this is usual when not run as admin the first time i have done that though, plus i run as a service

Edit2:

netsh http add iplisten 127.0.0.1
netsh http add iplisten 192.168.1.2

Solved the sluggish issue. Works fine now.

1 Like

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