# The only solution I have found to workaround «429 Too Many Requests» failure from rubygems.org

**URL:** <https://meta.discourse.org/t/the-only-solution-i-have-found-to-workaround-429-too-many-requests-failure-from-rubygems-org/67544>\
**Category:** Product Support\
**Created:** [Août 6, 2017, 2:15 UTC](https://meta.discourse.org/t/the-only-solution-i-have-found-to-workaround-429-too-many-requests-failure-from-rubygems-org/67544 "2017-08-06T02:15:48Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)\
**Post date:** [Août 6, 2017, 2:15 UTC](https://meta.discourse.org/t/the-only-solution-i-have-found-to-workaround-429-too-many-requests-failure-from-rubygems-org/67544/1 "2017-08-06T02:15:48Z")

</div>

The only solution I have found is to revert my Discourse installation to the previous version.  
This does work for me on **every** container rebuild attempt:

```plaintext
params:
  version: e0285bc20ec10e117743e671c45643e63eccfdbc

```

This fails for me on **every** container rebuild attempt:

```plaintext
params:
  version: tests-passed

```

So I think it is definitely a Discourse bug, and if the new Discourse release exceeds the [rubygems.org](http://rubygems.org) rate limits, it is Discourse problem, not [rubygems.org](http://rubygems.org) problem.  
A possible solution for Discourse could be to implement some timeouts in gems fetching to be compatible with the [rubygems.org](http://rubygems.org) rate limits:

> **[Rate Limits - RubyGems.org API - RubyGems Guides](https://guides.rubygems.org/rubygems-org-api/#rate-limits)**
>
> Details on interacting with RubyGems.org over HTTP. | Tutorials, guides, FAQs for RubyGems package management

---

_[View the full topic](https://meta.discourse.org/t/the-only-solution-i-have-found-to-workaround-429-too-many-requests-failure-from-rubygems-org/67544)._
