Unable to connect to Plex Media Server

Hi,
I am having difficulty connecting Sonarr to my Plex Media Server.

The PC that is running Plex is on a static IP so that is the value I am entering into the host field. Is that correct, or should I be entering the 127.0.0.1 (this is the value in the browser address bar, when viewing the plex server on the pc it is running on).

This is the error I am getting;

Unable to connect to Plex Server: Object reference not set to an instance of an object: Object reference not set to an instance of an object

System.NullReferenceException: Object reference not set to an instance of an object
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetTvSections (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00040] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:42
at NzbDrone.Core.Notifications.Plex.PlexService.GetSectionKeys (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00016] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexService.cs:65
at NzbDrone.Core.Notifications.Plex.PlexService.Test (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexService.cs:114

Please enable trace logging and pastebin the error with the response (should be above the error), should give us a bit more context. If you’ve upgraded Plex recently you will likely have to dd your myplex credentials in order for Sonarr to login successfully.

Hi,
I enabled trace logging, results below (let me know if I have not done this correctly):

I’m also not sure what you mean by myplex credentials. I have a logon for the Plex Media Server, and a separate logon for https://plex.tv.

Error Message:
Unable to connect to Plex Server: Object reference not set to an instance of an object: Object reference not set to an instance of an object
Error Exception:
System.NullReferenceException: Object reference not set to an instance of an object
at NzbDrone.Core.Notifications.Plex.PlexServerProxy.GetTvSections (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00040] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexServerProxy.cs:42
at NzbDrone.Core.Notifications.Plex.PlexService.GetSectionKeys (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00016] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexService.cs:65
at NzbDrone.Core.Notifications.Plex.PlexService.Test (NzbDrone.Core.Notifications.Plex.PlexServerSettings settings) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Plex\PlexService.cs:114

NzbDroneErrorPipeline:
Message:
Invalid request Validation failed:
– Unable to connect to Plex Server

Hi Markus,

I have solved this. I was having a blonde moment and didn’t have my static ip configured correctly, hence the ip I was typing into Sonarr was incorrect.

Thanks