-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http: TLS handshake timeout when using multiple providers in Terraform0.12 #22456
Comments
This issue has been automatically migrated to terraform-providers/terraform-provider-oci#852 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to terraform-providers/terraform-provider-oci#852. |
This should be treated as a Terraform issue because the behaviors we're seeing are different between Terraform v0.11 vs. Terraform v0.12. |
Hi @alexng-canuck, The Terraform SDK does not itself make any HTTPS requests, so we're not sure what exactly we could change on the SDK side to improve this situation. Do you know what exactly the OCI provider is doing when it encounters this problem? When running under Terraform 0.12, there will be one provider process running per |
@varmax2511 should be able to provide more details. |
Hi -- The above script is making 10 GET requests one per region for getting VCN resources and the provider fails with the above error when establishing a connection. |
We also receiving this error for 1 or 2 weeks. And its really worse since few days. .... Successfully configured the backend "s3"! Terraform will automatically Initializing provider plugins...
**Error: Failed to install provider Error while installing hashicorp/aws v3.34.0: Get $ terraform -version
Your version of Terraform is out of date! The latest version |
Terraform Version
Terraform Configuration Files
Debug Output
Expected Behavior
Plan should have succeeded.
Actual Behavior
Plan fails with TLS handshake error consistently when using
Terraform0.12.6
. The plan succeeds when usingTerraform v0.11.11
or when using Terraform 0.12.6 withterraform plan -parallelism=1
Steps to Reproduce
terraform init
terraform plan
Additional Context
The issue is reproduced consistently in the above script which has 10 Terraform OCI provider, for 10 different regions and has 10 data sources, one per provider.
When
Terraform plan
is executed on this script using Terraform 0.11.11 , the script always executes successfully. However, when the script is executed using Terraform 0.12.6, some of the datasources always returnnet/http: TLS handshake timeout
. The exact datasources change based on execution but the issue is always reproduced.When setting the
-parallelism=1
with Terraform 0.12, the script executes successfully. I tried running the script on different terraform versions since 0.12.4 to 0.12.6 and different OCI provider versions am able to reproduce the issue.The text was updated successfully, but these errors were encountered: