You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
Hi
I've just installed both sonarr and this plugin (thanks!) but having trouble with the plugin - attached is hopefully enough info from the log, but please let me know if I can supply or try anything.
Thanks
2015-05-16 09:42:01,029 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:42:01,030 (3721ff74700) : DEBUG (runtime:918) - Response: [500] 1370 bytes
2015-05-16 09:47:52,452 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr
2015-05-16 09:47:52,454 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr
2015-05-16 09:47:52,455 (3721ff74700) : DEBUG (base:117) - Checking if com.plexapp.plugins.sonarr is broken
2015-05-16 09:47:52,488 (3721ff74700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjYKY29tLnBsZXhhcHAucGx1Z2lucy5zb25hcnJzMTAKaWRlbnRpZmllcnIwCg__'
2015-05-16 09:47:52,498 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:47:52,498 (3721ff74700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1487 bytes
2015-05-16 09:47:58,891 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr
2015-05-16 09:47:58,893 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr
2015-05-16 09:47:58,894 (3721ff74700) : DEBUG (base:117) - Checking if com.plexapp.plugins.sonarr is broken
2015-05-16 09:47:58,895 (3721ff74700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjYKY29tLnBsZXhhcHAucGx1Z2lucy5zb25hcnJzMTAKaWRlbnRpZmllcnIwCg__'
2015-05-16 09:47:58,904 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:47:58,904 (3721ff74700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1487 bytes
2015-05-16 09:47:59,056 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr/series
2015-05-16 09:47:59,058 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr/series
2015-05-16 09:47:59,916 (3721ff74700) : CRITICAL (runtime:883) - Exception (most recent call last):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
result = f(*_d)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sonarr.bundle/Contents/Code/init.py", line 56, in Series
for series in sorted(r.json(), key=lambda x: x['sortTitle']):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sonarr.bundle/Contents/Libraries/Shared/requests/models.py", line 799, in json
return json.loads(self.text, *_kwargs)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/init.py", line 488, in loads
return _default_decoder.decode(s)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/decoder.py", line 389, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2015-05-16 09:47:59,918 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:47:59,918 (3721ff74700) : DEBUG (runtime:918) - Response: [500] 1404 bytes
2015-05-16 09:48:30,047 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr
2015-05-16 09:48:30,049 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr
2015-05-16 09:48:30,050 (3721ff74700) : DEBUG (base:117) - Checking if com.plexapp.plugins.sonarr is broken
2015-05-16 09:48:30,051 (3721ff74700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjYKY29tLnBsZXhhcHAucGx1Z2lucy5zb25hcnJzMTAKaWRlbnRpZmllcnIwCg__'
2015-05-16 09:48:30,357 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:48:30,358 (3721ff74700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1487 bytes
2015-05-16 09:48:31,991 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr
2015-05-16 09:48:31,993 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr
2015-05-16 09:48:31,995 (3721ff74700) : DEBUG (base:117) - Checking if com.plexapp.plugins.sonarr is broken
2015-05-16 09:48:31,995 (3721ff74700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjYKY29tLnBsZXhhcHAucGx1Z2lucy5zb25hcnJzMTAKaWRlbnRpZmllcnIwCg__'
2015-05-16 09:48:32,006 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:48:32,006 (3721ff74700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1487 bytes
2015-05-16 09:48:32,360 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr/calendar
2015-05-16 09:48:32,361 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr/calendar
2015-05-16 09:48:32,412 (3721ff74700) : CRITICAL (runtime:883) - Exception (most recent call last):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
result = f(*_d)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sonarr.bundle/Contents/Code/init.py", line 560, in Calendar
for episode in r.json():
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sonarr.bundle/Contents/Libraries/Shared/requests/models.py", line 799, in json
return json.loads(self.text, *_kwargs)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/init.py", line 488, in loads
return _default_decoder.decode(s)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/decoder.py", line 389, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
EDIT: Fixed my issue changing Sonarr's Authentication from "Forms (Login Page)" to "Basic (Browser popup)", and then modifying Sonarr Plug-in authentication inside Plex to "Basic". Hope that helps anyone.
Hmm.. selecting Forms or Basic in Sonarr's settings shouldn't matter (in terms of this plugin) so long as you've provided the API Key. Having the correct API Key by-passes those settings and is what the api-key is meant for. So, weird how that fixes your issue. I might have to look into why..
The authentication settings for username/password/basic in this plugin's settings are really meant for reverse proxies protected with username/password. Which is why you would possibly need to provide both API-Key (authenticate against Sonarr) and username/password (authenticate against the reverse proxy in apache or nginx).
alexrengel: Thank you so much !! This has been driving me nuts. I had form fill and changed to basic and then entered auth in the plugin on basic also. That is the only combination that has worked. I do have the api key and tried generating new ones with no resolution.
Hi
I've just installed both sonarr and this plugin (thanks!) but having trouble with the plugin - attached is hopefully enough info from the log, but please let me know if I can supply or try anything.
Thanks
2015-05-16 09:42:01,029 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:42:01,030 (3721ff74700) : DEBUG (runtime:918) - Response: [500] 1370 bytes
2015-05-16 09:47:52,452 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr
2015-05-16 09:47:52,454 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr
2015-05-16 09:47:52,455 (3721ff74700) : DEBUG (base:117) - Checking if com.plexapp.plugins.sonarr is broken
2015-05-16 09:47:52,488 (3721ff74700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjYKY29tLnBsZXhhcHAucGx1Z2lucy5zb25hcnJzMTAKaWRlbnRpZmllcnIwCg__'
2015-05-16 09:47:52,498 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:47:52,498 (3721ff74700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1487 bytes
2015-05-16 09:47:58,891 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr
2015-05-16 09:47:58,893 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr
2015-05-16 09:47:58,894 (3721ff74700) : DEBUG (base:117) - Checking if com.plexapp.plugins.sonarr is broken
2015-05-16 09:47:58,895 (3721ff74700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjYKY29tLnBsZXhhcHAucGx1Z2lucy5zb25hcnJzMTAKaWRlbnRpZmllcnIwCg__'
2015-05-16 09:47:58,904 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:47:58,904 (3721ff74700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1487 bytes
2015-05-16 09:47:59,056 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr/series
2015-05-16 09:47:59,058 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr/series
2015-05-16 09:47:59,916 (3721ff74700) : CRITICAL (runtime:883) - Exception (most recent call last):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
result = f(*_d)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sonarr.bundle/Contents/Code/init.py", line 56, in Series
for series in sorted(r.json(), key=lambda x: x['sortTitle']):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sonarr.bundle/Contents/Libraries/Shared/requests/models.py", line 799, in json
return json.loads(self.text, *_kwargs)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/init.py", line 488, in loads
return _default_decoder.decode(s)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/decoder.py", line 389, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2015-05-16 09:47:59,918 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:47:59,918 (3721ff74700) : DEBUG (runtime:918) - Response: [500] 1404 bytes
2015-05-16 09:48:30,047 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr
2015-05-16 09:48:30,049 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr
2015-05-16 09:48:30,050 (3721ff74700) : DEBUG (base:117) - Checking if com.plexapp.plugins.sonarr is broken
2015-05-16 09:48:30,051 (3721ff74700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjYKY29tLnBsZXhhcHAucGx1Z2lucy5zb25hcnJzMTAKaWRlbnRpZmllcnIwCg__'
2015-05-16 09:48:30,357 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:48:30,358 (3721ff74700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1487 bytes
2015-05-16 09:48:31,991 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr
2015-05-16 09:48:31,993 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr
2015-05-16 09:48:31,995 (3721ff74700) : DEBUG (base:117) - Checking if com.plexapp.plugins.sonarr is broken
2015-05-16 09:48:31,995 (3721ff74700) : DEBUG (networking:172) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X1N0b3JlU2VydmljZTpJc0NoYW5uZWxCcm9rZW4_/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoxCmRpY3QKMQpzMjYKY29tLnBsZXhhcHAucGx1Z2lucy5zb25hcnJzMTAKaWRlbnRpZmllcnIwCg__'
2015-05-16 09:48:32,006 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:48:32,006 (3721ff74700) : DEBUG (runtime:918) - Response: [200] MediaContainer, 1487 bytes
2015-05-16 09:48:32,360 (3721ff74700) : DEBUG (runtime:717) - Handling request GET /video/sonarr/calendar
2015-05-16 09:48:32,361 (3721ff74700) : DEBUG (runtime:814) - Found route matching /video/sonarr/calendar
2015-05-16 09:48:32,412 (3721ff74700) : CRITICAL (runtime:883) - Exception (most recent call last):
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
result = f(*_d)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sonarr.bundle/Contents/Code/init.py", line 560, in Calendar
for episode in r.json():
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sonarr.bundle/Contents/Libraries/Shared/requests/models.py", line 799, in json
return json.loads(self.text, *_kwargs)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/init.py", line 488, in loads
return _default_decoder.decode(s)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/site-packages/simplejson/decoder.py", line 389, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2015-05-16 09:48:32,413 (3721ff74700) : DEBUG (runtime:106) - Sending packed state data (107 bytes)
2015-05-16 09:48:32,413 (3721ff74700) : DEBUG (runtime:918) - Response: [500] 1370 bytes
http://pastebin.com/Zfd2TSDq
The text was updated successfully, but these errors were encountered: