Skip to content
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

Increase GO TLSHandshakeTimeout value #68

Open
gaetanquentin opened this issue Mar 26, 2018 · 2 comments
Open

Increase GO TLSHandshakeTimeout value #68

gaetanquentin opened this issue Mar 26, 2018 · 2 comments
Labels

Comments

@gaetanquentin
Copy link

Since a few days we have this error:

"Could not initialize connection to vcenter cpl0115hm.jmsp.prod Post https://cpl0115hm.jmsp.prod/sdk: net/http: TLS handshake timeout"

Because the TLS connection has become slower.

The TLSHandshakeTimeout is set at 10 secondes in GO.

Could you allow to increase it in a parameter?

Regards.

@sofixa
Copy link
Member

sofixa commented Mar 30, 2018

Hi,

Has something changed in your environement? 10 seconds seems a lot, does basic connectivity (ping, telnet 443, curl , etc.) towards the vCenter work ?

Cheers,
Adrian

@sofixa sofixa added the bug label Mar 30, 2018
@gaetanquentin
Copy link
Author

yes something must have changed in our environment but i don't know what .

yes telnet and 'openssl s_client connect 'work fine but are very slow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants