Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have been using a consultant to help me upgrade QV to April 20 and NPrinting to June 20. QV upgrade was fine but the NPrinting I am having issues with.
Firstly I cannot reload meta data on the Connections..The task error shows
Cache generation failed: NPrinting Engine(s) failed to open document: navigator=qlikview;documentpath="qvp://DCL1-QLIK-WV03/FIN-LIVE-UserApps/Board report/BoardReport.qvw";identity=3i\serv-qlikview. Check connection page for connection status.. Check logs for details
But I can open the report from N Printing as 3i\serv-qlikview
In Connections when I run verification
The QlikView Server is reachable. - this shows as fail
Do you know what I could check? Thanks
Paul
In the scheduler log file:
Connection navigator=qlikview;documentpath=qvp://DCL1-QLIK-WV03/FIN-LIVE-UserApps/Costc/Cost_Report.qvw;identity=3i\serv-qlikview recorded an error in startup
IN the engine log
Engine.Navigator.QlikView.QV12.30 20.19.5.0 Engine.Navigator.QlikView.QV.QlikViewConnectionStringDiagnoser 20200828T131435.365+01:00 ERROR DCL1-QLIK-WV02 0 0 0 0 0 0 0 0 Evaluation of step QlikViewQVSMachineIsReachable for connection string navigator=qlikview;documentpath="qvp://DCL1-QLIK-WV03/FIN-LIVE-UserApps/Board report/BoardReport.qvw";identity=3i\serv-qlikview;qlikviewversion=12.50.20100 failed. System.Exception: Authentication Failed↵↓↵↓Server stack trace: ↵↓ at QlikTech.NetClient.QvClient.Open()↵↓ at Qlik.QlikView.Interfaces.ServerAPI.QlikViewServer.QvServer..ctor(String host, Mode mode, Boolean https, String ticket) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Qlik.QlikView11\ServerAPI\QlikViewServer.QvServer.cs:line 29↵↓↵↓Exception rethrown at [0]: ↵↓ at System.ExceptionExtensions.Rethrow(Exception this) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Qlik\Qlik.Reporting.Common\System\ExceptionExtensions.cs:line 231↵↓ at Qlik.QlikView.Interfaces.ServerAPI.QlikViewServer.QvServer..ctor(String host, Mode mode, Boolean https, String ticket) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Qlik.QlikView11\ServerAPI\QlikViewServer.QvServer.cs:line 33↵↓ at Qlik.QlikView.Interfaces.ServerAPI.QlikViewServer..ctor(Uri serverUrl, String ticket) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Qlik.QlikView11\ServerAPI\QlikViewServer.cs:line 42↵↓ at Engine.Navigator.QlikView.QV.QlikViewConnectionStringDiagnoser.<>c__DisplayClass8_0.<CheckQlikViewServerIsReachable>b__0() in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewConnectionStringDiagnoser.cs:line 444↵↓ at System.Threading.Tasks.Task`1.InnerInvoke()↵↓ at System.Threading.Tasks.Task.Execute()↵↓↵↓Exception rethrown at [1]: ↵↓ at System.ExceptionExtensions.SimplifyExceptions(Action code) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Qlik\Qlik.Reporting.Common\System\ExceptionExtensions.cs:line 304↵↓ at Engine.Navigator.QlikView.BaseQlikViewConnectionStringDiagnoser.ExecuteWithTimeout(Task task, TimeSpan timeout, Func`2 throwTimeoutException) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\BaseQlikViewConnectionStringDiagnoser.cs:line 21↵↓↵↓Exception rethrown at [2]: ↵↓ at System.ExceptionExtensions.Rethrow(Exception this) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Qlik\Qlik.Reporting.Common\System\ExceptionExtensions.cs:line 231↵↓ at Engine.Navigator.QlikView.BaseQlikViewConnectionStringDiagnoser.ExecuteWithTimeout(Task task, TimeSpan timeout, Func`2 throwTimeoutException) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\BaseQlikViewConnectionStringDiagnoser.cs:line 28↵↓ at Engine.Navigator.QlikView.BaseQlikViewConnectionStringDiagnoser.ExecuteWithTimeout[T](Task`1 task, TimeSpan timeout, Func`2 throwTimeoutException) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\BaseQlikViewConnectionStringDiagnoser.cs:line 49↵↓ at Engine.Navigator.QlikView.BaseQlikViewConnectionStringDiagnoser.ExecuteWithTimeout[T](Func`1 code, TimeSpan timeout, Func`2 throwTimeoutException) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\BaseQlikViewConnectionStringDiagnoser.cs:line 57↵↓ at Engine.Navigator.QlikView.BaseQlikViewConnectionStringDiagnoser.TryStep[T](ConnectionString connectionString, DiagnoseStep step, Func`1 stepCode, T& result) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\BaseQlikViewConnectionStringDiagnoser.cs:line 87↵↓ ↵↓=============↵↓ at Qlik.NPrinting.Common.Utils.NPLog.Error(String message, Exception ex, NPLoggingContext loggingContext)↵↓ at Engine.Navigator.QlikView.BaseQlikViewConnectionStringDiagnoser.TryStep[T](ConnectionString connectionString, DiagnoseStep step, Func`1 stepCode, T& result) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\BaseQlikViewConnectionStringDiagnoser.cs:line 87↵↓ at Engine.Navigator.QlikView.QV.QlikViewConnectionStringDiagnoser.Diagnoser.PerformServerDiagnosis(Boolean fromCluster) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewConnectionStringDiagnoser.cs:line 240↵↓ at Engine.Navigator.QlikView.QV.QlikViewConnectionStringDiagnoser.Engine.Navigator.QlikView.IQlikViewConnectionStringDiagnoser.PerformDiagnosis(EngineLog log, Action`1 sendResponse) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine.Navigator.QlikView\QVx\QlikViewConnectionStringDiagnoser.cs:line 555↵↓ at Qlik.NPrinting.Engine.Diagnostics.EngineDiagnoserService.PerformDiagnosis(DiagnoseRequestMessage requestMessage, EngineLog log, Action`1 sendResponse) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Engine\Diagnostics\EngineDiagnoserService.cs:line 71↵↓ at Qlik.NPrinting.Common.Queues.ConnectionStringDiagnoserQueue.DoOnRequest(Object sender, IReceivedEventArgs args) in C:\Jws\release-june2020-gPtqcQ49u\server\NPrinting\src\Common\Queues\ConnectionStringDiagnoserQueue.cs:line 71↵↓ at System.Threading.Tasks.Task.Execute()↵↓ at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)↵↓ at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)↵↓ at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)↵↓ at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)↵↓ at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)↵↓ at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)↵↓ at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)↵↓ at System.Threading.ThreadHelper.ThreadStart(Object obj)↵↓=============↵↓
Web engine log
Qlik.NPrinting.WebEngine.Controllers.HttpHelper 20200828T102548.011+01:00 ERROR DCL1-QLIK-WV02 serv-qlikview 0 0 0 0 0 0 0 0 Service exception serving the request http://dcl1-qlik-wv02:4996/npe/license Qlik.NPrinting.Repo.ServiceException: Incompatible Key And Controlnumber↵↓ at Qlik.NPrinting.Repo.Service.LicenseService.ActivateOnline(String licenseKey, Int32 controlNumber, String organization, String userName) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\Repo\Service\LicenseService.cs:line 236↵↓ at Qlik.NPrinting.WebEngine.Controllers.LicenseController.<>c__DisplayClass4_0.<Put>b__0(ISession session) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\LicenseController.cs:line 47↵↓ at Qlik.NPrinting.WebEngine.Controllers.HttpHelper.<>c__DisplayClass10_0`2.<WithSessionAndMapping>b__0(ISession session) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\HttpHelper.cs:line 99↵↓ at Qlik.NPrinting.Repo.Service.SessionManager.WithSession[T](Func`2 body, IsolationLevel isolationLevel, Boolean readOnly) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\Repo\Service\SessionManager.cs:line 76↵↓ at Qlik.NPrinting.WebEngine.Controllers.HttpHelper.WithSessionAndMapping[TV,TD](Func`2 body, Func`2 mapper) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\HttpHelper.cs:line 97↵↓ at Qlik.NPrinting.WebEngine.Controllers.HttpHelper.WithSessionAndMapping[TV,TD](Func`2 body) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\HttpHelper.cs:line 91↵↓ at Qlik.NPrinting.WebEngine.Controllers.HttpHelper.<>c__DisplayClass8_0`2.<WithSessionAndErrorHandling>b__0() in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\HttpHelper.cs:line 80↵↓ at Qlik.NPrinting.WebEngine.Controllers.HttpHelper.WithErrorHandling[T](HttpRequestMessage request, String nullMsg, Func`1 body, ApiCrudOperation apiCrudOperation, String locationHeaderApiPath) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\HttpHelper.cs:line 133↵↓ ↵↓=============↵↓ at Qlik.NPrinting.Common.Utils.NPLog.Error(String message, Exception ex, NPLoggingContext loggingContext)↵↓ at Qlik.NPrinting.WebEngine.Controllers.HttpHelper.WithErrorHandling[T](HttpRequestMessage request, String nullMsg, Func`1 body, ApiCrudOperation apiCrudOperation, String locationHeaderApiPath) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\HttpHelper.cs:line 133↵↓ at Qlik.NPrinting.WebEngine.Controllers.HttpHelper.WithSessionAndErrorHandling[TV,TD](HttpRequestMessage request, String notFoundMsg, Func`2 body, TV& viewResult) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\HttpHelper.cs:line 77↵↓ at Qlik.NPrinting.WebEngine.Controllers.HttpHelper.WithSessionAndErrorHandling[TV,TD](HttpRequestMessage request, String notFoundMsg, Func`2 body) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\HttpHelper.cs:line 70↵↓ at Qlik.NPrinting.WebEngine.Controllers.LicenseController.Put(License webLicense) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Controllers\LicenseController.cs:line 36↵↓ at lambda_method(Closure , Object , Object[] )↵↓ at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)↵↓ at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)↵↓ at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()↵↓ at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)↵↓ at System.Web.Http.Controllers.ApiControllerActionInvoker.InvokeActionAsyncCore(HttpActionContext actionContext, CancellationToken cancellationToken)↵↓ at System.Web.Http.Controllers.ApiControllerActionInvoker.InvokeActionAsync(HttpActionContext actionContext, CancellationToken cancellationToken)↵↓ at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>b__0(ActionInvoker innerInvoker)↵↓ at System.Web.Http.Controllers.ActionFilterResult.<>c__DisplayClass10`1.<InvokeActionWithActionFilters>b__f()↵↓ at Qlik.NPrinting.WebEngine.License.LicenseHandler.ExecuteActionFilterAsync(HttpActionContext actionContext, CancellationToken cancellationToken, Func`1 continuation) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\License\LicenseHandler.cs:line 43↵↓ at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()↵↓ at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)↵↓ at System.Web.Http.Controllers.ActionFilterResult.ExecuteAsync(CancellationToken cancellationToken)↵↓ at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)↵↓ at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()↵↓ at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)↵↓ at System.Web.Http.Dispatcher.HttpControllerDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)↵↓ at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)↵↓ at System.Web.Http.Dispatcher.HttpRoutingDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)↵↓ at System.Net.Http.DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)↵↓ at Qlik.NPrinting.WebEngine.Security.AuthenticationHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Security\AuthenticationHandler.cs:line 111↵↓ at System.Net.Http.DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)↵↓ at Qlik.NPrinting.WebEngine.Cors.NpCorsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in C:\Jws\release-19.9.x-GsL0YuxYW\server\NPrinting\src\WebEngine\Cors\NpCorsHandler.cs:line 121↵↓ at System.Net.Http.DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)↵↓ at System.Web.Http.HttpServer.<SendAsync>d__0.MoveNext()↵↓ at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)↵↓ at System.Web.Http.HttpServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)↵↓ at System.Web.Http.SelfHost.HttpSelfHostServer.<SendAsync>d__5.MoveNext()↵↓ at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)↵↓ at System.Web.Http.SelfHost.HttpSelfHostServer.SendAsync(ChannelContext channelContext, RequestContext requestContext)↵↓ at System.Web.Http.SelfHost.HttpSelfHostServer.<ProcessRequestContext>d__0.MoveNext()↵↓ at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)↵↓ at System.Web.Http.SelfHost.HttpSelfHostServer.ProcessRequestContext(ChannelContext channelContext, RequestContext requestContext)↵↓ at System.Web.Http.SelfHost.HttpSelfHostServer.ReceiveRequestContextComplete(IAsyncResult result)↵↓ at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)↵↓ at System.Runtime.InputQueue`1.AsyncQueueReader.Set(Item item)↵↓ at System.Runtime.InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread)↵↓ at System.Runtime.InputQueue`1.EnqueueAndDispatch(T item, Action dequeuedCallback, Boolean canDispatchOnThisThread)↵↓ at System.ServiceModel.Channels.SingletonChannelAcceptor`3.Enqueue(QueueItemType item, Action dequeuedCallback, Boolean canDispatchOnThisThread)↵↓ at System.ServiceModel.Channels.HttpPipeline.EnqueueMessageAsyncResult.CompleteParseAndEnqueue(IAsyncResult result)↵↓ at System.ServiceModel.Channels.HttpPipeline.EnqueueMessageAsyncResult.HandleParseIncomingMessage(IAsyncResult result)↵↓ at System.Runtime.AsyncResult.SyncContinue(IAsyncResult result)↵↓ at System.ServiceModel.Channels.HttpPipeline.EmptyHttpPipeline.BeginProcessInboundRequest(ReplyChannelAcceptor replyChannelAcceptor, Action dequeuedCallback, AsyncCallback callback, Object state)↵↓ at System.ServiceModel.Channels.HttpChannelListener`1.HttpContextReceivedAsyncResult`1.ProcessHttpContextAsync()↵↓ at System.ServiceModel.Channels.HttpChannelListener`1.BeginHttpContextReceived(HttpRequestContext context, Action acceptorCallback, AsyncCallback callback, Object state)↵↓ at System.ServiceModel.Channels.SharedHttpTransportManager.EnqueueContext(IAsyncResult listenerContextResult)↵↓ at System.ServiceModel.Channels.SharedHttpTransportManager.OnGetContextCore(IAsyncResult listenerContextResult)↵↓ at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)↵↓ at System.Net.LazyAsyncResult.Complete(IntPtr userToken)↵↓ at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)↵↓ at System.Net.ListenerAsyncResult.IOCompleted(ListenerAsyncResult asyncResult, UInt32 errorCode, UInt32 numBytes)↵↓ at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)↵↓=============↵↓
Hi Paul
Please note that we are currently working on this 'authentication failed' issue with another customer via a ticket submitted to our support desk.
The investigation ID is OP-9493 for your reference purposes.
Please start a support request with the Qlik Support desk and quote the above ID so that you can add your voice to this issue.
Thank you.
Also if possible and when convenient, please modify this discussion title so that it more accurately represents the specific issue with regard to the verification error that you are seeing.
Hi @paul_ripley
I see 2 issues here:
1. First - You say you have upgraded to QV April 2020 - as per documentation this version is not supported. @Frank_S - would that be your comment too? https://help.qlik.com/en-US/nprinting/June2020/Content/NPrinting/DeployingQVNprinting/System-require...
2. Second - You said you have upgraded QlikView to v April 20. Based on your logs your QV desktop is still November 2018. Did you forget to upgrade QlikView desktop on the nprinting engine node?
thanks L.
Yes @Lech_Miszkiewicz I do agree with your 'unsupported' comment.
We are, however, seeing this issue in supported versions of QlikView desktop and server as well with June 2020 and later. Thus far this is an 'edge' case (only 2 reported including this one) that we are in the process of investigating.
Thanks @Frank_S - good to know!
The customer you are dealing with is possibly the consultant I was using as he said he had logged a ticket with Qlik.
As per Lech it is possible that the issue is that we upgraded to N Print June 20 and assumed that the best thing to do was also to upgrade to April 20 QV but the documentation says April 20 QV is not supported by N Printing June 20
1.) So it appears we need to roll back to April 2019 for QV and for N Printing? Would that be the suggestion as the latest version of N Print doesnt work with the latest version of QV?
2) I checked and not sure why the log says that as the QV version on the N Print server says April 20
So just to double check, the best thing to do is roll back to April 2019 for QV and N Printing?
Please open a support case if you haven't already done so and share this community discussion and OP-9493.
It is a theory only, at this stage of the investigation, that the problem is in NP June 2020.
Rolling back may or may not be the solution. If you have a test environment that you can work with, that would be ideal and test an older version of NPrinting there.
For PROD, I would suggest switching to local connections and scheduling regular NP connection reloads until we can solve the issue on our end.