-
Notifications
You must be signed in to change notification settings - Fork 216
Get https:/bucket/file: net/http: TLS handshake timeout #241
Comments
I'm also getting this |
I am having the same issue using this I guess in Terraform. |
I stumbled into this issue with a project I'm working on (not goamz), but this is one of the higher-ranked search results for the error on Google. I run into this issue due to using rather large crypto keys on rather puny hardware. I dealt with it by avoiding use of the net/http DefaultTransport / DefaultClient, and instead, initializing my own with TLSHandshakeTimeout configured reasonably:
This seems to have resolved the net/http timeouts from the client side. |
I've a similar error when uploading a file in a busybox with CA certs.
x509 is related to CA certs. But as I said curls to other HTTPS works ok. ADDED NOTE: In my case seems its because go expects certs to be in one file and the busybox image has them in many files. https://github.com/golang/go/blob/f9ed2f75c43cb8745a1593ec3e4208c46419216a/src/crypto/x509/root_linux.go |
I'm having a problem where s3 gets are failing with:
It seems like this is a somewhat known error with a couple of issues opened in other versions of this library, such as goamz/goamz#41. However there doesn't seem to be a good answer to this that I've found. Does anyone know of a way to work around this problem?
Another interesting thing about my problem. The code was working fine until recently and I haven't been able to find any changes in my code that would have broken this. Are there any changes to this repo that might have caused the problem?
The text was updated successfully, but these errors were encountered: