Unable to create Plex Media Server connection

Sonarr version (exact version):
2.0.0.4517 (develop branch)
OS:
Windows 10 x64
Description of issue:
I’ve seen other threads on this issue with similar logs, but despite having the most recent develop version I still can’t connect Sonarr to my Plex server after a fresh install of Sonarr. Below are the logs of me testing a potential connection, once with SSL on because I wasn’t sure if that was the issure.
((Trace logs)):

17-1-16 04:28:04.2|Trace|Http|Req: 102 [POST] /api/notification/test
17-1-16 04:28:04.2|Debug|PlexServerService|Getting sections from Plex host: localhost
17-1-16 04:28:05.3|Trace|PlexServerProxy|Sections response: {"MediaContainer":{"size":0,"allowSync":false,"identifier":"com.plexapp.plugins.library","mediaTagPrefix":"/system/bundle/media/flags/","mediaTagVersion":1481827022,"title1":"Plex Library"}}
17-1-16 04:28:05.3|Trace|PlexServerProxy|Checking for error
17-1-16 04:28:05.3|Trace|PlexServerProxy|No error detected
17-1-16 04:28:05.3|Error|PlexServerService|Unable to connect to Plex Server

[v2.0.0.4517] System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 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

17-1-16 04:28:05.3|Trace|NzbDroneErrorPipeline|Handling Exception
17-1-16 04:28:05.3|Warn|NzbDroneErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to Plex Server
17-1-16 04:28:05.3|Trace|Http|Res: 102 [POST] /api/notification/test: 400.BadRequest (1117 ms)
17-1-16 04:28:05.4|Debug|Api|[POST] /api/notification/test: 400.BadRequest (1117 ms)
17-1-16 04:28:07.7|Trace|Http|Req: 103 [POST] /api/notification/test
17-1-16 04:28:07.7|Debug|PlexServerService|Getting sections from Plex host: localhost
17-1-16 04:28:08.7|Debug|X509CertificateValidationPolicy|Certificate validation for https://localhost:32400/library/sections failed. RemoteCertificateNameMismatch
17-1-16 04:28:08.7|Trace|PlexServerProxy|Sections response: {"MediaContainer":{"size":0,"allowSync":false,"identifier":"com.plexapp.plugins.library","mediaTagPrefix":"/system/bundle/media/flags/","mediaTagVersion":1481827022,"title1":"Plex Library"}}
17-1-16 04:28:08.7|Trace|PlexServerProxy|Checking for error
17-1-16 04:28:08.7|Trace|PlexServerProxy|No error detected
17-1-16 04:28:08.8|Error|PlexServerService|Unable to connect to Plex Server

[v2.0.0.4517] System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 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

17-1-16 04:28:08.8|Trace|NzbDroneErrorPipeline|Handling Exception
17-1-16 04:28:08.8|Warn|NzbDroneErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to Plex Server
17-1-16 04:28:08.8|Trace|Http|Res: 103 [POST] /api/notification/test: 400.BadRequest (1151 ms)
17-1-16 04:28:08.8|Debug|Api|[POST] /api/notification/test: 400.BadRequest (1151 ms)
17-1-16 04:28:10.3|Trace|Http|Req: 104 [POST] /api/notification
17-1-16 04:28:10.3|Debug|PlexServerService|Getting sections from Plex host: localhost
17-1-16 04:28:10.3|Trace|PlexServerProxy|Sections response: {"MediaContainer":{"size":0,"allowSync":false,"identifier":"com.plexapp.plugins.library","mediaTagPrefix":"/system/bundle/media/flags/","mediaTagVersion":1481827022,"title1":"Plex Library"}}
17-1-16 04:28:10.3|Trace|PlexServerProxy|Checking for error
17-1-16 04:28:10.3|Trace|PlexServerProxy|No error detected
17-1-16 04:28:10.3|Error|PlexServerService|Unable to connect to Plex Server

[v2.0.0.4517] System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 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

17-1-16 04:28:10.3|Trace|NzbDroneErrorPipeline|Handling Exception
17-1-16 04:28:10.3|Warn|NzbDroneErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to Plex Server

Which version of PMS is Sonarr trying to connect to?
Do you already have a TV Shows Library setup in Plex?

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