# HTTP 429 when fetching certificate

**URL:** https://forums.plex.tv/t/http-429-when-fetching-certificate/909321
**Category:** Remote Access
**Tags:** server-linux
**Created:** [March 19, 2025, 12:07am UTC](https://forums.plex.tv/t/http-429-when-fetching-certificate/909321 "2025-03-19T00:07:22Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Nickgee31](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@Nickgee31](https://forums.plex.tv/u/Nickgee31)
#### Post date: [March 19, 2025, 12:07am UTC](https://forums.plex.tv/t/http-429-when-fetching-certificate/909321/1 "2025-03-19T00:07:22Z")

</div>

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

```auto
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>

```

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [March 19, 2025, 12:49am UTC](https://forums.plex.tv/t/http-429-when-fetching-certificate/909321/2 "2025-03-19T00:49:16Z")

</div>

@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.

---

<div class="post-metadata">

### Author: ![Nickgee31](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@Nickgee31](https://forums.plex.tv/u/Nickgee31)
#### Post date: [March 19, 2025, 12:57am UTC](https://forums.plex.tv/t/http-429-when-fetching-certificate/909321/3 "2025-03-19T00:57:55Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Nickgee31](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@Nickgee31](https://forums.plex.tv/u/Nickgee31)
#### Post date: [March 19, 2025, 9:03am UTC](https://forums.plex.tv/t/http-429-when-fetching-certificate/909321/5 "2025-03-19T09:03:17Z")

</div>

Hi @ChuckPa

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

```auto
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’.

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [March 19, 2025, 5:22pm UTC](https://forums.plex.tv/t/http-429-when-fetching-certificate/909321/6 "2025-03-19T17:22:33Z")

</div>

@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.

---

<div class="post-metadata">

### Author: ![Nickgee31](https://avatars.discourse-cdn.com/v4/letter/n/45deac/32.png) [@Nickgee31](https://forums.plex.tv/u/Nickgee31)
#### Post date: [March 19, 2025, 6:06pm UTC](https://forums.plex.tv/t/http-429-when-fetching-certificate/909321/7 "2025-03-19T18:06:32Z")

</div>

Hi @ChuckPa

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

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [June 17, 2025, 6:07pm UTC](https://forums.plex.tv/t/http-429-when-fetching-certificate/909321/8 "2025-06-17T18:07:06Z")

</div>

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