Deluge Webhook: Exception - 'SSLException'
Hello,
Can you please help with invokeurl function.
We try to inform our server about new massages posted from Cliq with Webhook, so this is our Deluge code:
response = Map();
datas = Map();
datas.put("user",user);
datas.put("data",data);
app = invokeurl
[
url :"https://our.webapp.url/message-webhook"
type :POST
parameters:datas
];
info app;
return response;
As you see we try to POST data to host with SSL, and after we sent some message in Cliq, and then check logs it get us this information:
So we remove https and put there http (and setup our test server accordingly), after this code becomes like:
response = Map();
datas = Map();
datas.put("user",user);
datas.put("data",data);
app = invokeurl
[
url :"http://our.webapp.url/message-webhook"
type :POST
parameters:datas
];
info app;
return response;
And all it works!
So my question is:
what are we doing wrong? why webhook not sent requests to the host with the SSL?