SSL Certificate Errors

@WillehMakkers

You are having some problems with your server.

Since January 6, you have consumed 27 certificates (about 1 every 2 days).
The pattern is very consistent.

I have reset the certificate for you but also believe you need take action to discover and correct the root cause.

Possible causes:

  1. File system where your metadata is stored is full. (default is /var/lib/plexmediaserver – root partition)

  2. File ownership and/or permissions in /var/lib/plexmediaserver (or wherever your metadata is stored) is prohibiting PMS from updating the stored certificate.

To correct this, if the filesystem isn’t full, I suggest the following actions.
(These are based on PMS defaults; edit as appropriate if you’ve customized your site configuration)

sudo bash
systemctl stop plexmediaserver
chown -R plex:plex /var/lib/plexmediaserver
find /var/lib/plexmediaserver -type d -exec chmod 755 {} \;
find /var/lib/plexmediaserver -type f -exec chmod 644 {} \;

Take any action(s) appropriate to remedy a full partition (move PMS?) if necessary

When complete, Start PMS.

1 Like

Thanks for the quick reply, file system wasn’t full but I had recently moved plex config files to a new drive which might have been the reason for the constant retrying.

I’ve tried the chown&chmod commands you suggested, is there a way for me to verify I’m no longer consuming certificates at such a high pace?

@WillehMakkers

Your system has already consumed 4 certificates in the past 10 hours.

Please share details of what you did / where you moved your APPLICATION_SUPPORT_DIR . Whatever you’re doing isn’t working.

Hmmm I Moved the Cache & Media folders to a separate drive using a symbolic link

Is there an easy way for me to reset this? If i wipe the folders entirely will plex recreate them for me?

@WillehMakkers

Moving pieces by symbolic links is A) Dangerous and B) not supported.
This is probably contributing to the problem.

The proper way to move (relocate) your Plex metadata is here:

If you want to start over, I recommend:

  1. Create the target directory in the new location to hold the metadata.
    a. Make certain the new directory is owned by plex:plex.

  2. sudo systemctl edit plexmediaserver as instructed in the above How To

  3. sudo systemctl daemon-reload to update the system’s knowledge of the config change.

  4. Open https://app.plex.tv/desktop
    a. Plex/web will load
    b. Settings - Authorized Devices (Upper left corner) - Server (dropdown)
    c. REMOVE the server you’re starting over
    d. Close the browser window

  5. Start Plex and setup again as new.

1 Like

Hey tried to fix my config, is it still consuming certificates? and is there a way for me to validate this myself?

Describe “Fix” ?

You used 3 certificates in 9 minutes yesterday.
Notice there is nothing listed for now.

I must log into Plex.tv and look at the server info .
This is not something you can do.

the fix i tried was to remove the symbolic links and move the folders back into /var/lib/plexmediaserver

If that still didn’t work I’ll try the full reset you recommended

Thanks for detailing.

Please check with me in a couple days and I’ll check again.

I just now checked Plex.tv.
No new certificates have been issued.

If you still want to move the data around, please feel free to use the Override File method I showed.

1 Like

@ChuckPa and team,

I’m guessing this is still something that’s happening? I am in the process of moving and disabled remote access for about three and a half weeks while I was staying in a temp place. Now that I’ve re-enabled it (back at my original place, same network and everything), I’m experiencing the same symptoms again. Rebooted my server because I always try that first. Any assistance would be greatly appreciated!

@jonnyatlas

I checked your certificate.

Everything is fine there.

Created: Thu, 27 Jan 2022 04:49:08 +0000	
Updated: Thu, 27 Jan 2022 04:49:19 +0000

May I see your logs please ?

Hello,

I can no longer access my server with an LG OLED65C7D-Z and the Plex app installed on the device. Even if I allow insecure connections, no connection can be established. I suspect it is also due to the SSL certificate. Can you renew it?

Hi
My mum has a 6 months old Samsung tv (i don’t have a software version, xan get it tomorrow if needed) and can’t play anything from my plex server. Just gives and unexpected error occurred. Same thing happens on my friends tv. His is a 2015 LG. Os there anything that can be done ro help ?
Thanks
D

@sdacompany
@tRix1

I don’t see any certificate errors at Plex.tv for either of you.

Can you both please get me the DEBUG logs ZIP file which captures what’s happening?

From there, I should be able to see if it’s a player certificate problem or something else.

@ChuckPa

Many thanks for the answer. Here is the zip file.
Just a reminder. I’m talking about the PLEX app on a LG OLED65C7D-Z Smart TV. Thanks.

Plex Media Server Logs_2022-04-12_15-21-15.zip (6.0 MB)

@ChuckPa can you check my cert? Currently getting this error from console while attempting to connect locally from the ios app:

CERT: incomplete TLS handshake from 192.168.3.10:53504: stream truncated

Thanks

hi
here is the logs. and a picture of the error on the TV


Plex Media Server Logs_2022-04-15_09-29-34.zip (3.4 MB)

@tRix1

Thanks for the logs.
Apologies for the delay.

In the LG app,

Settings - Advanced - Allow insecure connections -

  1. On same network if everything is on the same subnet
  2. Always if the tv is remote.

@Sierry

The certificate looks OK.

I reset it anyway.

Please restart the server

Hi
Did you have a chance to look at my logs?