Unable to add Plex Media Server for notifications

Have made sure several times the username and password I am using is correct, and despite that I still get the following error on testing:

16-1-18 20:43:38.1|Debug|PlexServerService|Getting sections from Plex host: 127.0.0.1
16-1-18 20:43:38.1|Debug|PlexServerProxy|Authentication Response: 
16-1-18 20:43:38.1|Trace|PlexServerProxy|Checking for error
16-1-18 20:43:38.1|Trace|PlexServerProxy|No error detected
16-1-18 20:43:38.1|Error|PlexServerService|Unable to connect to Plex Server: Error reading JObject from JsonReader. Path '', line 0, position 0.

Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path '', line 0, position 0.
  at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader) <0x7cd5cb8 + 0x0022f> in <filename unknown>:0 
  at Newtonsoft.Json.Linq.JObject.Parse (System.String json) <0x7cd5b98 + 0x0006b> in <filename unknown>:0 
  at NzbDrone.Core.Notifications.Plex.PlexServerProxy.Authenticate (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00046] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:131 
  at NzbDrone.Core.Notifications.Plex.PlexServerProxy+<>c__DisplayClass3.<GetAuthenticationToken>b__2 () [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:180 
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1 function, Nullable`1 lifeTime) [0x00060] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Cache\Cached.cs:87 
  at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetAuthenticationToken (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00014] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:180 
  at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetPlexServerRequest (System.String resource, Method method, NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00026] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:172 
  at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetTvSections (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:40 
  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 

16-1-18 20:43:38.1|Trace|NzbDroneErrorPipeline|Handling Exception
16-1-18 20:43:38.1|Warn|NzbDroneErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to Plex Server

Running Plex Version 0.9.15.1 and Sonarr 2.0.0.3732.

Authentication uses plex.tv, are you able to log in using the credentials entered there as well?

Hello!

I have used my e-mail address and password combination (which works on plex.tv), as well as the username and password combination that works on http://127.0.0.1:32400/web/index.html

The issue looks to have been communicating with plex.tv’s API. Do you still experience the issue?

Just tested with both sets of credentials, still having the issue.

I did notice in my testing that even entering junk for the credentials resulted in the same error being logged.

I’m also experiencing this issue as well. Here’s a copy of my Sonarr log below. I use 1password for my Plex authentication and it’s working fine on plex.tv.

[code]16-1-23 12:09:56.9|Debug|PlexServerService|Getting sections from Plex host: 192.168.0.1
16-1-23 12:09:56.9|Debug|PlexServerProxy|Authentication Response:
16-1-23 12:09:56.9|Trace|PlexServerProxy|Checking for error
16-1-23 12:09:56.9|Trace|PlexServerProxy|No error detected
16-1-23 12:09:56.9|Error|PlexServerService|Unable to connect to Plex Server: Error reading JObject from JsonReader. Path ‘’, line 0, position 0.

Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Path ‘’, line 0, position 0.
at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader) <0x4096edb0 + 0x002eb> in :0
at Newtonsoft.Json.Linq.JObject.Parse (System.String json) <0x4096ec80 + 0x00077> in :0
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.Authenticate (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) <0x4096e490 + 0x000cf> in :0
at NzbDrone.Core.Notifications.Plex.PlexServerProxy+<>c__DisplayClass3.b__2 () <0x4096e460 + 0x00017> in :0
at NzbDrone.Common.Cache.Cached1[T].Get (System.String key, System.Func1 function, Nullable`1 lifeTime) <0x40561790 + 0x0020a> in :0
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetAuthenticationToken (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) <0x4096e1f0 + 0x001b9> in :0
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetPlexServerRequest (System.String resource, Method method, NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) <0x4096e080 + 0x0009f> in :0
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetTvSections (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) <0x4096dec0 + 0x00027> in :0
at NzbDrone.Core.Notifications.Plex.PlexServerService.GetSections (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) <0x4096de00 + 0x0004c> in :0
at NzbDrone.Core.Notifications.Plex.PlexServerService.Test (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) <0x4096dbb0 + 0x00037> in :0

16-1-23 12:09:56.9|Trace|NzbDroneErrorPipeline|Handling Exception
16-1-23 12:09:56.9|Warn|NzbDroneErrorPipeline|Invalid request Validation failed:
– Unable to connect to Plex Server[/code]

Just tried again, and it worked fine.

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