-
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
TLS handshake timeout when running most TF commands #23211
Comments
Regarding the following timeout error described above:
Tested this with @jkaye31 and we were unable to reproduce the timeout in his terminal w/ an |
Using 0.12.16 Output of Terraform Init: terraform init -reconfigure -backend=true -backend-config="S3.config:
|
Possible fix...I literally terminated my terminal (using iterm2 (Build 3.2.6)), tried again and it worked. I'm afraid I can't explain the behaviour. |
@Doug-North @jkaye31 I am very interested in this issue because it seems like a show-stopper when it happens, but lacking a reproduction case I don't know how to move forward on reproducing it. Many enterprise networks have transparent HTTP proxies that transparently intercept HTTPS / TLS requests, so I am wondering if working on your VPN causes you to be subject to a slow or intermittently failing transparent TLS proxy. I'm going to close this for now because it's not actionable, but if you keep running into this please re-open or file a new issue. |
Some more info on this. I work with @jkaye31 but from a different location and experienced the same problem on I have tried clearing files (in particular For OS, I am using macOS Mojave version |
I didn't change anything since my last comment but the error is now resolved. In case version is related, after |
Just updated the version to v0.12.18 but still not working for me |
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. |
This issue first came up when trying to run
terraform plan
on a repo that I had been working on a few days earlier. I was on my company's VPN and I was receiving TLS handshake timeouts. Here's the output for that error:When I returned to the office, the error persisted. This has also happened to remote co-worker in my organization. I tried using sudo, I tried creating new users on the machine, and I've tested this on different networks. I can successfully run
aws sts get-caller-identity
. I also tested this with TF11 and I'm getting the same problem.Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/jkaye31/762fcbafb1f64b05a52c66bde3890377
Expected Behavior
Actual Behavior
Steps to Reproduce
The text was updated successfully, but these errors were encountered: