SSL Certificate Errors

@Edno

The server’s certificate is perfectly OK. Windows server (please confirm that’s what you’re running?) is happy with it.

Oct 17, 2021 06:12:51.877 [3328] INFO - Plex Media Server v1.24.4.5081-e362dc1ee - Microsoft PC x64 - build: windows-x86 windows - GMT -05:00
Oct 17, 2021 06:12:51.877 [3328] INFO - Windows version: 6.1 (Build 7601), language en-US
Oct 17, 2021 06:12:51.877 [3328] INFO - 6 1896 MHz processor(s): Architecture=0, Level=6, Revision=11522 Processor Identifier=Intel64 Family 6 Model 45 Stepping 2, GenuineIntel
Oct 17, 2021 06:12:51.877 [3328] INFO - Compiler is - MSVC 1924
Oct 17, 2021 06:12:51.877 [3328] DEBUG - "C:\Program Files (x86)\Plex\Plex Media Server\Plex Media Server.exe" 
Oct 17, 2021 06:12:51.893 [0544] DEBUG - BPQ: [Idle] -> [Starting]
Oct 17, 2021 06:12:51.893 [0544] DEBUG - FeatureManager: Using cached data for features list
Oct 17, 2021 06:12:51.893 [0544] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.35.5, threadsafe=1
Oct 17, 2021 06:12:51.893 [0544] INFO - SQLITE3:0xaaf86491, 283, recovered 330 frames from WAL file C:\Plex Media Server\Plug-in Support\Databases\com.plexapp.plugins.library.db-wal
Oct 17, 2021 06:12:51.924 [0544] DEBUG - Running migrations. (EPG 0)
Oct 17, 2021 06:12:51.971 [0544] DEBUG - ChangestampAllocator: initialized to 73288302
Oct 17, 2021 06:12:51.971 [0544] DEBUG - Opening 2 database sessions to library (com.plexapp.plugins.library.blobs), SQLite 3.35.5, threadsafe=1
Oct 17, 2021 06:12:51.971 [0544] DEBUG - Running migrations. (EPG 0)
Oct 17, 2021 06:12:51.987 [0544] DEBUG - [CERT] Subject name is /CN=*.afb9c4fa4c7d491b84d494d01f26eb61.plex.direct
Oct 17, 2021 06:12:51.987 [0544] DEBUG - [CERT] Installed certificate with fingerprint f4:0f:9f:38:85:b0:6a:71:c2:40:c3:90:d3:6c:71:a0:68:fc:3d:c4.
Oct 17, 2021 06:12:51.987 [0544] DEBUG - [CERT/OCSP] Stapling requests will be made to 'http://r3.o.lencr.org/'.
Oct 17, 2021 06:12:51.987 [0544] INFO - [CERT/OCSP] Successfully retrieved response from cache.
Oct 17, 2021 06:12:51.987 [0544] DEBUG - HttpServer: Listening on port 32400.
Oct 17, 2021 06:12:51.987 [0544] DEBUG - HttpServer: Listening on port 32401.
Oct 17, 2021 06:12:52.018 [3708] DEBUG - Grabber: Cleaning up orphaned grabs.

What is the device that tried to access it ? Whatever that device is where the SSL problem seems to be coming from.

I figured out what that cert error I highlighted is, it is just my network monitoring checking the https server. I still can’t get remote access working though, did you see any other errors in there? When I tell it to re-connect it show green for maybe 10 seconds and then goes back to disconnected. I am testing the remote access with the client on my phone over the cell network.

The only thing I saw in your logs was this:

Oct 17, 2021 06:14:26.906 [3724] DEBUG - PubSub: Got notified of reachability for async identifier c350795a-14f0-4251-bbfd-9bfa2f8c14e4: 0 for 136.29.191.2:32400 (responded in 5151 ms)
Oct 17, 2021 06:14:26.906 [3724] DEBUG - MyPlex: reachability check - current mapping state: 'Not Mapped'.
Oct 17, 2021 06:14:26.906 [3724] DEBUG - MyPlex: inaccessibility report ignored because NAT punch is still pending.

It is implying to me that the modem/router is not opening the port for you and Plex is waiting for a reply.

When’s the last it was restarted?

If that doesn’t clear it, do you have access to it (log in) and make sure the port mapping table is not full?

Thanks for reviewing the logs, I will dig in to the networking side and try to find the problem.

Hi, i have the “same” trouble on my plex server
@ChuckPa
Actualy i have the error “DEBUG - CERT : Incomplete TLS Handshake from 192.168.1.92:49376: stream truncated”.

My ipad with the plex app is the only one that can’t connect on my server. It’s notice “Server offline”.
Any help?
Thank u !

@Olivier94

I have removed all the abandoned server entries from your account.
Only your current server remains.

I have reset the certificate.

Please restart the server.

1 Like

@ChuckPa
Thank you for the answer
It still does not work :frowning:
The plex application always says “server offline”.

Been having similar issues since yesterday, server keeps going offline and shared users cant stream. Think it may be related, attached logs just in case its something else.Plex Media Server Logs_2021-10-18_20-10-33.zip (6.4 MB)
Be very grateful for any help.

@paddyoconnor

Would you please turn off VERBOSE logging. you’re losing all the important data and making it extremely difficult to diagnose.

DEBUG logging is default, VERBOSE being OFF.

Please do this and then restart the server.
After it comes back up, wait 2 minutes and download the logs. I will look at the certificate.

Later, when there are difficulties, please get and attach those logs here.

If your certificate is ok, it is most likely a player certificate -or- other RemoteAccess issue

Sorry bout that, see attached.Plex Media Server Logs_2021-10-18_21-55-14.zip (5.1 MB)

There haven’t been any changes to the hardware per se.

I don’t believe there has been any firmware update to my AT&T modem/router (Arris BGW210-700) in ages. I don’t see any mention of DNS-rebinding in the interface (then again I’d never heard of DNS-rebinding before). I tried to run a manual firmware update but it failed with little explanation (as it has every time since I got it in 2018).

There have been firmware updates lately for my WiFi router…Netgear Nighthawk R8000P (I disable the WiFi on my modem/router) and my Sonos system which runs off the WiFi. There’s a netgear Arlo security camera on the WiFi also.

Other than that there’s a Linksys switch in the living room that handles the LG TV, AT&T Uverse Cable Box and AppleTV box.

There’s a TP Link switch in the office that handles the Drobo/Plex server on 2 bound ports, printer, Philips Hue hub with associated lights and an old Macbook. And another Netgear switch in the office that handles the iMac Pro and MacBook Pro (which runs through a VPN most of the time). The various switches and the WiFi router all connect (spoke style) to the AT&T modem/router.

The Drobo Plex server is still running version 1.21.2.3943 because Drobo hasn’t issued an update since January and I’ve been unable to successfully update it manually as described in my earlier linked post.

On the modem/router side I’ve got a fixed IP allocation for the Drobo and a 32400 port set up for Plex remote access.

Hi Plex Team,

I am having similar issues to the ones mentioned above and am getting several SSL related errors such as
“CERT: incomplete TLS handshake from […]:52646: sslv3 alert certificate unknown”

I can connect from web and my phone only my TV seems to be having issues and this only happened starting from today (its been running for a few months without issues).

Can you kindly look into my certificate maybe it needs reseting please? Thanks.

Regards,
M

@m.scerri

Your server certificate is fine.

Valid	Sat, 16 Oct 2021 13:59:27 +0000	Sat, 16 Oct 2021 13:59:50 +0000

The message portion ‘unknown’ means that Plex doesn’t know who/where the certificate is from.

Seeing the actual logs (which will also identify the player) will help figure out the problem and solution.

I can’t do anything more with this one-line snippet.

@paddyoconnor

Please turn DEBUG logging ON. SAVE that change.

I only have a log file now with error entries. I can’t see what it was trying to do.

Please also restart the server after saving … I’t misbehaving pretty badly (database locked)

Plex Media Server Logs_2021-10-19_00-18-43.zip (5.8 MB)
Restarted again after, remote users can barely use it now. Thanks for help.

The database is fragmented to heck or the machine is overloaded.

I suggest optimizing the database first. That doesn’t look like a slow intel IIRC

Oct 19, 2021 00:14:01.103 [11964] DEBUG - Client [h3cjs3w7t24so] reporting timeline state playing, progress of 1542880/2562880ms for guid=, playbackTime=-1ms ratingKey=212636 url=, key=/library/metadata/212636, containerKey=, metadataId=212636, source=
Oct 19, 2021 00:14:01.105 [11964] DEBUG - Play progress on 212636 'Inherited' - got played 1542880 ms by account 3001222!
Oct 19, 2021 00:14:01.107 [11964] DEBUG - [Now] User is mmc123 (ID: 3001222)
Oct 19, 2021 00:14:01.107 [11964] DEBUG - [Now] Device is Samsung (TV UE32J5500).
Oct 19, 2021 00:14:01.108 [11964] DEBUG - [Now] Profile is Samsung
Oct 19, 2021 00:14:01.108 [11964] DEBUG - [Now] Updated play state for /library/metadata/212636.
Oct 19, 2021 00:14:01.112 [11964] DEBUG - Statistics: (h3cjs3w7t24so) Reporting active playback in state 0 of type 4 (scrobble: 0) for account 3001222
Oct 19, 2021 00:14:01.114 [11796] DEBUG - Completed: [37.228.201.244:10630] 200 GET /:/timeline?type=video&state=playing&time=1542880&duration=2562880&key=%2Flibrary%2Fmetadata%2F212636&ratingKey=212636&playQueueItemID=4144759&playQueueID=245411 (9 live) GZIP 12ms 586 bytes (pipelined: 3)
Oct 19, 2021 00:14:01.240 [2520] ERROR - Failed to begin transaction (..\Sync\SyncItemProcessor.cpp:706) (tries=5): Cannot begin transaction. database is locked
Oct 19, 2021 00:14:01.507 [2520] ERROR - Failed to begin transaction (..\Sync\SyncItemProcessor.cpp:706) (tries=6): Cannot begin transaction. database is locked
Oct 19, 2021 00:14:01.764 [2520] ERROR - Failed to begin transaction (..\Sync\SyncItemProcessor.cpp:706) (tries=7): Cannot begin transaction. database is locked
Oct 19, 2021 00:14:02.020 [2520] ERROR - Failed to begin transaction (..\Sync\SyncItemProcessor.cpp:706) (tries=8): Cannot begin transaction. database is locked
Oct 19, 2021 00:14:02.106 [11852] DEBUG - Request: [127.0.0.1:10582 (Loopback)] GET /system/messaging/clear_events/com.plexapp.plugins.WebTools (10 live) GZIP Signed-in Token (paddyoconnor)
Oct 19, 2021 00:14:02.106 [11852] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): /system/messaging/clear_events/com.plexapp.plugins.WebTools
Oct 19, 2021 00:14:02.106 [11852] DEBUG - HTTP requesting GET http://127.0.0.1:10556/system/messaging/clear_events/com.plexapp.plugins.WebTools

@Olivier94

May I have the updated Logs zip file please ? (Stop Plex, make a tar.gz of the “Logs” directory)

Hi again @ChuckPa , and thanks for your help. Sadly, it didn’t seem to do anything as I’m still unable to access Plex through the web. Also I am not able to access it through the smartphone app now.

Is it simply connected to WD not wanting to update Plex for the My Cloud Home or do you have any other suggestions on what to try next?

Since optimization this morning everything back to normal. I’d done a few over the days but that one did the trick it seems. I went back to most current version too after as id rolled back a few versions on Sunday. Appreciate the support ChuckPa and go raibh maith agat from me and my friends here in Ireland.

Hey, please could a get a cert refresh?

Seeing the following:

CERT: incomplete TLS handshake from […]:…: tlsv1 alert unknown ca

Thanks,
Red