PMS Connection Not Working When Secure Connections Are Required In Plex


Sonarr version (exact version):
Mono version (if Sonarr is not running on Windows):
OS: Docker
Debug Logs:
Description of issue: Connections to PMS do not work when Plex is set to require secure connections. I’ve added my debug log but removed my client id and token from the URL.

Note: I am using the default Plex cert, I am not using my own certificate in Plex. Someone else is not having this issue using their own cert. I suspect this might have to do with the URL formatting, it does not appear to use the plex direct address when I have it set to required.

Steps taken:

  1. Open PMS connection configuration modal (change nothing)
  2. Test with Plex set to preferred, no issues
  3. Change Plex to required
  4. Test again, fails


You need to tell Sonarr to connect over https… with Use SSL in Sonarr’s PMS settings. If you use localhost or the certificate validation will fail unless you turn off certificate validate for local addresses in Sonarr.


I tried that but had the same issues. I’ve tried using the actual server IP of as well as the internal container IP in Docker of Both with and without SSL still fails.

I have not tampered with certificate validation in Sonarr but based on your answer it seems like I shouldn’t have to for my test cases.


Unless you’re using a valid hostname that is listed in the certificate you will need to disable certificate validation for local addresses.


Was there a update recently in Sonarr that changed this behavior? I’m fine with making these changes I just didn’t need them previously.

Edit: Just as a follow up I’ve done what you’ve said and it worked.


Yes, that changed a few weeks ago in the v3 alpha.

closed #7

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