Failed to install providers

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

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 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.

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.

Thanks for the report! Per the comment at German IP4 ranges blocked by mistake? · Issue #30596 · hashicorp/terraform · GitHub, I’ll keep you posted if the investigation uncovers new information or remedies this issue.

1 Like

@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!

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

1 Like