Error while installing hashicorp ... net/http: TLS handshake timeout

Hi team,

Please suggest.

From time to time we are getting similar errors

time=2024-06-28T14:12:48Z level=info msg=
Error: Failed to install provider
Error while installing hashicorp/external v2.3.3: releases.hashicorp.com: Get
"https://releases.hashicorp.com/terraform-provider-external/2.3.3/terraform-provider-external_2.3.3_linux_amd64.zip":
net/http: TLS handshake timeout

It is not only external plugin and we start collecting statistic.

Retry helped as well as we were able to pull the plugin directly.

As per research and reasonable suggestion the root cause is on CDN - please correct me if I’m wrong.

If that is so wonder if can take some constructive actions to either trace exact error or retry downloading during init automatically.

As far as I’m aware we can set timeout value but I would rather test if that helps during fetching faulty cache or just prolong time of failure.

Appreciate feedback.