Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Nov 22, 2021 4:10:44 AM
Jul 22, 2016 4:01:35 AM
All the pre-requisites are met, but the QlikView Publisher fails to distribute/link a document in the Qlik Sense Unified hub.
For information on the pre-requisites, see: Publish a link to a QlikView document in the Qlik Sense hub.
Https has been enabled in the QVDistributionService.exe.config:
<add key="UseHTTPS" value="true" />
The task logs show errors like:
Error Unified Hub: Server certificate validation error(s): RemoteCertificateNameMismatch
Error Unified Hub: Failed selecting existing doc links as Service Account. Exception=System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure. || at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult) || at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) || --- End of inner exception stack trace --- || at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) || at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) || --- End of stack trace from previous location where exception was thrown --- || at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) || at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) || at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() || at QDSMain.UnifiedHubCommSupport.<RequestAsync>d__8.MoveNext()
A mismatched hostname in the Qlik Sense Repository. For instance, it might be that in one case the hostname is specified without the full domain, while in the other the full name (or IP address) is used.
Look for the certificate name in the QlikSense server.
Then check the QVDistributionService.exe.config (default location: C:\Program Files\QlikView\Distribution Service ) and ensure that in the line
<add key="QRSMachineName" value="SERVERNAME" />
the SERVERNAME value is identical and written in the same way as the one in the certificate.
If not, change the value in QVDistributionService.exe.config, save and restart the service.