Can't add Libraries and seeing certificate errors in the plex log file

Server Version#:1.31.1.6733
Player Version#:4.100.1
OS: Ubuntu 22.04 running under VMware 6.7u3.
I have recently had to reinstall the VM that my Plex server is running on, and installed and I can connect to it, but when I try to add my Libraries back in it says Your changes could not be saved. If I look at the server log files I’m seeing certificate errors.

Feb 27, 2023 15:09:43.743 [0x7f4d1e1f6b38] DEBUG - CERT: incomplete TLS handshake from [::ffff:192.168.118.26]:55502: sslv3 alert certificate unknown
Feb 27, 2023 15:09:43.743 [0x7f4d1e1f6b38] WARN - [CERT] TLS connection from [::ffff:192.168.119.1]:55503 came in with unrecognized plex.direct SNI name ‘66-216-245-255.e818b9ece0404e9db0a225eddbabbff2.plex.direct’; using installed plex.direct cert
Feb 27, 2023 15:09:43.747 [0x7f4d1c7acb38] DEBUG - Request: [192.168.119.1:55506 (Subnet)] GET /media/providers (10 live) #1590 GZIP Signed-in Token (chrisjessessky) (DESKTOP-C1DI41T)
Feb 27, 2023 15:09:43.750 [0x7f4d1dff3b38] DEBUG - Completed: [192.168.118.26:55504] 200 GET /media/providers (10 live) #158f GZIP 8ms 3421 bytes (pipelined: 1)
Feb 27, 2023 15:09:43.751 [0x7f4d1dff3b38] DEBUG - Completed: [192.168.119.1:55506] 200 GET /media/providers (10 live) #1590 GZIP 5ms 3421 bytes (pipelined: 1)
Feb 27, 2023 15:09:43.753 [0x7f4d1e1f6b38] DEBUG - CERT: incomplete TLS handshake from [::ffff:192.168.119.1]:55503: sslv3 alert certificate unknown

Any help would be appreciated.

Thanks

You have four Identically Named servers. That will confuse the heck out of anyone (and plex/web)

Some are SNAP app installs (from the Ubuntu app store)
Others are manually installed with dpkg.

I’m not worried about the cert yet. I raised that with engineering and was told to ignore it. (I’m following up on that separately)

what do you need done here?

I suspect you have an authentication issue?

Hi Chuck, thanks for the quick reply The real issue is that I can’t add my libraries back into Plex. I did find the four entries you were talking about under Authorized devices and deleted the three oldest ones, then tried to add the library again, but still getting the same error. I tailed the Plex server log file and see the following entries.

Feb 27, 2023 17:17:33.449 [0x7f4d1b794b38] ERROR - [Req#292b] Library: Couldn’t create section: ‘agent’ is missing or invalid
Feb 27, 2023 17:17:33.449 [0x7f4d1b794b38] ERROR - [Req#292b] Library: Couldn’t create section: ‘language’ is invalid
Feb 27, 2023 17:17:33.449 [0x7f4d1b794b38] ERROR - [Req#292b] Library: Couldn’t create section: new scanner needs to be paired with new agent

Can you make a tar.gz of the Logs directory ?

I hope you DEBUG logging still enabled.

If not,

  1. Stop Plex
  2. Edit “Preferences.xml”
  3. Add LogDebug="1" right before the closing /> on the last line
  4. SAVE the file
  5. Start PMS
  6. Recreate the creation error
  7. Stop PMS
  8. Now make the tar.gz of the ‘Logs’ directory and attach.

Also, please share your system locale.

printenv | grep LANG

mine is:

[chuck@lizum Downloads.2015]$ printenv | grep LANG
LANG=en_US.UTF-8
[chuck@lizum Downloads.2016]$

If yours is invalid, we can fix it.

I’ll be able to see what’s happening in greater detail.

Hi Chuck, here is my output from printenv.

plex@plex-server:~$ printenv | grep LANG
LANG=en_US.UTF-8

I have the logs, how would you like me to transfer them?

Check your PM