Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor

Unable to connect to QlikSense server through .NET SDK

Hi,

  I am trying to connect Qlik Sense server through dotnet sdk and getting below mentioned error:-

Qlik.Sense.JsonRpc.CommunicationErrorException: Connection failed after 4 attempts. Error message:

Value cannot be null.

I tried :-

  location.AsNtlmUserViaProxy(proxyUsesSsl: uri.Scheme.Equals(Uri.UriSchemeHttps), loginCredentials: new NetworkCredential(username, password, domain));

Please help me to solve this issue.

Thanks,

Nayana

13 Replies
Highlighted
Employee
Employee

I believe that depends on the settings of the server you are connecting to, but typically you do not need certificates to connect with the SDK. The most common way of connecting is using NTLM authentication which pretty much hides most parts of how the authentication handshaking is handled.

Highlighted
Contributor
Contributor

thank You for your Reply. When I try NTLM authnetication I am following error:-

Connection failed after 4 attempts. Error message:

  GeneralCommunicationException with communication error WebSocketConnectionNotAccepted and http error code 500

  GeneralCommunicationException with communication error WebSocketConnectionNotAccepted and http error code 500

  GeneralCommunicationException with communication error WebSocketConnectionNotAccepted and http error code 500

  GeneralCommunicationException with communication error WebSocketConnectionNotAccepted and http error code 500

httperrorcode500.png

Highlighted
Luminary
Luminary

Hi,

this can be also a IPv6 Problem. I had the same issue at a customer with DNS -> IPv6 resolution. If got the same error message. After using the IPv4 it was working fine.

bye Konrad

Highlighted
Contributor
Contributor

Hi ,

please check the default virtual  proxy make it Windows Authentication .

if you still facing this issue , you can reach me by this mail : tarek.hashhash@yahoo.com.

thanks