Sonarr version (exact version): 2.0.0.4855
Mono version (if Sonarr is not running on Windows): 5.0.1.1
OS: Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-107-generic x86_64)
((Debug logs)):
(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: Hi Guys, I’ve just updated to 2.0.0.4855 and now my api calls are getting the “error”: “Unauthorized” response.
I have a GO script which is making the api calls, which a friend built for me as I couldn’t figure out making the calls directly from python. (https://github.com/kgigitdev/gonarr) .
The idea is that PlexPy calls this script when an episode is watched on my Plex server, and instructs Sonarr to start searching for any missing episodes. It does so using the api/series and api/command
This has been working perfectly for months, but I noticed from the logs that after the update its no longer working.
Here is the output from the GO script:
I found this in one of the debug logs of Sonarr also, but not sure if its related:
17-7-8 08:49:23.8|Debug|Api|[GET] /api/queue?sort_by=timeleft&order=asc: 200.OK (3 ms)
17-7-8 08:50:40.4|Debug|Api|[GET] /api/series: 303.SeeOther (0 ms)
17-7-8 08:50:40.5|Debug|Api|[GET] /api/series: 401.Unauthorized (0 ms)
I’ve checked the api key and it seems to match perfectly. I haven’t changed anything in any scripts. The only thing I did was update to the latest Sonarr.
Any advice much appreciated.