trouble with rate limiting building Discourse

jay's Avatar

jay

17 Jun, 2017 03:28 PM

Hi. I install Discourse (https://www.discourse.org/ ) 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 162.243.77.106 ?

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

 https://meta.discourse.org/t/update-and-rebuild-are-failing-for-newest-version/64636?u=pfaffman

https://meta.discourse.org/t/constantly-hitting-rubygems-rate-limits/63108?u=pfaffman

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 (185.170.114.149)

    I provided the rubygems.org part of the log of my discourse installation as attachment

  2. Support Staff 2 Posted by kerrizor on 19 May, 2018 03:10 PM

    kerrizor's Avatar

    Thank you for your patience with this tardy response. Is this still an issue that I can help you with?

  3. kerrizor closed this discussion on 19 May, 2018 03:10 PM.

  4. jay re-opened this discussion on 19 May, 2018 04:02 PM

  5. 3 Posted by jay on 19 May, 2018 04:02 PM

    jay's Avatar

    I can't really remember what happened, but it seems to be fine now.

  6. Aditya Prakash closed this discussion on 20 May, 2018 06:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? 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