<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to connect to QlikSense server through .NET SDK in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165414#M5628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meghana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to connect now? Whats the final code you arrived at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still have issues connecting, in-spite of white-listing the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error i get is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;An unhandled exception of type 'System.AggregateException' occurred in mscorlib.dll&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you come across?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2017 11:27:23 GMT</pubDate>
    <dc:creator>rajeshvaswani77</dc:creator>
    <dc:date>2017-01-03T11:27:23Z</dc:date>
    <item>
      <title>Unable to connect to QlikSense server through .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165411#M5625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ILocation location = Qlik.Engine.Location.FromUri(new Uri("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://abc.com/" rel="nofollow" target="_blank"&gt;https://abc.com&lt;/A&gt;&lt;SPAN&gt;")); //name changed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;location&lt;SPAN class="token punctuation" style="color: #999999; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;AsNtlmUserViaProxy&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried -&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;ILocation location = Qlik.Engine.Location.FromUri(new Uri("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://abc.com:4747/" rel="nofollow" target="_blank"&gt;https://abc.com:4747&lt;/A&gt;&lt;SPAN&gt;")); //name changed&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;location&lt;SPAN class="token punctuation" style="color: #999999; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;AsNtlmUserViaProxy&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation" style="color: #999999; font-family: Consolas, Monaco, 'Andale Mono', monospace; font-size: 12px; background-color: #fafafa;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ILocation location = Qlik.Engine.Location.FromUri(new Uri("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://abc.com/" rel="nofollow" target="_blank"&gt;https://abc.com&lt;/A&gt;&lt;SPAN&gt;"));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;location.AsStaticHeaderUserViaProxy("userid");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My virtual proxy has authentication method as ticket and Windows authentication pattern as Windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can I be doing wrong? I get an error message saying&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An unhandled exception of type 'Qlik.Engine.Communication.CommunicationErrorException' occurred in Qlik.Engine.dll&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Additional information: Connection failed after 4 attempts. Unable to keep connection open: Failed to ensure open connection: One or more errors occurred.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Appreciate all the help I can get!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 14:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165411#M5625</guid>
      <dc:creator />
      <dc:date>2016-06-21T14:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to QlikSense server through .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165412#M5626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am basically trying to call my qvf file (which reloads my app by taking in parameters) in .NET and then I can execute this .NET program through command line by calling it in my SSIS package. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 14:46:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165412#M5626</guid>
      <dc:creator />
      <dc:date>2016-06-21T14:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to QlikSense server through .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165413#M5627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah I found the solution, I enabled http in proxies and then wrote - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ILocation location = Qlik.Engine.Location.FromUri(new Uri("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://abc.com" rel="nofollow" target="_blank"&gt;http://abc.com&lt;/A&gt;&lt;SPAN&gt;"));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location.AsNtlmUserViaProxy(proxyUsesSsl: false); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 15:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165413#M5627</guid>
      <dc:creator />
      <dc:date>2016-06-21T15:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to QlikSense server through .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165414#M5628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meghana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to connect now? Whats the final code you arrived at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still have issues connecting, in-spite of white-listing the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error i get is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;An unhandled exception of type 'System.AggregateException' occurred in mscorlib.dll&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you come across?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 11:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165414#M5628</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2017-01-03T11:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to QlikSense server through .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165415#M5629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meghana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am trying to connect Qlik Sense server through dotnet sdk and getting below mentioned error:-&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: Verdana; color: #000000; margin-top: -5px; font-size: 11.2px;"&gt; &lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; font-size: 11.2px;"&gt;Qlik.Sense.JsonRpc.CommunicationErrorException: Connection failed after 4 attempts. Error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; font-size: 11.2px;"&gt; Value cannot be null.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; font-size: 11.2px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, Geneva, SunSans-Regular, sans-serif; font-size: 11.2px;"&gt;I tried :-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; location.AsNtlmUserViaProxy(proxyUsesSsl: uri.Scheme.Equals(Uri.UriSchemeHttps), loginCredentials: new NetworkCredential(username, password, domain));&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Could you please share your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Nayana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 10:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165415#M5629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-04T10:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to QlikSense server through .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165416#M5630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;I am not well experienced .Net developer(neither C#). However I was able to connect to the server using some of the code provided in &lt;A href="https://github.com/AptkQlik/PublicExamples"&gt;&lt;SPAN style="color: windowtext;"&gt;https://github.com/AptkQlik/PublicExamples&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;I used the method in &lt;A href="https://github.com/AptkQlik/PublicExamples/tree/master/ConnectDirectRemoteServer" title="ConnectDirectRemoteServer"&gt;&lt;SPAN style="color: windowtext; background: white;"&gt;ConnectDirectRemoteServer&lt;/SPAN&gt;&lt;/A&gt; . However I guess if the SSl is enabled there may be an issue with code. I had to set&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;certificateValidation: false to the AsDirectConnection method&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;i.e.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location.AsDirectConnection("domain", "user", certificateCollection: certificateCollection);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;to&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt; &lt;SPAN style="font-family: Arial, sans-serif;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;location.AsDirectConnection(“user &lt;/SPAN&gt;directory&lt;SPAN style="font-size: 10pt;"&gt; name", "user_id", certificateValidation: false, certificateCollection: certificateCollection);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;This code to be worked, need to export certificate into the remote server where you run this code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Also worth checking the following been setup (I did not want to set allow http in QMC or &lt;SPAN style="background: white;"&gt;Windows authentication patterns &lt;/SPAN&gt;to windows as it mentioned, but had to allow firewall to accept 4747 port and allow request from my ip to the server)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/NetSDKAPI/Content/CodeExamples/Troubleshooting.htm"&gt;&lt;SPAN style="color: windowtext;"&gt;http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/NetSDKAPI/Content/CodeExamples/Troubleshooting.htm&lt;/SPAN&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 01:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165416#M5630</guid>
      <dc:creator>vishva2000</dc:creator>
      <dc:date>2017-08-30T01:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to QlikSense server through .NET SDK</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165417#M5631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm facing the same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find any solution ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Feb 2018 15:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Unable-to-connect-to-QlikSense-server-through-NET-SDK/m-p/1165417#M5631</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2018-02-10T15:05:16Z</dc:date>
    </item>
  </channel>
</rss>

