Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
See why Qlik is recognized as a Leader for the 10th year in a row – and discover how Qlik can help put your business in the lead. Get Report
Highlighted
20aldrich20
New Contributor

Qlik Sense .Net SDK v13.17.0

I am trying to connect to our Qlik Sense Server through .Net SDK v13.17.0 but I always get the "QT" Product Method Error.

I am using a trial license given by qlik vendor.

Any thoughts?

//This is my code

Uri uri = new Uri("http://207.99..."); //I intentionally removed the ip address. There's also no port included on the uri
ILocation location = Qlik.Engine.Location.FromUri(uri);

location.AsNtlmUserViaProxy(proxyUsesSsl: false);

using (IHub hub = location.Hub())
{
 Console.WriteLine(hub.ProductVersion());
}

 

3 Replies
Highlighted
Employee
Employee

Re: Qlik Sense .Net SDK v13.17.0

Two things to check:

  1. You are using an http connection (not https). Are you sure the proxy you are connecting to supports that?
  2. Have you checked your firewall settings? Could be your connection is blocked.

I believe both of those scenarios will simply give you no resoonse for your requests which will result in that timeout.

Highlighted
20aldrich20
New Contributor

Re: Qlik Sense .Net SDK v13.17.0

@yko I already tried that but still getting that error. 

Please see openportchecker image and the qlikerror image

 
Highlighted
Employee
Employee

Re: Qlik Sense .Net SDK v13.17.0

Oh... But you are trying to do a direct connection to the engine using the AsNtlmUserViaProxy configuration. You should remove the port number from uri that you provide to the "AsNtlmUserViaProxy" method.

If you want to go directly on 4747, then you need to user certificates and the "AsDirectConnection" configuration.