HTTP 429 when fetching certificate

Server Version#: 1.41.5.9522

Hi,

My HTTPS connection doesn’t seem to be working anymore, looking in the logs it seems to be related to a certificate. I’ve seen others have had this reset, is it possible to do the same please?

Thanks in advance

Mar 19, 2025 00:03:26.149 [139701374765880] DEBUG - CERT: Certificate did not exist, fetching a new one.
Mar 19, 2025 00:03:26.149 [139701374765880] DEBUG - [HCl#1b] HTTP requesting GET https://plex.tv/api/v2/devices/22ba03e1a543f04a7f5e5a2d2356f99ac179426f/certificate/subject
Mar 19, 2025 00:03:26.179 [139701423688504] DEBUG - [HttpClient/HCl#1b] HTTP/1.1 (0.0s) 200 response from GET https://plex.tv/api/v2/devices/22ba03e1a543f04a7f5e5a2d2356f99ac179426f/certificate/subject (reused)
Mar 19, 2025 00:03:26.180 [139701374765880] DEBUG - [HCl#1c] HTTP requesting PUT https://plex.tv/api/v2/devices/22ba03e1a543f04a7f5e5a2d2356f99ac179426f/certificate/csr?reason=missing&invalidIn=0
Mar 19, 2025 00:03:26.214 [139701423688504] DEBUG - [HttpClient/HCl#1c] HTTP/1.1 (0.0s) 429 response from PUT https://plex.tv/api/v2/devices/22ba03e1a543f04a7f5e5a2d2356f99ac179426f/certificate/csr?reason=missing&invalidIn=0 (reused)
Mar 19, 2025 00:03:26.214 [139701374765880] 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>

@Nickgee31

“429” is Plex.tv telling you there are too many requests in too short a period.

  1. Stop PMS so it will calm down
  2. Look at Preferences.xml to confirm you don’t have a null PlexOnlineToken

I did look at your account.

You have a “Plex” server which was seen about 40 minutes ago (as I post this)
It does have a certificate which is ok.

Hey,

Thanks for taking a look! I have been migrating from one server to another today and it seems maybe I requested too many. I’ve shut the server down now and will turn it back on in a few hours to see if the error has gone.

Hi @ChuckPa

I left my server offline for around 6 hours and just started up again but still seeing this in the logs:

Mar 19, 2025 07:47:16.764 [140695287786296] DEBUG - CERT: Certificate did not exist, fetching a new one.
Mar 19, 2025 07:47:16.764 [140695287786296] DEBUG - [HCl#1b] HTTP requesting GET https://plex.tv/api/v2/devices/22ba03e1a543f04a7f5e5a2d2356f99ac179426f/certificate/subject
Mar 19, 2025 07:47:16.797 [140695336643384] DEBUG - [HttpClient/HCl#1b] HTTP/1.1 (0.0s) 200 response from GET https://plex.tv/api/v2/devices/22ba03e1a543f04a7f5e5a2d2356f99ac179426f/certificate/subject (reused)
Mar 19, 2025 07:47:16.798 [140695287786296] DEBUG - [HCl#1c] HTTP requesting PUT https://plex.tv/api/v2/devices/22ba03e1a543f04a7f5e5a2d2356f99ac179426f/certificate/csr?reason=missing&invalidIn=0
Mar 19, 2025 07:47:16.823 [140695311137592] DEBUG - [JobRunner] Job running: /usr/lib/plexmediaserver/CrashUploader "--directory=/config/Library/Application Support/Plex Media Server/Crash Reports/1.41.5.9522-a96edc606" --version=1.41.5.9522-a96edc606 --platform=Linux --platformVersion=5.15.0-134-generic --serverUuid=[REMOVED] --userId=[REMOVED] --sentryUrl=https://o17675.ingest.sentry.io/api/1233455/ --sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --vendor=Docker --model=x86_64 "--device=Docker Container"
Mar 19, 2025 07:47:16.823 [140695311137592] DEBUG - [JobRunner] Jobs: Starting child process with pid 378
Mar 19, 2025 07:47:16.829 [140695371950904] DEBUG - Jobs: '/usr/lib/plexmediaserver/CrashUploader' exit code for process 378 is 0 (success)
Mar 19, 2025 07:47:16.830 [140695336643384] DEBUG - [HttpClient/HCl#1c] HTTP/1.1 (0.0s) 429 response from PUT https://plex.tv/api/v2/devices/22ba03e1a543f04a7f5e5a2d2356f99ac179426f/certificate/csr?reason=missing&invalidIn=0 (reused)
Mar 19, 2025 07:47:16.830 [140695287786296] 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>

My preferences.xml file does contain a PlexOnlineToken and also CertificateUUID. Certificate version is also ‘2’.

@Nickgee31

Restart it.

The certificate was all funky and Plex.tv + your server got confused
When I first looked at it, it was OK (which is confusing. I will follow up internally)

I reset the whole lot of it and started over with all new certificate

Please let me know if it behaves now.

Hi @ChuckPa

That’s all looking good now, thank you so much for your help!

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