5 Replies Latest reply: Aug 29, 2017 9:58 PM by Roshan Vishva Prabashana Kalu Arachchige RSS

    Unable to connect to QlikSense server through .NET SDK

    Meghana Raj

      Hi,

       

      I tried several ways of connecting to the qliksense server but in vain. When I go to the link, I have to login through my user name and password.

       

      I tried -

       

      ILocation location = Qlik.Engine.Location.FromUri(new Uri("https://abc.com")); //name changed
      location.AsNtlmUserViaProxy();

       

      I also tried -

      ILocation location = Qlik.Engine.Location.FromUri(new Uri("https://abc.com:4747")); //name changed

      location.AsNtlmUserViaProxy();

       

       

      and

       

      ILocation location = Qlik.Engine.Location.FromUri(new Uri("https://abc.com"));

      location.AsStaticHeaderUserViaProxy("userid");

       

       

      My virtual proxy has authentication method as ticket and Windows authentication pattern as Windows.

       

      I have added the link in the Websocket origin white list and I have tried several ways listed in the qlik sense .NET SDK website.

       

      What can I be doing wrong? I get an error message saying

       

      An unhandled exception of type 'Qlik.Engine.Communication.CommunicationErrorException' occurred in Qlik.Engine.dll

      Additional information: Connection failed after 4 attempts. Unable to keep connection open: Failed to ensure open connection: One or more errors occurred.


      Appreciate all the help I can get!