tag:help.rubygems.org,2010-01-19:/discussions/problems/26372-trouble-with-rate-limiting-building-discourseRubyGems.org: Discussion 2018-10-18T19:51:32Ztag:help.rubygems.org,2010-01-19:Comment/427917072017-06-17T15:28:54Z2017-06-17T15:28:57Ztrouble with rate limiting building Discourse<div><p>Hi. I install Discourse (<a href="https://www.discourse.org/">https://www.discourse.org/</a> ) 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).</p>
<p>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.</p>
<p>Can you see in your logs what's up with 162.243.77.106 ?</p>
<p>You can see discussions about the problem at the links below.</p>
<p><a href="https://meta.discourse.org/t/update-and-rebuild-are-failing-for-newest-version/64636?u=pfaffman">https://meta.discourse.org/t/update-and-rebuild-are-failing-for-new...</a></p>
<p><a href="https://meta.discourse.org/t/constantly-hitting-rubygems-rate-limits/63108?u=pfaffman">https://meta.discourse.org/t/constantly-hitting-rubygems-rate-limit...</a></p>
<p>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.</p>
<p>Thanks for your help.</p></div>jaytag:help.rubygems.org,2010-01-19:Comment/427917072017-08-06T10:50:44Z2017-08-06T10:50:46Ztrouble with rate limiting building Discourse<div><p>I also run into this same problem one month ago, but it worked some days after just fine agein<br>
However, since yesterday this problem again occurs on my server (185.170.114.149)</p>
<p>I provided the rubygems.org part of the log of my discourse installation as attachment</p></div>dereddyteddytag:help.rubygems.org,2010-01-19:Comment/427917072018-05-19T15:10:23Z2018-05-19T15:10:23Ztrouble with rate limiting building Discourse<div><p>Thank you for your patience with this tardy response. Is this still an issue that I can help you with?</p></div>kerrizortag:help.rubygems.org,2010-01-19:Comment/427917072018-05-19T16:02:18Z2018-05-19T16:02:18Ztrouble with rate limiting building Discourse<div><p>I can't really remember what happened, but it seems to be fine now.</p></div>jay