Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Connection to Qlik service failed, shutting down. OnEngineWebsocketFailed

Hi everyone,

I am working with Qlik sense .Net SDK. I am using AsExistingSessionViaProxy() method to authenticate user. After authentication i fetch list of App to display in drop-down control.

Scenario of Issue: Suppose a user has open an app in web browser. and I open same app form my code using same userid then i get an error pop up saying connection lost.

Pop up display when i call this function: location.App(appIdentifier)

Capture.PNG

Code sample:

   location.AsExistingSessionViaProxy(sessionId, "X-Qlik-Session", certificateValidation: false);

   var appIdentifier = location.AppWithId(appId);

  using (IApp app = location.App(appIdentifier))  //Pop up display when this line execute.

     {

          list = app.GetSheetList().Items.ToList();

     }

4 Replies
Not applicable
Author

Please help.....

Øystein_Kolsrud
Employee
Employee

I am not particularly familiar with that type of connection, but there is an example available that utilizes AsExistingSessionViaProxy. Perhaps that can provide some clues as to what is wrong? You can find the example here:

https://github.com/AptkQlik/PublicExamples/blob/master/ConnectServerTicketAttach/Program.cs

Best regards, Øystein Kolsrud

Not applicable
Author

Thank you yko for your reply.

Link is not working

Øystein_Kolsrud
Employee
Employee

Sorry, wrong link... I have updated it now.