Announcement

Collapse
No announcement yet.

LuaSec

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • LuaSec

    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
Working...
X
😀
🥰
🤢
😎
😡
👍
👎