# Build failure, unable to download the MaxMind geolocation database

**URL:** <https://meta.discourse.org/t/build-failure-unable-to-download-the-maxmind-geolocation-database/129855>\
**Category:** Self-hosting\
**Tags:** maxmind\
**Created:** [30 september 2019 om 13:07 UTC](https://meta.discourse.org/t/build-failure-unable-to-download-the-maxmind-geolocation-database/129855 "2019-09-30T13:07:44Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [30 september 2019 om 22:52 UTC](https://meta.discourse.org/t/build-failure-unable-to-download-the-maxmind-geolocation-database/129855/6 "2019-09-30T22:52:30Z")

</div>

> [@KGrzeg](#):
>
> from /var/www/discourse/lib/tasks/assets.rake:216:in `block (2 levels) in <top (required)>' /var/www/discourse/lib/file_helper.rb:55:in `block in download’: 403 Error

Your IP is blocked from downloading the MaxMind DB.

Edit the app.yml file and add, under the env key `DISCOURSE_REFRESH_MAXMIND_DB_DURING_PRECOMPILE_DAYS: 365` and then try a rebuild.

---

_[View the full topic](https://meta.discourse.org/t/build-failure-unable-to-download-the-maxmind-geolocation-database/129855)._
