trouble with rate limiting building Discourse

jay's Avatar


17 Jun, 2017 03:28 PM

Hi. I install Discourse ( ) for a living. Lately, I and others have been hitting problems with RubyGems rate limiting when installing or rebuilding Discourse. I'm not sure what's happened to cause this, lately. The Discourse folks claim that they're not having trouble. At first I thought it had to do with AWS, but we've seen the problem on several platforms (I'm on Digital Ocean, and haven't seen this problem in the two years I've been using Discourse until recently).

The log fragment I've attached shows that I'm getting some 429 errors, but then the next request works fine. It would seem that if I were hitting rate limits then I'd be locked out for several minutes. Or, perhaps subsequent requests are served by CDN, making the problem more difficult to diagnose from either end.

Can you see in your logs what's up with ?

You can see discussions about the problem at the links below.

If there is more that I or others with the problem can provide to help us understand what the problem is and how to fix it, I'd love to know.

Thanks for your help.

  1. 1 Posted by dereddyteddy on 06 Aug, 2017 10:50 AM

    dereddyteddy's Avatar

    I also run into this same problem one month ago, but it worked some days after just fine agein
    However, since yesterday this problem again occurs on my server (

    I provided the part of the log of my discourse installation as attachment

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • log.txt 28.7 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac