Calendar not displaying over custom domain/URL

Hi,

I seem to be having a very specific issue with the calendar view on Sonarr, if I access it via a custom domain/url say “myurl.com” and go to the Calendar page, the upcoming list displays items correctly but the Calendar view is blank. If I access the same page but via local IP or hostname when I am on my network at home, the calendar works as expected. the blank calendar issue only happens via the custom domain, both remotely and locally. Below are the details regarding my setup:

nzbdrone version and branch: 2.0.0.3732 - Master.
System information

  • OS: Windows Server 2012
  • Browsers tested issue on: IE, Chrome (Mac & Windows), FireFox (Mac), Safari
  • Debug log: http://pastebin.com/NJNREQqJ

I think the most telling thing here would be the network logs from your browser, using F12 to open that up then navigating to the calendar would show those. Looking for any errors when grabbing the calendar from the server.

Thanks,

Had a look an it seems that this call is getting a 403 response:

http://myurl.com/api/calendar?start=2016-01-17T22%3A00%3A00.000Z&end=2016-01-24T22%3A00%3A00.000Z&unmonitored=true

Not sure why it is though.

Wrong API key would do it, but every thing would be failing.

Are you using a reverse proxy? Perhaps its throwing something out.

I am using Sophos to relay the traffic on incoming urls to various services on specific ports. The forwarding/reverse proxy setup is like this: myurl.com:80 sent to myserver:8989.

I have four other services (Home automation, Couchpotato, SABNZBD, Beer stock system) setup like this and have no issues with them.

Is there something I need to do in sonarr to get it working in a setup like this?

That should be fine, but the requests for upcoming and the calendar use the same endpoint (with different information requested), if one fails they both should, unless something is breaking the request. Since everything works when you bypass Sophos it sounds like something there is messing it up.

I have been playing with my Sophos setup around Sonarr, I have found the firewall is causing the call for the data for the calendar to be blocked. I have turned off the firewall when it comes to sonar and I get a working calendar. Will be playing around with the firewall to find the right settings so I can have it on and still have sonarr working.

1 Like

I just had to deal with this same issue on Sophos XG. To workaround it without disabling all the WAF protections, I created exceptions for the following URL patterns:

/sonarr/calendar/*
/sonarr/api/*

The exception rule skips all the checks and categories.

Thanks, I have added those two exceptions and now I am getting a fully working calendar over custom URL now.

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