After PMS 1.3 Update - Unable to connect to Plex Server

After updating to Plex Media Server 1.3 the Sonarr’s Plex Connect stopped working while Couchpotato worked fine. Reverted to PMS 1.2.7 and everything is back to normal.

PMS - on macOS 10.12.1
Sonarr - Synology DSM 6.0

Logs:
System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Where[TSource] (IEnumerable1 source, System.Func2 predicate) [0x0006a] in /home/bean/spksrc/native/mono/work-native/mono-4.2.2/external/referencesource/System.Core/System/Linq/Enumerable.cs:21
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetTvSections (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x0003a] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:47
at NzbDrone.Core.Notifications.Plex.PlexServerService.GetSections (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00016] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerService.cs:64
at NzbDrone.Core.Notifications.Plex.PlexServerService.Test (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00000] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerService.cs:152

Already fixed in develop.

1 Like

Great, thanks Markus!

Could you push this as a hotfix please?

Hello guys, just wanted to confirm this hasn’t been pushed yet! right?
Thanks

@markus101 hey mate, I have just checked my latest ver 2.0.0.4409 of sonarr. It’s showing that this update has been pushed already yet am still getting the same error.

Here is some logs.

Message

Unable to connect to Plex Server: Value cannot be null.
Parameter name: source: Value cannot be null.
Parameter name: source

Exception

System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Where[TSource] (IEnumerable1 source, System.Func2 predicate) <0x40825310 + 0x00247> in :0
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetTvSections (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x000aa] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:62
at NzbDrone.Core.Notifications.Plex.PlexServerService.GetSections (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00016] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerService.cs:64
at NzbDrone.Core.Notifications.Plex.PlexServerService.Test (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00000] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerService.cs:152

Any suggestions why it still happening to me, Thanks

Yep, it stopped working again with the latest PMS 1.3.2, reverted back to PMS 1.2.7 and it works fine now. Couldn’t find PMS 1.3.1 or 1.3.0.

@yegorh You can upgrade now to latest PMS 1.3.2.3112, I can confirm after upgrading to latest Sonarr 2.0.0.4427, Plex connect works perfectly fine.

Thanks Sonarr team, great work

I’m still having the same issue on a new install with the 2 versions mentioned above.

Works fine for me after the latest update.

If you’re still having issues please open a new thread, including ((trace logs)) and the Plex Media Server version you’re using. Without this information we cannot diagnose further.

Didn’t want to open a new thread since it was the same exact issue, just a slightly different setup. Running all on windows here.

System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Where[TSource](IEnumerable1 source, Func2 predicate)
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetTvSections(PlexServerSettings settings) in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:line 62
at NzbDrone.Core.Notifications.Plex.PlexServerService.GetSections(PlexServerSettings settings) in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerService.cs:line 69
at NzbDrone.Core.Notifications.Plex.PlexServerService.Test(PlexServerSettings settings) in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerService.cs:line 169

sonarr Version
2.0.0.4427

plex: Version 1.3.2.3112

Regardless of you opening a new thread, we’ll need the ((trace logs)) (they include the response from PMS), post the to pastebin//hastebin or similar not directly in the thread.

I’m having the same issue, here’s the trace. This seems to be relevant, the null reference occurs after this (once it tries to get the sections):

16-12-12 17:01:53.9|Debug|X509CertificateValidationPolicy|Certificate validation for https://plexserver.local:32400/library/sections failed. RemoteCertificateChainErrors

I do get certificate errors as well, and when I look at the certificate it was only issued on the 4th or 6th of this month, I’m not certain if that’s relevant or not.

PMS Version: 1.3.2.3112
Sonarr Version: 2.0.0.4427
Mono Version: 4.0.3 ((detached/d6946b4 Wed Jul 29 14:46:23 EDT 2015)

Note that from my Sonarr server I can navigate to the plex server’s web login page and login there successfullly so the servers are able to talk to each other over the default port.

The whole log:

http://www.hastebin.com/okuheduxac.rb

Please post the logs to an external site next time, this prevents them from being formatted and the thread filling up with long log files.

We’ll need to see ((trace logs)) so we can see the response from the server.

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