You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using lit's coro-http for doing HTTPS requests, some websites works fine, other ones fails with the error:
Peer aborted the SSL handshake,
I sniffed the handshake TLS packet with wireshark and compared with other library doing HTTPS requests, I found out that the only difference was the hostname option in the TLS handshake. The solution was to add ssl:set('hostname', host) in secure-socket/biowrap.lua
I'm using lit's coro-http for doing HTTPS requests, some websites works fine, other ones fails with the error:
Peer aborted the SSL handshake
,I sniffed the handshake TLS packet with wireshark and compared with other library doing HTTPS requests, I found out that the only difference was the hostname option in the TLS handshake. The solution was to add
ssl:set('hostname', host)
insecure-socket/biowrap.lua
where host is the host we are connecting to.
The text was updated successfully, but these errors were encountered: