-
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 | PLEASE FIX IT FINALLY #28214
Comments
Hi @mhenkel1, The error in example is not coming from terraform itself, rather it is coming from the |
Hey @jbardin, I receive the errors for both providers, the Hetzner Cloud provider as well as the OVH provider. No, the provider configuration worked as it should, both resources were correctly being created and all of the sudden I get the TLS error for both providers and nothing works anymore. I only changed the ansible configuration, which has nothing to do with terraform. This is the output:
|
Thanks for the follow up @mhenkel1, Since this error is coming from the providers, there is not much terraform can do to remedy the situation. Looking at the We also have the known issue #26532, which while a different error message, could be the result of the same underlying issue in many cases, and we are watching golang/go#19561 to see how it effects Terraform. As there is nothing we can do to affect the error you have presented here, I'm going to close this out for now. To be clear, even if terraform were reporting this same error, and we found and fixed the issue here, the providers themselves would need to implement that fix independently. We use GitHub for tracking bugs and enhancement requests specifically for Terraform, but you may also want to check out the community forum, where other users of these providers may have encountered the same error and could offer some insight on what local configuration is causing the problem. Thanks! |
Thanks for your explanation @jbardin, I checked up on the issue, which you mentioned, golang/go#19561. This issue seems to appear when there are many certificates stored in the MacOS keychain. Somehow Go needs too long to go through the whole list and throws a timeout. Since I have multiple certificates stored there because of my projects, I was able to delete like 250 (self-signed) certificates from my keychain which solved the error of the TLS timeouts. Deployments with Terraform are now working again. :) I do not think I would have found this by myself, thank you so much. Best regards. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi there,
Thank you for not resolving the previous 20 issues created on this topic. Please note that I am really excited about Terraform and started to use it for a new project.
My issue does not relate to a specific Terraform provider, since I have tested 6 different providers now and the issue is the same.
For reference you can simply go and look at any of the other issues your team has ignored and closed with that bot.
And if you even try and blame it on my environment (like you did for all the other issues on this topic), thats not it, I can reach all the urls without a problem.
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
Terraform works
Actual Behavior
Terraform does not work!!!
Steps to Reproduce
terraform plan
terraform apply
terraform destroy
Additional Context
It worked very good and I tested it really well, and then randomly it stopped working. I did not restart my machine, I did not install new software. I just changed the configuration and I got these TLS errors.
References
The text was updated successfully, but these errors were encountered: