Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
berndpodhradsky
Partner - Contributor III
Partner - Contributor III

.NET SDK 15.3.3 leads to new exception

Hi!

When upgrading from 15.3.0 to 15.3.3 of the .NET SDK when connecting to a Qlik Sense Server (on premise) using AsNtlmUserViaProxy. It used to work in previous versions without any issue.

Unable to retrieve ticket as authentication information contained no login URI.
AuthenticationException: Unable to retrieve ticket as authentication information contained no login URI.
at Qlik.Engine.Communication.QlikConnection.AwaitResponseTask[T](T task, String methodName, CancellationToken cancellationToken)
at Qlik.Engine.Communication.QlikConnection.AwaitResponse(Task task, String methodName, CancellationToken cancellationToken)
at Qlik.Engine.Communication.QlikConnection.Ping()
at Qlik.Sense.JsonRpc.GenericLocation.DisposeOnError(IDisposable o, Action f)
at Qlik.Engine.LocationExtensions.Hub(ILocation location, ISession session)
at Qlik.Engine.LocationExtensions.GetAppIdentifiers(ILocation location)

Is that a bug in the new version or do we have to change something on our end?

Kind Regards,
Bernd

1 Solution

Accepted Solutions
Øystein_Kolsrud
Employee
Employee

That was an accidental effect of fixing an issue in the handling of anonymous accesses. .NET SDK v15.3.4 has been uploaded that fixes this issue.

Sorry for the inconvenience!

View solution in original post

4 Replies
Øystein_Kolsrud
Employee
Employee

That was an accidental effect of fixing an issue in the handling of anonymous accesses. .NET SDK v15.3.4 has been uploaded that fixes this issue.

Sorry for the inconvenience!

berndpodhradsky
Partner - Contributor III
Partner - Contributor III
Author

Downloaded 15.3.4 and it works again - thanks.

marksouzacosta

Hi Yko,

I'm having the same issue using the SDK version 15.6.2.
This is one sample of the code:

var location = Location.FromUri(originServer.URL);
location.VirtualProxyPath = originServer.VirtualProxy;
var securedPassword = Security.ConvertStringToSecureString(GetDecryptedPassword(originServer.Password));
location.AsNtlmUserViaProxy(loginCredentials: new NetworkCredential(originServer.User, securedPassword, originServer.Domain), certificateValidation: false);

// Test code
try {
    using var hub = location.Hub();
    hub.EngineVersion();
}
catch (Exception ex) {
    Helpers.LogWebError("IPDF", "QlikWrapper", ex);
}

The error happens on using var hub = location.Hub();

Can you please help me on this?

 

Thank you,

Mark Costa

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

marksouzacosta


@marksouzacosta wrote:

Hi Yko,

I'm having the same issue using the SDK version 15.6.2.
This is one sample of the code:

var location = Location.FromUri(originServer.URL);
location.VirtualProxyPath = originServer.VirtualProxy;
var securedPassword = Security.ConvertStringToSecureString(GetDecryptedPassword(originServer.Password));
location.AsNtlmUserViaProxy(loginCredentials: new NetworkCredential(originServer.User, securedPassword, originServer.Domain), certificateValidation: false);

// Test code
try {
    using var hub = location.Hub();
    hub.EngineVersion();
}
catch (Exception ex) {
    Helpers.LogWebError("IPDF", "QlikWrapper", ex);
}

The error happens on using var hub = location.Hub();

Can you please help me on this?

 

Thank you,

Mark Costa


I tried without the Virtual Proxy and it is working again. Maybe something have changed on our server side.

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com