Quantcast
Channel: Indigo Rose Software Forums - Forums
Viewing all articles
Browse latest Browse all 2105

LuaSec

$
0
0
Hello, I added LuaSec on AMS to make some https request but I get some error on host https://www.ipko.com but on https://www.google.com or https://www.indigorose.com working !

Here is a code :

Code:
local socket = require("socket")
local https = require("ssl.https")
local ltn12 = require("ltn12")
url = "https://www.ipko.com";
local body, code, headers, status =  https.request(url)
print(body):
Error what I get is "sslv3 alert handshake failure".

I think there is a problem with a header table, how can I set it ?

Regards

Viewing all articles
Browse latest Browse all 2105

Trending Articles