A Problem Occurred Somewhere in the Ssl/Tls Handshake

Golang - TLS handshake error

I enabled tcp keepalive and this problem got solved. I was running my VM in google compute engine and probably the firewall terminated idle connections.

TCP Keep alive

Configuring tcp keep alive in linux

Golang http server automatically picked this up, so no change was required in my golang code.

Regards,

Sathya

PHP CURL rarely SSL connect error

From the libcurl website, it states:

CURLE_SSL_CONNECT_ERROR (35)

A problem occurred somewhere in the SSL/TLS handshake. You really want
the error buffer and read the message there as it pinpoints the
problem slightly more. Could be certificates (file formats, paths,
permissions), passwords, and others

Certainly with the PHP scripts it should be possible to edit them so that there is some extra debug information available to help debug ( could write to a text file etc ) - if the error persists and there is no info in the debug info then at least you have eliminated one source. I don't know how you would do the same for the unix app or the c# app - there most likely would be a way.



Related Topics



Leave a reply



Submit