Pulumi CLI net/http: TLS handshake timeout #6556
Labels
area/build
CI/CD for pulumi/pulumi
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
Milestone
Expected behavior
CLI commands like
pulumi login
orpulumi whoami
should work as expectedCurrent behavior
All CLI commands result in a TLS handshake timeout
Context (Environment)
Mac OS (Big Sur), Pulumi CLI v2.22.0 installed with homebrew, no connection issues to pulumi servers. Only the CLI experiences timeouts.
Resolution
I was able to solve this problem. Turns out, it is a known issue in golang when you have too many certificates in your keystore https://go-review.googlesource.com/c/go/+/227037/. It looks to have already been patched and you can avoid this issue in your CLI by targeting a newer version.
I was able to resolve the issue by clearing unnecessary certificates from my keystore.
Sources
exercism/support#48 (comment)
https://1password.community/discussion/99219/error-net-http-tls-handshake-timeout
https://stackoverflow.com/questions/62989130/golang-tls-handshake-timeout-affecting-go-get-and-go-code
The text was updated successfully, but these errors were encountered: