Qlik Community

Ask a Question

Integration, Extension & APIs

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

Our May 2021 end-to-end product release from Data Integration to Data Analytics is out! READ DETAILS
Showing results for 
Search instead for 
Did you mean: 

Connection issue to qliksense using .Net sdk

Asp .net webform project using current  qlik sense .Net sdk

Getting error:
Ticket retrieved, but unable to establish websocket connection: Unable to connect to the remote server

my code:


 ILocation location = Qlik.Engine.Location.FromUri("https://....");

            location.VirtualProxyPath = "qlikdemo";
            location.AsNtlmUserViaProxy(proxyUsesSsl: true);

             using (IHub hub = location.Hub())


                    Literal1.Text = hub.EngineVersion().ComponentVersion;




* I am able to open qliksense using the URL in browser on same station, i do not need to login.  I can view qlik and anything. but i'm not admin on qlik. 

* My code run from other windows server, it is not same server.

Any help apprecaited as is tuck on this for few days... : (


1 Reply

Have you tried to use a debug console? You might get more information there. Something like this:

using (new DebugConsole())
using (IHub hub = location.Hub())
    Literal1.Text = hub.EngineVersion().ComponentVersion;

That will write extra output to stdout. You can provide a TextWriter instance to the DebugConsole instance if you want to write to a file instead.