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: 
Anonymous
Not applicable

Unable to connet qlik sense hub from .Net using C#

Hi All,

I have created a virtual proxy in QMC as below:

                // Qlik Sense Virtual Proxy

                // ------------------------

                //

                // Description: Telegram

                // Prefix: telegram

                // Timeout: 30

                // Session cookie header name: X-Qlik-Session-telegram

                // Anonymous access mode: No anonymous user

                // Authentication method: Header authentication static user directory

                // Header authentication header name: X-Qlik-HeaderAuthTelegram

                // Header authentication static user directory: TELEGRAM

Then I am trying to connect qlik sense hub as below:

            string strUri = qsServer;

            Uri uri = new Uri(strUri);

            qsLocation = Qlik.Engine.Location.FromUri(uri);

            if (VirtualProxyPath.Trim() != "") qsLocation.VirtualProxyPath = VirtualProxyPath;

            qsLocation.AsStaticHeaderUserViaProxy(UserId, HeaderAuthName, UseSSL);

            qsLocation.IsVersionCheckActive = CheckSDKVersion;

            IHub MyHub = qsLocation.Hub();

I am getting below exception while trying to call qsLocation.Hub()

{"Connection failed after 4 attempts. Error message:\r\n  The remote certificate is invalid according to the validation procedure."}

Please help ...

1 Reply
Anonymous
Not applicable
Author

someone please help ...