Sonarr version (exact version): 3.0.10.1567
Mono version (if Sonarr is not running on Windows): 6.12.0.182
OS: Linux
Debug logs: [Info] Auth: Auth-Unauthorized ip xx.xx.xx.xx url 'http://sonarr.my.domain/initialize.js'
Description of issue:
I’ve had Sonarr working for years, but after updating to some more recent version, opening Sonarr now gives just a blank page. The console errors I’m getting when this happens:
[Error] SyntaxError: Unexpected token '<'
(anonymous function)
[Error] TypeError: undefined is not an object (evaluating 'window.Sonarr.urlBase')
39347 (index.js:1:1104167)
r (index.js:1:1111696)
26023 (index.js:1:35887)
r (index.js:1:1111696)
(anonymous function) (index.js:1:1113537)
(anonymous function) (index.js:1:1112079)
(anonymous function) (index.js:1:1113553)
Global Code (index.js:1:1113557))
and on the server side, even with Trace logging on, all I get is this:
[Info] Auth: Auth-Unauthorized ip xx.xx.xx.xx url 'http://sonarr.my.domain/initialize.js'
and the access logs look normal:
(25/Jun/2023:14:48:11 -0500) xx.xx.xx.xx (:49651) -> GET https://sonarr.my.domain/ HTTP/1.1 -> Code 200. Sent 902 bytes. Referred by -. Agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15".
xx.xx.xx.xx - - [25/Jun/2023:14:48:11 -0500] "GET /initialize.js HTTP/1.1" 303 0 "https://sonarr.my.domain/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15"
(25/Jun/2023:14:48:11 -0500) xx.xx.xx.xx (:49651) -> GET https://sonarr.my.domain/initialize.js HTTP/1.1 -> Code 303. Sent 0 bytes. Referred by https://sonarr.my.domain/. Agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15".
xx.xx.xx.xx - - [25/Jun/2023:14:48:11 -0500] "GET /login?returnUrl=/initialize.js HTTP/1.1" 200 2341 "https://sonarr.my.domain/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15"
(25/Jun/2023:14:48:11 -0500) xx.xx.xx.xx (:49651) -> GET https://sonarr.my.domain/login?returnUrl=/initialize.js HTTP/1.1 -> Code 200. Sent 2341 bytes. Referred by https://sonarr.my.domain/. Agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15".
If I reload the page exactly 3 times, on the 3rd time, it will load. On the iPhone (homepage web app), however, this is not possible so it never loads. Sometimes I will get lucky. I use a reverse proxy. My “URL Base” setting is blank because it’s supposed to be blank.