Library Unavailable through app.plex.tv but available via https://IP:32400

Server Version#: 1.40.4.8679
Player Version#: 4.132.2

Hi There,

All access to my server seems to have broken, other than directly via IP in a web browser. Plex is running on Ubuntu, and I’m accessing the web server via windows on my local network. https://plex.server.local.ip:32400 works just fine from a PC, and lets me play content. When I try to access my server via app.plex.tv (or with any apps on mobile devices) the server is unavailable. I turned on debug logging, and see the following:

Aug 03, 2024 10:35:47.695 [140407309069112] INFO - Plex Media Server v1.40.4.8679-424562606 - Ubuntu PC x86_64 - build: linux-x86_64 debian - GMT -04:00
Aug 03, 2024 10:35:47.818 [140407309069112] INFO - Linux version: 16.04.5 LTS (Xenial Xerus), language: en-US
Aug 03, 2024 10:35:47.818 [140407309069112] INFO - Processor: 4-core Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
Aug 03, 2024 10:35:47.818 [140407309069112] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
Aug 03, 2024 10:35:47.818 [140407309069112] INFO - /usr/lib/plexmediaserver/Plex Media Server
Aug 03, 2024 10:35:48.332 [140407311633040] INFO - [CERT/OCSP] Loaded a stale response from cache.
Aug 03, 2024 10:35:48.332 [140407311633040] INFO - [CERT/OCSP] Couldn't install the cached response; fetching from network.
Aug 03, 2024 10:35:49.042 [140407311633040] INFO - Running migrations. (EPG 0)
Aug 03, 2024 10:35:49.101 [140407304235832] ERROR - [CERT/OCSP] response error: unauthorized.
Aug 03, 2024 10:35:49.101 [140407304235832] INFO - [CERT/OCSP] couldn't fetch a valid response; retrying in 300 seconds
Aug 03, 2024 10:35:49.161 [140407304235832] WARN - Crash: Crash reporting disabled
Aug 03, 2024 10:35:50.940 [140407311633040] INFO - Running migrations. (EPG 0)
Aug 03, 2024 10:35:59.966 [140407299951416] WARN - [EventSourceClient/pubsub/172.104.213.223:443] MyPlex: attempted a reachability check but we're not yet mapped.
Aug 03, 2024 10:36:00.650 [140407222778680] ERROR - CERT: Error acquiring new certificate: Failed to upload CSR: 429, <?xml version="1.0" encoding="UTF-8"?>
<errors>
  <error code="1003" message="API rate limit exceeded" status="429"/>
</errors>
Aug 03, 2024 10:36:03.563 [140407299951416] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:60974 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert
Aug 03, 2024 10:36:03.570 [140407299951416] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:60976 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert
Aug 03, 2024 10:36:03.624 [140407302060856] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:60978 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert
Aug 03, 2024 10:36:03.631 [140407299951416] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:60980 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert
Aug 03, 2024 10:36:03.676 [140407302060856] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:60982 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert
Aug 03, 2024 10:36:03.683 [140407302060856] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:60984 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert
Aug 03, 2024 10:36:03.829 [140407299951416] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:60986 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert
Aug 03, 2024 10:36:03.836 [140407299951416] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:60988 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert
Aug 03, 2024 10:36:03.906 [140407299951416] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:60990 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert
Aug 03, 2024 10:36:08.077 [140407311633040] WARN - [DatabaseFixups] Held transaction for too long (/home/runner/actions-runner/_work/plex-media-server/plex-media-server/Library/DatabaseFixups.cpp:363): 3.160000 seconds
Aug 03, 2024 10:36:08.078 [140407239703352] WARN - Took too long (0.450000 seconds) to start a transaction on /home/runner/actions-runner/_work/plex-media-server/plex-media-server/Plugins/PluginDatabaseState.cpp:187
Aug 03, 2024 10:36:08.078 [140407239703352] WARN - Transaction that was running was started on thread 140407311633040 at /home/runner/actions-runner/_work/plex-media-server/plex-media-server/Library/DatabaseFixups.cpp:345
Aug 03, 2024 10:36:08.078 [140407239703352] INFO - LibraryUpdateManager path watching is disabled
Aug 03, 2024 10:36:08.344 [140407226997560] INFO - [Req#2c] AutoUpdate: no updates available
Aug 03, 2024 10:36:09.861 [140407304235832] ERROR - Unknown metadata type: 
Aug 03, 2024 10:36:10.146 [140407203453752] ERROR - Unknown metadata type: 
Aug 03, 2024 10:36:10.314 [140407256726328] ERROR - Unknown metadata type: 
Aug 03, 2024 10:36:12.919 [140407288494904] WARN - [HttpClient/HCl#29] HTTP error requesting GET https://192-168-1-2.01c0a2fa74754dd994cc5be2dfa530b7.plex.direct:32400 (7, Couldn't connect to server) (Failed to connect to 192-168-1-2.01c0a2fa74754dd994cc5be2dfa530b7.plex.direct port 32400 after 3090 ms: Couldn't connect to server)
Aug 03, 2024 10:36:12.919 [140407288494904] WARN - [HttpClient/HCl#2b] HTTP error requesting GET https://192-168-1-56.4955985d21924ec785b6846e8de522b9.plex.direct:32400 (7, Couldn't connect to server) (Failed to connect to 192-168-1-56.4955985d21924ec785b6846e8de522b9.plex.direct port 32400 after 3090 ms: Couldn't connect to server)
Aug 03, 2024 10:36:18.351 [140407256726328] ERROR - Unknown metadata type: 
Aug 03, 2024 10:37:04.034 [140407299951416] WARN - [CERT] TLS connection from [::ffff:192.168.0.21]:32858 came in with unrecognized plex.direct SNI name '192-168-0-21.39ab43effd04400b99c688c7426b8b25.plex.direct'; using installed plex.direct cert

It seems based on a previous forum post, this may be an issue that needs to be fixed by the Plex team (@ChuckPa ): SSL Certificate Errors - #1433 by ChuckPa

Or perhaps I’m having a different issue entirely. Checked open ports using netstat, and see the required ports (and obviously can connect via 32400 remotely). Upgraded to the most recent version, rebooted multiple times. Not sure what else to try.

Thanks in advance for any guidance anyone can provide.

First, Turn off IPv6 in Settings - server - Network - Show Advanced.
You don’t have an IPv6 LAN. It will always complain if you don’t set it right.

Your certificate was “pending”, which is a new one to me.
I reset it for you.

Stop the server, wait 10-15 minutes, then start it up.

Make certain you don’t see any HTTP 429 errors.
If you do, shutdown again and wait an hour :frowning:
(Plex.tv has throttled your IP)

Sorry for the delay.
I was offline most of the day rewiring my office. :roll_eyes: :see_no_evil:

1 Like

Thank you @ChuckPa ! That seems to have done the trick! I don’t believe I’m seeing any 429 errors either. Why would plex have throttled the IP?

Thanks!

Your certificate went to renew.
Somewhere in the process, it got itself stuck (let’s encrypt negotiation or something).

That left you with ‘Pending’ status (waiting for the new cert to be ready).

It never came but the old cert was gone.

You got throttled because it didn’t want to get overloaded with certificate requests while one was pending.

1 Like

Makes sense! Thank you for the super quick reply!

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