Hi there,
I’m able to make requests to some https urls, but others fail with the error SSL handshake failed (-1)
. I’ve looked at the traffic in wireshark, and I’ve ruled out cipher suite issues. My current suspicion is that it has something to do with SNI. But it would help if I could get a bit more info from you guys:
- From inspecting the http module, it looks like Defold uses
LuaSocket 3.0-rc1
. But if I’m not mistaken, the luasocket library on its own doesn’t support TLS, does it? - Are you also using something like LuaSec? If so, what version? I found a LuaSec issue that could be related to my problem (https://github.com/brunoos/luasec/issues/44) and the fix was only merged in on Dec 22, 2016.
Thanks,
-Eric
EDIT:
Other threads suggest that you’re not using LuaSec. So what have you used to enable https requests then?