6 Replies Latest reply: Mar 7, 2017 7:05 AM by David Fujihara RSS

    Integration .NET SDK with Qliksense ERROR

    David Fujihara

      Guys, we have tried to connect in qliksense throught .Net SDK.

       

      We´ve stuck for days and actually i dont know where is the error.

       

      Code:

      =====================================

                  Uri uri = new Uri("wss://104.41.43.13");     ** Do I need specify any access port ?

       

                  ILocation location = Location.FromUri(uri);

       

      X509Certificate2Collection col = new X509Certificate2Collection();

                  var c = new X509Certificate2(@"C:\temp\abiprod.cer");

                  col.Add(c);

       

                  location.AsDirectConnection("aaa-PROD", "aaa-prod", certificateCollection: col);

      location.IsVersionCheckActive = false;

       

                  using (var hub = location.Hub(noVersionCheck: true))

                  {

      Console.WriteLine("QV Product: " + hub.QTProduct());

      Console.WriteLine("Product Version: " + hub.ProductVersion());

      Console.WriteLine("OS Name:    " + hub.OSName());

      Console.WriteLine("OS Version: " + hub.OSVersion());

                  }

      =====================================

      some aditional information 

       

      - Azure Servers with 443 and 80 ports enabled

      ** Do I need specify any access port ?

      ** We .net connection log return me "handshake fail"

      We tried use 4747 aditional port but it didn´t work