Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I try to connect via QlikSense.NetSDK to the Qlik Sense Server:
Uri uri = new Uri("https://<qliksense-server>");
ILocation remoteQlikSenseLocation = Qlik.Engine.Location.FromUri(uri);
remoteQlikSenseLocation.AsNtlmUserViaProxy();
foreach (IAppIdentifier appIdentifier in remoteQlikSenseLocation.GetAppIdentifiers())
{
Console.WriteLine(appIdentifier.AppName);
}
remoteQlikSenseLocation.GetAppIdentifiers() throws an Exception:
An unhandled exception of type 'System.IO.IOException' occurred in Qlik.Engine.dll
Additional information: Error in handshake due to an unexpected packet format.
Help [1] and the existing threads did not help me. I can connect to Qlik Sense Desktop via Qlik.Engine.Location.Local; without any problem.
Does connecting to Qlik Sense Server worked for anyone?
What do I wrong?
Best regards,
Daniel
[1]:
Hi,
It is probably a problem with your Qlik Sense Server configuration.
Common problems are :
Please read the manual and verify your configuration .
Best regards
Lars-Göran Book
Hi,
I added my local hostname to the Websocket origin white list. The firewall is and was off. Did changed anything.
What is the service (URI) to connect with the QlikSense.NetSDK?
I tried every port:
As far as I can tell the documentation didn't say.
Best regards,
Daniel
Hi,
If you are connecting with ssl:
https://qliksense.domain.local
or
wss://qliksense.domain.local
if you are not using ssl (remember to set allow http in the proxy configuration)
http:////qliksense.domain.local
or
ws:////qliksense.domain.local
Best regards
Lars-Göran Book