Describe the bug
I have my plex server configured to Require SSL connections, with no manual certificate set.
In my browser I get a "connection not secure" message.
Medusa returns this error:
2018-10-16 21:45:53 WARNING Thread_22 :: [4614efc] PLEX: Error while trying to contact Plex Media Server: error b'HTTPSConnectionPool(host='192.168.178.106', port=32400): Max retries exceeded with url: /library/sections (Caused by SSLError(CertificateError("hostname '192.168.178.106' doesn't match '*.<stripped>.plex.direct'",),))'
2018-10-16 21:43:34 WARNING Thread_5 :: [4614efc] PLEX: Error while trying to contact Plex Media Server: error b'HTTPSConnectionPool(host='192.168.178.106', port=443): Max retries exceeded with url: /library/sections (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x14dd7f20f050>: Failed to establish a new connection: [Errno 111] Connection refused',))'
2018-10-16 21:43:33 WARNING Thread_10 :: [4614efc] PLEX: Error while trying to contact Plex Media Server: error b'HTTPSConnectionPool(host='192.168.178.106', port=443): Max retries exceeded with url: /library/sections (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x14dd7f20f7d0>: Failed to establish a new connection: [Errno 111] Connection refused',))'
2018-10-16 21:42:29 WARNING Thread_0 :: [4614efc] PLEX: Error while trying to contact Plex Media Server: error b'('Connection aborted.', BadStatusLine("''",))'
With no way seemingly for me to force the SSL connection to be used anyway.
My previous Sickrage installation (bevore echel0n took it over and I moved to medusa) did not have this issue, though the SSL issue was already present back then.
Medusa (please complete the following information):
Logs:
2018-10-16 21:45:53 WARNING Thread_22 :: [4614efc] PLEX: Error while trying to contact Plex Media Server: error b'HTTPSConnectionPool(host='192.168.178.106', port=32400): Max retries exceeded with url: /library/sections (Caused by SSLError(CertificateError("hostname '192.168.178.106' doesn't match '*.<stripped>.plex.direct'",),))'
2018-10-16 21:43:34 WARNING Thread_5 :: [4614efc] PLEX: Error while trying to contact Plex Media Server: error b'HTTPSConnectionPool(host='192.168.178.106', port=443): Max retries exceeded with url: /library/sections (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x14dd7f20f050>: Failed to establish a new connection: [Errno 111] Connection refused',))'
2018-10-16 21:43:33 WARNING Thread_10 :: [4614efc] PLEX: Error while trying to contact Plex Media Server: error b'HTTPSConnectionPool(host='192.168.178.106', port=443): Max retries exceeded with url: /library/sections (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x14dd7f20f7d0>: Failed to establish a new connection: [Errno 111] Connection refused',))'
2018-10-16 21:42:29 WARNING Thread_0 :: [4614efc] PLEX: Error while trying to contact Plex Media Server: error b'('Connection aborted.', BadStatusLine("''",))'
2019-01-09 20:51:15 WARNING Thread_5 :: [918cfe7] PLEX: Error while trying to contact Plex Media Server: Error: MaxRetryError('HTTPSConnectionPool(host=\'192.168.250.12\', port=32400): Max retries exceeded with url: /library/sections (Caused by SSLError(CertificateError("hostname \'192.168.250.12\' doesn\'t match \'*.52fa5b63593447c0ad7d84fda05fa505.plex.direct\'",),))',)
I am reporting the same issue.
I did a clean install it would work on the test but after i save and reboot it fails.
You can fix this by navigating to Settings -> General -> Advanced Settings tab -> uncheck "Verify SSL Certs"
@ChrisNelsonF5 Appreciate the workaround, however its not really a fix as it disables it for all sites, not just Plex.
Get a certificate or disable verification.
Most helpful comment
@ChrisNelsonF5 Appreciate the workaround, however its not really a fix as it disables it for all sites, not just Plex.