# Failed to install providers

**URL:** <https://discuss.hashicorp.com/t/failed-to-install-providers/37637>\
**Category:** Terraform\
**Created:** [March 28, 2022, 9:23am UTC](https://discuss.hashicorp.com/t/failed-to-install-providers/37637 "2022-03-28T09:23:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tboerger](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/tboerger/32/27030_2.png) [@tboerger](https://discuss.hashicorp.com/u/tboerger)\
**Post date:** [March 28, 2022, 9:23am UTC](https://discuss.hashicorp.com/t/failed-to-install-providers/37637/1 "2022-03-28T09:23:54Z")

</div>

While the installation of the providers is working locally totally fine it does not work on our CI system running at Hetzner Cloud:

```auto
Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
╷
│ Error: Failed to install provider
│ 
│ Error while installing hashicorp/aws v4.6.0: could not query provider
│ registry for registry.terraform.io/hashicorp/aws: failed to retrieve
│ authentication checksums for provider: 405 Method Not Allowed
╵

```

I have found [Failed to install provider and Failed to install provider · Issue #23481 · hashicorp/terraform-provider-aws · GitHub](https://github.com/hashicorp/terraform-provider-aws/issues/23481) which seems like access from Russia have been limited, but all systems are running in Germany and they are not connected to Russia at all.

What can we do? A curl request like `curl https://registry.terraform.io/v1/providers/hashicorp/aws/versions` is working totally fine. There are no connection limitations on our side.

---

<div class="post-metadata">

**Author:** ![tboerger](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/tboerger/32/27030_2.png) [@tboerger](https://discuss.hashicorp.com/u/tboerger)\
**Post date:** [March 28, 2022, 11:21am UTC](https://discuss.hashicorp.com/t/failed-to-install-providers/37637/2 "2022-03-28T11:21:17Z")

</div>

Looks like this happens only on some IPs, I got another VM at Hetzner Cloud with a totally different IP address where everything works fine, but my CI Runner seems to be blocked somehow.

---

<div class="post-metadata">

**Author:** ![CraigW](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/craigw/32/23448_2.png) [@CraigW](https://discuss.hashicorp.com/u/CraigW)\
**Post date:** [March 29, 2022, 3:48pm UTC](https://discuss.hashicorp.com/t/failed-to-install-providers/37637/3 "2022-03-29T15:48:30Z")

</div>

Thanks for the report! Per the comment at [German IP4 ranges blocked by mistake? · Issue #30596 · hashicorp/terraform · GitHub](https://github.com/hashicorp/terraform/issues/30596#issuecomment-1082043937), I’ll keep you posted if the investigation uncovers new information or remedies this issue.

---

<div class="post-metadata">

**Author:** ![CraigW](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/craigw/32/23448_2.png) [@CraigW](https://discuss.hashicorp.com/u/CraigW)\
**Post date:** [March 29, 2022, 10:41pm UTC](https://discuss.hashicorp.com/t/failed-to-install-providers/37637/4 "2022-03-29T22:41:02Z")

</div>

@tboerger I have word that the fix for your reported IPs should be rolling out today. Let me know tomorrow if it is working for you. Thanks for your patience!

---

<div class="post-metadata">

**Author:** ![tboerger](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/tboerger/32/27030_2.png) [@tboerger](https://discuss.hashicorp.com/u/tboerger)\
**Post date:** [March 30, 2022, 7:45am UTC](https://discuss.hashicorp.com/t/failed-to-install-providers/37637/5 "2022-03-30T07:45:42Z")

</div>

@CraigW thank you for your help, I can confirm that it’s working now.

---

<div class="post-metadata">

**Author:** ![CraigW](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/craigw/32/23448_2.png) [@CraigW](https://discuss.hashicorp.com/u/CraigW)\
**Post date:** [March 31, 2022, 12:22am UTC](https://discuss.hashicorp.com/t/failed-to-install-providers/37637/6 "2022-03-31T00:22:24Z")

</div>


