Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI,
i have a running server with qlicksense. when i open it and use the devhub i can connect to engineapi and fetch the docs.
I would like to make the same action from another computer which hosts a simple html page. In order to do that i use qsocks.js
when i try to connect to the qlicsense server i get an error:
WebSocket connection to ... failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
my JS looks like this
var configSense = {
host: clikcsenseip,
port:"4747",
origin: 'https://iisip', // Pass a origin that has a corresponding record in the virtual proxy whitelist
isSecure: true,
rejectUnauthorized: false, // Don't reject self-signed certs,
prefix:'/hub/my/work'
};
qsocks.Connect(configSense).then(global.....
Do I need another port?
Do I need to authenticate before i can connect to the server?
Does anyone have a working example for this scenario?
Hi,
Prefix should be the virtual proxy name or '/' if you don't have one.
And yes you probably need to authenticate, a HTTP GET to the Qlik Sense server would probably work.
Hope this helps
Erik Wetterberg
Is there any basic script that i can use for this purpose?
what port number should i choose?
Hi Nitay, Im having the same issue. Did you find any solution? Thanks
Hi Nitaykuris,
Have you found an solution about your issue ?? I have the same situation ... can you help me ?
hi,
try this if it work for you,
host: 'url', //host url
isSecure: true,
port: 443,
origin: 'http://localhost',
rejectUnauthorized: false,
headers: {
"Content-Type": "application/json"
}
Hi Iharsh220,
Could you give me more detail...? I'm not an expert about script and HTML ... My idea is to create an HTML page with a Button RELOAD APP ... How can I do that?
My host is http://185.XX.YYY.ZZ/sense/app/ZZZ83ebf-3aab-4cea-a76d-e6a3c2fcc228/
hello,
even i dont have that much idea about that.
just check this link if it will help.
else you can use qlik mashup.
capability API
there is API called DoReload();
Thanks & regard
Harsh Gohil
Thanks .. but i need more Help 😞