# Youtube is rate limiting us on global rebake

**URL:** https://meta.discourse.org/t/youtube-is-rate-limiting-us-on-global-rebake/77246
**Category:** Support
**Created:** [4 בינואר,‏ 2018,‏ 2:00pm UTC](https://meta.discourse.org/t/youtube-is-rate-limiting-us-on-global-rebake/77246 "2018-01-04T14:00:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [4 בינואר,‏ 2018,‏ 2:00pm UTC](https://meta.discourse.org/t/youtube-is-rate-limiting-us-on-global-rebake/77246/1 "2018-01-04T14:00:48Z")

</div>

I’ve got a site that I just moved to a new server. Now none of the youtube links are one-boxing. They don’t onebox if I rebuild html, or rebake from the command line, or post the link to a new message.

I thought it might be space related, but I’ve cleaned up the disk and re-enabled download images to local.

They have **tons** of youtube links and it appears that when the posts got rebaked it triggered rate limiting on the youtube side.

When I pull from youtube I see this:

```plaintext
  <div class="clear"></div>
</div><div id="content" class=" content-alignment" role="main"><p class='largeText'>Sorry for the interruption. We have been receiving a large volume of requests from your network.</p>

```

@sam I’m pinging you because I saw you committed something related to this rebaking and I suspect that this could cause problems for other sites that rebake lots of youtube links.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [16 במרץ,‏ 2020,‏ 4:46am UTC](https://meta.discourse.org/t/youtube-is-rate-limiting-us-on-global-rebake/77246/2 "2020-03-16T04:46:00Z")

</div>



---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [17 במרץ,‏ 2020,‏ 6:06am UTC](https://meta.discourse.org/t/youtube-is-rate-limiting-us-on-global-rebake/77246/3 "2020-03-17T06:06:58Z")

</div>

I saw this exact thing reported this week in 2 other places.

I am not really sure what to do here, we don’t want to get into some infinite loop of rebakes each time this fails.

I can not easily think of any easy win here short of just queuing another rebake searching for the problem content in cooked, limiting to say 50 at a time.

---

<div class="post-metadata">

### Author: ![Iceman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iceman/32/181309_2.png) [@Iceman](https://meta.discourse.org/u/Iceman)
#### Post date: [25 במאי,‏ 2020,‏ 1:30pm UTC](https://meta.discourse.org/t/youtube-is-rate-limiting-us-on-global-rebake/77246/4 "2020-05-25T13:30:15Z")

</div>

@pfaffman one question regarding this issue you had (which happened later than [this one](https://meta.discourse.org/t/youtube-embeds-missing/47718)). This meant that any new post with a YouTube URL wasn’t oneboxed, right?

Did you get over this by rebaking everything with a limit on them?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [25 במאי,‏ 2020,‏ 1:45pm UTC](https://meta.discourse.org/t/youtube-is-rate-limiting-us-on-global-rebake/77246/5 "2020-05-25T13:45:52Z")

</div>

Sorry. I just don’t remember. I think the problem was compounded by it being a subfolder site where WordPress was also doing… Something.
