Sonarr will not Connect to PLEX running On my Router

Sonarr version (exact version): 3.0.1.418
Mono version (if Sonarr is not running on Windows):N/A
OS: Windows 10
Debug logs:
Description of issue: So i currently am running 2 PLEX Media Servers, PMS1 is on My Windows 10 PC (Main for others to use) the PMS2 is on my Nighthawk X10 (Backup in case main goes down) I have everything setup with PMS1 fine, but when i goto Settings>Connect and try to add the PMS2 with the ip of 192.168.1.1 i get a message “Unable to connect to Plex Server”. If i type 192.168.1.1:32400 it will open up for me in Chrome.

Is it because its brand new and updating content?
Is there something i else i need to do?

Each PMS has is own email that it connect to to be completely seperate from each other

Thanks for any help
TNC

Here is a screen capture of what I see when i try.

Can anyone not help me its been almost a week with no replies

What do the debug logs show?

I’m having a similar issue.

Sonarr version (exact version) : 3.0.1.430
OS : Windows 10

Trace Log


[v3.0.1.430] NzbDrone.Core.Notifications.Plex.PlexException: Unable to connect to Plex Media Server
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerProxy.ProcessRequest(HttpRequestBuilder requestBuilder) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerProxy.cs:line 198
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerProxy.GetTvSections(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerProxy.cs:line 39
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerService.GetSections(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerService.cs:line 68
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerService.Test(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerService.cs:line 164

19-4-10 15:19:18.1|Trace|SonarrErrorPipeline|Handling Exception
19-4-10 15:19:18.1|Warn|SonarrErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to Plex Server
19-4-10 15:19:18.2|Trace|Http|Res: 4151 [POST] /api/v3/notification/test: 400.BadRequest (1340 ms)

Debug Log

19-4-10 15:17:21.4|Warn|SonarrErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to Plex Server
19-4-10 15:17:21.4|Debug|Api|[POST] /api/v3/notification/test: 400.BadRequest (1084 ms)
19-4-10 15:17:22.8|Debug|Api|[POST] /api/v3/notification/action/startOAuth?callbackUrl=https%3A%2F%2FTLD.EXAMPLE.TLD%2Foauth.html: 200.OK (7 ms)
19-4-10 15:17:23.1|Debug|Api|[POST] /api/v3/notification/action/continueOAuth?id=1379523069&code=bjzrvs317xmfnku8jeed0j41q&trusted=false&clientIdentifier=6ebefdc4-f047-465e-905b-26a160a7e09c&location=%5Bobject%20Object%5D&expiresIn=1799&createdAt=2019-04-10T20%3A17%3A22.396Z&expiresAt=2019-04-10T20%3A47%3A22.392Z&authToken=&callbackUrl=https%3A%2F%2FTLD.EXAMPLE.TLD%2Foauth.html: 200.OK (5 ms)
19-4-10 15:17:25.9|Debug|PlexTvProxy|Url: https://plex.tv/api/v2/pins/1379523069?X-Plex-Client-Identifier=6ebefdc4-f047-465e-905b-26a160a7e09c&X-Plex-Product=Sonarr&X-Plex-Platform=Windows&X-Plex-Platform-Version=7&X-Plex-Device-Name=Sonarr&X-Plex-Version=3.0.1.430
19-4-10 15:17:26.5|Debug|Api|[POST] /api/v3/notification/action/getOAuthToken?oauthUrl=https%3A%2F%2Fapp.plex.tv%2Fauth%2F%23!%3FclientID%3D6ebefdc4-f047-465e-905b-26a160a7e09c%26forwardUrl%3Dhttps%253A%252F%252FTLD.EXAMPLE.TLD%252Foauth.html%26code%3Dbjzrvs317xmfnku8jeed0j41q%26context%255Bdevice%255D%255Bproduct%255D%3DSonarr%26context%255Bdevice%255D%255Bplatform%255D%3DWindows%26context%255Bdevice%255D%255BplatformVersion%255D%3D7%26context%255Bdevice%255D%255Bversion%255D%3D3.0.1.430&pinId=1379523069: 200.OK (638 ms)
19-4-10 15:17:28.6|Debug|PlexServerService|Getting sections from Plex host: localhost
19-4-10 15:17:28.6|Debug|PlexServerProxy|Url: https://localhost:32400/library/sections?X-Plex-Client-Identifier=6ebefdc4-f047-465e-905b-26a160a7e09c&X-Plex-Product=Sonarr&X-Plex-Platform=Windows&X-Plex-Platform-Version=7&X-Plex-Device-Name=Sonarr&X-Plex-Version=3.0.1.430&X-Plex-Token=EAvLqD7uswmuMFzEhmzh
19-4-10 15:17:29.6|Error|PlexServerService|Unable to connect to Plex Server

[v3.0.1.430] NzbDrone.Core.Notifications.Plex.PlexException: Unable to connect to Plex Media Server
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerProxy.ProcessRequest(HttpRequestBuilder requestBuilder) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerProxy.cs:line 198
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerProxy.GetTvSections(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerProxy.cs:line 39
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerService.GetSections(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerService.cs:line 68
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerService.Test(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerService.cs:line 164

19-4-12 04:42:32.1|Error|PlexServerService|Unable to connect to Plex Server

[v3.0.1.439] NzbDrone.Core.Notifications.Plex.PlexException: Unable to connect to Plex Media Server
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerProxy.ProcessRequest(HttpRequestBuilder requestBuilder) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerProxy.cs:line 198
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerProxy.GetTvSections(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerProxy.cs:line 39
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerService.GetSections(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerService.cs:line 68
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerService.Test(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerService.cs:line 164

19-4-12 04:42:32.2|Warn|SonarrErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to Plex Server

This is my Debug

Not seeing any debug messages there, this is just the error and a validation warning being logged.

Assuming Secure connections are allow on the PMS side (they are preferred by default) I don’t see any issues with this request, but unfortunately the logs don’t indicate if it failed due to an error response from PMS or something else, we’ll have to add more logging for that.

Here is the new debug from today/
Clear old files started new and tried and this is what it came up with:

19-4-13 07:45:15.6|Debug|Api|[GET] /api/v3/log/file: 200.OK (2 ms)
19-4-13 07:45:20.0|Debug|Api|[GET] /api/v3/config/host: 200.OK (3 ms)
19-4-13 07:45:22.6|Debug|Api|[GET] /api/v3/notification: 200.OK (5 ms)
19-4-13 07:45:23.5|Debug|Api|[GET] /api/v3/notification/schema: 200.OK (2 ms)
19-4-13 07:45:44.1|Debug|Api|[POST] /api/v3/notification/action/startOAuth?callbackUrl=http%3A%2F%2Flocalhost%3A8989%2Foauth.html: 200.OK (39 ms)
19-4-13 07:45:44.8|Debug|Api|[POST] /api/v3/notification/action/continueOAuth?id=384702811&code=y9i7x5eh0kv51lm3zivrlh7hk&trusted=false&clientIdentifier=7f9a3b99-168e-428d-8861-28e4e02a7c27&location=%5Bobject%20Object%5D&expiresIn=1799&createdAt=2019-04-13T14%3A45%3A43.059Z&expiresAt=2019-04-13T15%3A15%3A43.057Z&authToken=&callbackUrl=http%3A%2F%2Flocalhost%3A8989%2Foauth.html: 200.OK (18 ms)
19-4-13 07:45:49.5|Debug|PlexTvProxy|Url: https://plex.tv/api/v2/pins/384702811?X-Plex-Client-Identifier=7f9a3b99-168e-428d-8861-28e4e02a7c27&X-Plex-Product=Sonarr&X-Plex-Platform=Windows&X-Plex-Platform-Version=7&X-Plex-Device-Name=Sonarr&X-Plex-Version=3.0.1.441
19-4-13 07:45:51.8|Debug|Api|[POST] /api/v3/notification/action/getOAuthToken?oauthUrl=https%3A%2F%2Fapp.plex.tv%2Fauth%2F%23!%3FclientID%3D7f9a3b99-168e-428d-8861-28e4e02a7c27%26forwardUrl%3Dhttp%253A%252F%252Flocalhost%253A8989%252Foauth.html%26code%3Dy9i7x5eh0kv51lm3zivrlh7hk%26context%255Bdevice%255D%255Bproduct%255D%3DSonarr%26context%255Bdevice%255D%255Bplatform%255D%3DWindows%26context%255Bdevice%255D%255BplatformVersion%255D%3D7%26context%255Bdevice%255D%255Bversion%255D%3D3.0.1.441&pinId=384702811: 200.OK (2220 ms)
19-4-13 07:45:53.4|Debug|PlexServerService|Getting sections from Plex host: 192.168.1.3
19-4-13 07:45:53.4|Debug|PlexServerProxy|Url: http://192.168.1.3:32400/library/sections?X-Plex-Client-Identifier=7f9a3b99-168e-428d-8861-28e4e02a7c27&X-Plex-Product=Sonarr&X-Plex-Platform=Windows&X-Plex-Platform-Version=7&X-Plex-Device-Name=Sonarr&X-Plex-Version=3.0.1.441&X-Plex-Token=mhbSaZALt5vu24AsE27q
19-4-13 07:46:05.1|Debug|Parser|Parsing string 'The Ranch Season 2  (1080p x265 10bit FS93 Joy)'
19-4-13 07:46:05.1|Debug|Parser|Episode Parsed. The Ranch - Season 02 
19-4-13 07:46:05.1|Debug|Parser|Language parsed: English
19-4-13 07:46:05.1|Debug|QualityParser|Trying to parse quality for The Ranch Season 2  (1080p x265 10bit FS93 Joy)
19-4-13 07:46:05.1|Debug|Parser|Quality parsed: HDTV-1080p v1
19-4-13 07:46:05.1|Debug|Parser|Release Group parsed: 
19-4-13 07:46:05.1|Debug|Parser|Parsing string 'Good.Witch.S03.1080p.AMZN.WEBRip.DDP5.1.x264-TrollHD[rartv]'
19-4-13 07:46:05.1|Debug|Parser|Episode Parsed. Good Witch - Season 03 
19-4-13 07:46:05.1|Debug|Parser|Language parsed: English
19-4-13 07:46:05.1|Debug|QualityParser|Trying to parse quality for Good.Witch.S03.1080p.AMZN.WEBRip.DDP5.1.x264-TrollHD[rartv]
19-4-13 07:46:05.1|Debug|Parser|Quality parsed: WEBRip-1080p v1
19-4-13 07:46:05.2|Debug|Parser|Release Group parsed: TrollHD
19-4-13 07:46:05.2|Debug|Parser|Parsing string 'Happy.S01.1080p.AMZN.WEBRip.x265.HEVC.6CH-MRN'
19-4-13 07:46:05.2|Debug|Parser|Episode Parsed. Happy - Season 01 
19-4-13 07:46:05.2|Debug|Parser|Language parsed: English
19-4-13 07:46:05.2|Debug|QualityParser|Trying to parse quality for Happy.S01.1080p.AMZN.WEBRip.x265.HEVC.6CH-MRN
19-4-13 07:46:05.2|Debug|Parser|Quality parsed: WEBRip-1080p v1
19-4-13 07:46:05.2|Debug|Parser|Release Group parsed: MRN
19-4-13 07:47:33.4|Error|PlexServerService|Unable to connect to Plex Server

[v3.0.1.441] NzbDrone.Core.Notifications.Plex.PlexException: Unable to connect to Plex Media Server ---> System.Net.WebException: The request was aborted: The operation has timed out.
   at System.Net.HttpWebRequest.GetResponse()
   at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:line 100
   at NzbDrone.Common.Http.Dispatchers.FallbackHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\Dispatchers\FallbackHttpDispatcher.cs:line 53
   at NzbDrone.Common.Http.HttpClient.ExecuteRequest(HttpRequest request, CookieContainer cookieContainer) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\HttpClient.cs:line 121
   at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Http\HttpClient.cs:line 57
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerProxy.ProcessRequest(HttpRequestBuilder requestBuilder) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerProxy.cs:line 185
   --- End of inner exception stack trace ---
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerProxy.ProcessRequest(HttpRequestBuilder requestBuilder) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerProxy.cs:line 198
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerProxy.GetTvSections(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerProxy.cs:line 39
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerService.GetSections(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerService.cs:line 68
   at NzbDrone.Core.Notifications.Plex.Server.PlexServerService.Test(PlexServerSettings settings) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Notifications\Plex\Server\PlexServerService.cs:line 164

19-4-13 07:47:34.0|Warn|SonarrErrorPipeline|Invalid request Validation failed: 
 -- Unable to connect to Plex Server
19-4-13 07:47:34.0|Debug|Api|[POST] /api/v3/notification: 400.BadRequest (100587 ms)
19-4-13 07:47:35.2|Debug|Parser|Parsing string 'Good.Witch.S03.1080p.AMZN.WEBRip.DDP5.1.x264-TrollHD[rartv]'
19-4-13 07:47:35.2|Debug|Parser|Episode Parsed. Good Witch - Season 03 
19-4-13 07:47:35.2|Debug|Parser|Language parsed: English
19-4-13 07:47:35.2|Debug|QualityParser|Trying to parse quality for Good.Witch.S03.1080p.AMZN.WEBRip.DDP5.1.x264-TrollHD[rartv]
19-4-13 07:47:35.2|Debug|Parser|Quality parsed: WEBRip-1080p v1
19-4-13 07:47:35.2|Debug|Parser|Release Group parsed: TrollHD
19-4-13 07:47:35.3|Debug|Parser|Parsing string 'The Ranch Season 2  (1080p x265 10bit FS93 Joy)'
19-4-13 07:47:35.3|Debug|Parser|Episode Parsed. The Ranch - Season 02 
19-4-13 07:47:35.3|Debug|Parser|Language parsed: English
19-4-13 07:47:35.3|Debug|QualityParser|Trying to parse quality for The Ranch Season 2  (1080p x265 10bit FS93 Joy)
19-4-13 07:47:35.3|Debug|Parser|Quality parsed: HDTV-1080p v1
19-4-13 07:47:35.3|Debug|Parser|Release Group parsed: 
19-4-13 07:47:35.4|Debug|Parser|Parsing string 'Happy.S01.1080p.AMZN.WEBRip.x265.HEVC.6CH-MRN'
19-4-13 07:47:35.4|Debug|Parser|Episode Parsed. Happy - Season 01 
19-4-13 07:47:35.4|Debug|Parser|Language parsed: English
19-4-13 07:47:35.4|Debug|QualityParser|Trying to parse quality for Happy.S01.1080p.AMZN.WEBRip.x265.HEVC.6CH-MRN
19-4-13 07:47:35.4|Debug|Parser|Quality parsed: WEBRip-1080p v1
19-4-13 07:47:35.4|Debug|Parser|Release Group parsed: MRN
19-4-13 07:47:59.7|Debug|Api|[GET] /api/v3/health: 200.OK (1 ms)
19-4-13 07:47:59.7|Debug|Api|[GET] /api/v3/system/status: 200.OK (5 ms)
19-4-13 07:48:00.1|Debug|Api|[GET] /api/v3/diskspace: 200.OK (441 ms)
19-4-13 07:48:01.4|Debug|Api|[GET] /api/v3/log/file: 200.OK (1 ms)

OK so i was looking and seen the word “proxy” and yes I use a proxy for it but once i uncheck the proxy it allowed me to add the remote connect.

is it my proxy or sonarr having issues using a proxy?

EDIT: Also if i bypass the NAS’s IP it with the proxy on it allows me to save/create it.

The “proxy” you see in the logs is just the name of the file in Sonarr’s code.

Based on what you’ve said, it sounds like the proxy is the issue and bypassing it for that IP is what you’ll need to do.

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