Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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!
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!
Downloaded 15.3.4 and it works again - thanks.
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 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