Plex won't start if it can't ping

Server Version#: 1.40.2.8395
Player Version#: 4.125.1

Hello,

my plex server won’t start if it has no internet or it can’t reache “172.64.146.103:443”. I added a new “allow plex to everything” rule on my opnsense. So now plex starts again. But it worked for years without this rule.

Log:

y 12, 2024 09:36:03.801 [123723115932472] INFO - Plex Media Server v1.40.2.8395-c67dce28e - Debian GNU/Linux PC x86_64 - build: linux-x86_64 debian - GMT 02:00
May 12, 2024 09:36:03.801 [123723115932472] INFO - Linux version: 12 (bookworm), language: en-US
May 12, 2024 09:36:03.801 [123723115932472] INFO - Processor: 4-core 12th Gen Intel(R) Core(TM) i9-12900HK
May 12, 2024 09:36:03.801 [123723115932472] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
May 12, 2024 09:36:03.801 [123723115932472] INFO - /usr/lib/plexmediaserver/Plex Media Server
May 12, 2024 09:36:03.825 [123723121138320] INFO - [CERT/OCSP] Successfully retrieved response from cache.
May 12, 2024 09:36:03.858 [123723121138320] INFO - Running migrations. (EPG 0)
May 12, 2024 09:36:03.946 [123723121138320] INFO - Running migrations. (EPG 0)
May 12, 2024 09:36:03.961 [123723107543864] INFO - Preemptively preparing driver imd for GPU Alder Lake-P Integrated Graphics Controller
May 12, 2024 09:36:03.962 [123723107543864] INFO - Preemptively preparing driver icr for GPU Alder Lake-P Integrated Graphics Controller
May 12, 2024 09:36:05.028 [123723044629304] INFO - Refreshing paths watched by LibraryUpdateManager
May 12, 2024 09:36:05.438 [123723099155256] WARN - [EventSourceClient/pubsub/194.233.164.25:443] MyPlex: attempted a reachability check but we're not yet mapped.
May 12, 2024 09:36:05.796 [123722990103352] WARN - Crash: Crash reporting disabled
May 12, 2024 10:06:14.380 [123723111738168] WARN - JobManager: Could not find job for handle 408
May 12, 2024 11:47:35.749 [123723099155256] ERROR - [EventSourceClient/pubsub/194.233.164.25:443] Retrying in 15 seconds.
May 12, 2024 11:48:05.056 [123723103349560] ERROR - [EventSourceClient/pubsub/194.233.164.25:443] Retrying in 30 seconds.
May 12, 2024 11:48:44.288 [123723099155256] ERROR - [EventSourceClient/pubsub/172.105.245.168:443] Retrying in 15 seconds.
May 12, 2024 11:49:08.096 [123723103349560] ERROR - [EventSourceClient/pubsub/172.105.245.178:443] Retrying in 15 seconds.
May 12, 2024 11:49:32.352 [123723103349560] ERROR - [EventSourceClient/pubsub/172.105.245.168:443] Retrying in 15 seconds.
May 12, 2024 11:52:37.523 [123723099155256] ERROR - [EventSourceClient/pubsub/172.105.245.168:443] Retrying in 15 seconds.
May 12, 2024 11:52:54.399 [123723103349560] ERROR - [EventSourceClient/pubsub/172.105.245.168:443] Retrying in 30 seconds.
May 12, 2024 11:53:33.631 [123723103349560] ERROR - [EventSourceClient/pubsub/172.105.245.178:443] Retrying in 15 seconds.
May 12, 2024 11:53:56.032 [123723103349560] ERROR - [EventSourceClient/pubsub/172.105.245.168:443] Retrying in 15 seconds.
May 12, 2024 11:54:20.288 [123723103349560] ERROR - [EventSourceClient/pubsub/172.105.245.178:443] Retrying in 15 seconds.
May 12, 2024 11:54:44.544 [123723103349560] ERROR - [EventSourceClient/pubsub/172.105.245.168:443] Retrying in 15 seconds.
May 12, 2024 11:55:08.800 [123723099155256] ERROR - [EventSourceClient/pubsub/172.105.245.178:443] Retrying in 15 seconds.
May 12, 2024 11:55:16.185 [123723111738168] WARN - JobManager: Could not find job for handle 335

After I created the opnsense firewall rule my log looks like:

May 12, 2024 20:53:25.361 [124786273430328] INFO - Plex Media Server v1.40.2.8395-c67dce28e - Debian GNU/Linux PC x86_64 - build: linux-x86_64 debian - GMT 02:00
May 12, 2024 20:53:25.361 [124786273430328] INFO - Linux version: 12 (bookworm), language: en-US
May 12, 2024 20:53:25.361 [124786273430328] INFO - Processor: 4-core 12th Gen Intel(R) Core(TM) i9-12900HK
May 12, 2024 20:53:25.361 [124786273430328] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
May 12, 2024 20:53:25.361 [124786273430328] INFO - /usr/lib/plexmediaserver/Plex Media Server
May 12, 2024 20:53:25.375 [124786279217808] INFO - [CERT/OCSP] Successfully retrieved response from cache.
May 12, 2024 20:53:25.395 [124786279217808] INFO - Running migrations. (EPG 0)
May 12, 2024 20:53:25.437 [124786279217808] INFO - Running migrations. (EPG 0)
May 12, 2024 20:53:25.438 [124786265041720] INFO - Preemptively preparing driver imd for GPU Alder Lake-P Integrated Graphics Controller
May 12, 2024 20:53:25.439 [124786265041720] INFO - Preemptively preparing driver icr for GPU Alder Lake-P Integrated Graphics Controller
May 12, 2024 20:53:26.183 [124786202127160] INFO - Refreshing paths watched by LibraryUpdateManager
May 12, 2024 20:53:26.522 [124786256653112] WARN - [EventSourceClient/pubsub/172.105.245.178:443] MyPlex: attempted a reachability check but we're not yet mapped.
May 12, 2024 20:53:27.360 [124786227292984] WARN - Crash: Crash reporting disabled
May 12, 2024 20:58:34.297 [124786160184120] INFO - Part rename detected [/media/plex/Serien/Wer wei ^= denn sowas/Wer_wei ^=_denn_sowas?_-_Annette_Frier_und_D  sir  e_Nosbusch___Die_Sendung_vom_10._Mai_2024.mp>
May 12, 2024 20:58:38.680 [124786105658168] WARN - MDE: unable to find a working transcode profile for video stream
May 12, 2024 20:58:38.680 [124786105658168] WARN - MDE: unable to find a working transcode profile for video stream
May 12, 2024 20:58:45.578 [124786218904376] WARN - SLOW QUERY: It took 2900.000000 ms to retrieve 1 items.
May 12, 2024 20:59:22.252 [124786206321464] WARN - MyPlex: we have an existing connectivity refresh request for async identifier c07d3445-dc03-468e-ace5-8f287eaab74d, but it has expired so we will try again.
May 12, 2024 21:05:02.290 [124786185349944] WARN - WebSocket: Request doesn't look like upgrade request (, Keep-Alive)
May 12, 2024 21:05:02.290 [124786185349944] WARN - Caught a system exception setting up WebSocket, ignoring.
May 12, 2024 21:05:02.464 [124786151795512] INFO - [Req#4ec] AutoUpdate: no updates available

Has someting changed in the last updates?

Thanks
Haruzept

When did you upgrade to 1.40.2.8395 ?

  1. Pre-1.40 versions of PMS will require significant time to update the database on first-start of a post-1.40.0 version. Is this your first post-1.40.0 version ?

  2. PMS does require, at minimum, periodic connection to plex.tv to maintain the Plex-Pass status

  3. The log snippet you provided shows what looks like an outbound block rule is impacting connecting to Plex.tv

I upgrade really soon after an update is published. Mostly a couple of days after it was released.
So I need a firewall rule for plex.tv? Is there a wiki article with the ips and ports I need to allow?

PMS needs to talk to (outbound) Plex.tv and the metadata server for things to work.

If your security is , by default, blocking anything you’ve not defined THEN it indeed won’t work.

My PfSense is open outbound but fully closed inbound. I restrict inbound connection requests to only those FQDNs I share my server with.

This works well for me.

If you need some IPs which are updated by Plex.tv

Sidekiq IP list

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