java.net.SocketException caused by connecting to an HTTPS Endpoint.
I am developing a service in a thing that sends data to a 3rd Party rest endpoint through https. And I get this error:
Wrapped java.net.SocketException: Connection reset Cause: Connection reset
Here's the javascript for the service below:
var url = "https://{url} /{endpoint}";
var content = {
on: true
};
var header = {
Authorization: "Token {key}"
};
var params = {
headers: header /* JSON */,
url: url /* STRING */,
ignoreSSLErrors: true,
content: content, /* JSON */
};
var result = Resources["ContentLoaderFunctions"].GetJSON(params);
Any ideas to how this can be solved is appreciated. Is it possible that Thingworx is ignoring the ignoreSSLErrors flag? Thanks.

