Closed markfmh closed 3 years ago
It seems the server requires that you set SNI.
conn, errmsg = ssl.wrap( conn, params) conn:sni("api.notion.com") local succes, errmsg = conn:dohandshake()
Hi Bruno,
Thanks for your answer!
My luasec version (0.5) doesn't seem to support that call, I will check if I can upgrade the library.
Kind regards,
Mark
Op vr 16 jul. 2021 om 20:17 schreef Bruno Silvestre < @.***>:
It seems the server requires that you set SNI.
conn, errmsg = ssl.wrap( conn, params) conn:sni("api.notion.com") local succes, errmsg = conn:dohandshake()
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brunoos/luasec/issues/177#issuecomment-881631778, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3LDJD7MBY2GXGPXJNDIO3TYBZVDANCNFSM5ANCRXOA .
Hello,
The handshake fails, but there is no error message. According to the spec there should be an error message if the call returns false. I have no idea why it fails and how to solve it
Steps to reproduce
Kind regards,
Mark