Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
balajibc64
Specialist
Specialist

Issue in Qlik NPrinting task

Hi, we are using Qlik NPrinting for our report analysis. Last week suddenly our Qlik NPrinting task got stuck and getting reloaded. After that we restart the server and reloaded the task manually. Then its working fine. 

How to find the root cause of this issue? Where to find the logs ? Please suggest. 

Labels (4)
11 Replies
Ruggero_Piccoli
Support
Support

Hi,

Your post is very generic and lacks in details so I cannot supply more suggestions. I suggest you to add details like screenshots, error messages, steps to reproduce.

For generic information, like where to find logs, I suggest to start from the official help site and, in case, use its search bar.

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
balajibc64
Specialist
Specialist
Author

Hi @Ruggero_Piccoli Thanks. Actually not sure exactly where is the issue and where to look into this. Moreover I cant place screen shot because of restriction from IT team.  Let me check your links. 

balajibc64
Specialist
Specialist
Author

Hi @Ruggero_Piccoli I checked those links, but all related to logs setup. We already some default setup. Question how and where to check the logs for Qlik NPrinting failure (I mean location and filename). 

Ruggero_Piccoli
Support
Support

Hi,

The first link describes how to set the log levels and where log files are stored: %ProgramData%\NPrinting\Logs.

Open the log files and search for error messages.

You could also stop the Qlik NPrinting Windows services, move the log files to a different location and restart the services. After you can reproduce the error so find related messages will be easier.

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
balajibc64
Specialist
Specialist
Author

Yes. I looked into this log folder. I have logs related to Web, Engine, Audit etc. Moreover, I cant reproduce this issue because not sure how it happens. 

balajibc64
Specialist
Specialist
Author

@Ruggero_Piccoli Is that any specific log need to look? 

In log file, timestamp showing like 20230903T010000.189+03:00 Could you pls clarify how to check the exact time?

Ruggero_Piccoli
Support
Support

Hi,

About timestamp refer to https://en.wikipedia.org/wiki/ISO_8601.

Open those log files and search the word "ERROR". If there are some read the message. 

Open the task execution page, search the execution that had issues and open it to check the details. 

If you are able to reproduce the problem you could also open a support ticket and share all the information needed to allow us to reproduce it in order to be able to investigate. Include the complete log files.

Try to run again the same task. If it ended with errors share them here and:

- check that all used connections are working. Try to reload their caches.

- check that all involved entities are enabled. If not you have WARNING messages 

- check that all templates in the publish task can be previewed in the Designer

I cannot help more until I have more detailed information. 

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
balajibc64
Specialist
Specialist
Author

Hi @Ruggero_Piccoli Thanks for your clarification. Yes I got the timestamp details.  

1. Yes I checked the task logs from NPrinting, but not that much detailed one. 

2. On issue day, we restart the server and tried to run task manually so ran successfully. Now task working fine. 

As per log details, I have checked Engine log and below mention for the particular time. 

Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.Options 20230903T210045.463+03:00 ERROR QLS0003 0 0 0 0 0 0 0 0 Some arguments could not be parsed.
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.Options 20230903T210045.494+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 Use --help for help with the command line arguments.
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.EngineService 20230903T210045.588+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 Starting up Engine service
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.EngineService 20230903T210045.885+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 Starting RabbitMQ connection using certificate B9DCA30CC6CB1D2512116A978AB1B0FD0DEE87F4
Qlik.NPrinting.Common 23.20.1.0 Qlik.NPrinting.Common.Messaging.RabbitMQClient.Communication 20230903T210100.965+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 RabbitMq server is not connected - trying diagnoser queue creation again in 5 seconds
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.EngineService 20230903T210101.215+03:00 ERROR QLS0003 0 0 0 0 0 0 0 0 RabbitMq service is not connected - trying again in 3 seconds. ERROR: RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> System.AggregateException: One or more errors occurred. ---> RabbitMQ.Client.Exceptions.ConnectFailureException: Connection failed ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 172.29.22.129:5672↓↓ at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)↓↓ at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)↓↓ at System.Net.Sockets.Socket.Connect(IPAddress address, Int32 port)↓↓ at System.Threading.Tasks.Task.Execute()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.TcpClientAdapter.<ConnectAsync>d__2.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.TaskExtensions.<TimeoutAfter>d__0.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectUsingAddressFamily(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan timeout, AddressFamily family)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler..ctor(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)↓↓ at RabbitMQ.Client.ConnectionFactory.CreateFrameHandler(AmqpTcpEndpoint endpoint)↓↓ at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)↓↓ at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IEndpointResolver endpoints)↓↓ at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)↓↓ at EasyNetQ.PersistentConnection.Connect()↓↓ at EasyNetQ.PersistentConnection.CreateModel()↓↓ at EasyNetQ.Producer.PersistentChannel.<InvokeChannelActionAsync>d__10`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.Producer.MultiChannelClientCommandDispatcher.<InvokeAsync>d__4`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.RabbitAdvancedBus.<QueueDeclareAsync>d__23.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.DefaultPubSub.<SubscribeAsyncInternal>d__8`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.PubSubExtensions.Subscribe[T](IPubSub pubSub, String subscriptionId, Func`3 onMessage, Action`1 configure, CancellationToken cancellationToken)↓↓ at EasyNetQ.PubSubExtensions.Subscribe[T](IPubSub pubSub, String subscriptionId, Action`1 onMessage, Action`1 configure, CancellationToken cancellationToken)↓↓ at Qlik.NPrinting.Engine.Engine.RegisterBroadcastSafeListener[T](IBus bus, Action`1 onMessage, CancellationToken token) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\Engine.cs:line 191↓↓ at Qlik.NPrinting.Engine.Engine.Start() in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\Engine.cs:line 65↓↓ at Qlik.NPrinting.Engine.EngineService.StartRabbitMqComponents(IEnumerable`1 startables, CancellationToken token, Int32 retrySeconds) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\EngineService.cs:line 269
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.EngineService 20230903T210101.215+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 Slave Engine Service started successfully
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.EngineService 20230903T210106.262+03:00 ERROR QLS0003 0 0 0 0 0 0 0 0 RabbitMq service is not connected - trying again in 6 seconds. ERROR: RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> System.AggregateException: One or more errors occurred. ---> RabbitMQ.Client.Exceptions.ConnectFailureException: Connection failed ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 172.29.22.129:5672↓↓ at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)↓↓ at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)↓↓ at System.Net.Sockets.Socket.Connect(IPAddress address, Int32 port)↓↓ at System.Threading.Tasks.Task.Execute()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.TcpClientAdapter.<ConnectAsync>d__2.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.TaskExtensions.<TimeoutAfter>d__0.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectUsingAddressFamily(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan timeout, AddressFamily family)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler..ctor(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)↓↓ at RabbitMQ.Client.ConnectionFactory.CreateFrameHandler(AmqpTcpEndpoint endpoint)↓↓ at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)↓↓ at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IEndpointResolver endpoints)↓↓ at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)↓↓ at EasyNetQ.PersistentConnection.Connect()↓↓ at EasyNetQ.PersistentConnection.CreateModel()↓↓ at EasyNetQ.Producer.PersistentChannel.<InvokeChannelActionAsync>d__10`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.Producer.MultiChannelClientCommandDispatcher.<InvokeAsync>d__4`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.RabbitAdvancedBus.<QueueDeclareAsync>d__23.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.DefaultPubSub.<SubscribeAsyncInternal>d__8`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.PubSubExtensions.Subscribe[T](IPubSub pubSub, String subscriptionId, Func`3 onMessage, Action`1 configure, CancellationToken cancellationToken)↓↓ at EasyNetQ.PubSubExtensions.Subscribe[T](IPubSub pubSub, String subscriptionId, Action`1 onMessage, Action`1 configure, CancellationToken cancellationToken)↓↓ at Qlik.NPrinting.Engine.Engine.RegisterBroadcastSafeListener[T](IBus bus, Action`1 onMessage, CancellationToken token) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\Engine.cs:line 191↓↓ at Qlik.NPrinting.Engine.Engine.Start() in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\Engine.cs:line 65↓↓ at Qlik.NPrinting.Engine.EngineService.StartRabbitMqComponents(IEnumerable`1 startables, CancellationToken token, Int32 retrySeconds) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\EngineService.cs:line 269
Qlik.NPrinting.Common 23.20.1.0 Qlik.NPrinting.Common.Messaging.RabbitMQClient.Communication 20230903T210108.039+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 RabbitMq server is not connected - trying diagnoser queue creation again in 5 seconds
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.EngineService 20230903T210114.324+03:00 ERROR QLS0003 0 0 0 0 0 0 0 0 RabbitMq service is not connected - trying again in 12 seconds. ERROR: RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> System.AggregateException: One or more errors occurred. ---> RabbitMQ.Client.Exceptions.ConnectFailureException: Connection failed ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 172.29.22.129:5672↓↓ at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)↓↓ at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)↓↓ at System.Net.Sockets.Socket.Connect(IPAddress address, Int32 port)↓↓ at System.Threading.Tasks.Task.Execute()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.TcpClientAdapter.<ConnectAsync>d__2.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.TaskExtensions.<TimeoutAfter>d__0.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectUsingAddressFamily(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan timeout, AddressFamily family)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler..ctor(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)↓↓ at RabbitMQ.Client.ConnectionFactory.CreateFrameHandler(AmqpTcpEndpoint endpoint)↓↓ at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)↓↓ at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IEndpointResolver endpoints)↓↓ at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)↓↓ at EasyNetQ.PersistentConnection.Connect()↓↓ at EasyNetQ.PersistentConnection.CreateModel()↓↓ at EasyNetQ.Producer.PersistentChannel.<InvokeChannelActionAsync>d__10`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.Producer.MultiChannelClientCommandDispatcher.<InvokeAsync>d__4`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.RabbitAdvancedBus.<QueueDeclareAsync>d__23.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.DefaultPubSub.<SubscribeAsyncInternal>d__8`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.PubSubExtensions.Subscribe[T](IPubSub pubSub, String subscriptionId, Func`3 onMessage, Action`1 configure, CancellationToken cancellationToken)↓↓ at EasyNetQ.PubSubExtensions.Subscribe[T](IPubSub pubSub, String subscriptionId, Action`1 onMessage, Action`1 configure, CancellationToken cancellationToken)↓↓ at Qlik.NPrinting.Engine.Engine.RegisterBroadcastSafeListener[T](IBus bus, Action`1 onMessage, CancellationToken token) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\Engine.cs:line 191↓↓ at Qlik.NPrinting.Engine.Engine.Start() in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\Engine.cs:line 65↓↓ at Qlik.NPrinting.Engine.EngineService.StartRabbitMqComponents(IEnumerable`1 startables, CancellationToken token, Int32 retrySeconds) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\EngineService.cs:line 269
Qlik.NPrinting.Common 23.20.1.0 Qlik.NPrinting.Common.Messaging.RabbitMQClient.Communication 20230903T210115.090+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 RabbitMq server is not connected - trying diagnoser queue creation again in 5 seconds
Qlik.NPrinting.Common 23.20.1.0 Qlik.NPrinting.Common.Messaging.RabbitMQClient.Communication 20230903T210122.138+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 RabbitMq server is not connected - trying diagnoser queue creation again in 5 seconds
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.EngineService 20230903T210128.399+03:00 ERROR QLS0003 0 0 0 0 0 0 0 0 RabbitMq service is not connected - trying again in 24 seconds. ERROR: RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> System.AggregateException: One or more errors occurred. ---> RabbitMQ.Client.Exceptions.ConnectFailureException: Connection failed ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 172.29.22.129:5672↓↓ at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)↓↓ at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)↓↓ at System.Net.Sockets.Socket.Connect(IPAddress address, Int32 port)↓↓ at System.Threading.Tasks.Task.Execute()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.TcpClientAdapter.<ConnectAsync>d__2.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.TaskExtensions.<TimeoutAfter>d__0.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectOrFail(ITcpClient socket, AmqpTcpEndpoint endpoint, TimeSpan timeout)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler.ConnectUsingAddressFamily(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan timeout, AddressFamily family)↓↓ at RabbitMQ.Client.Impl.SocketFrameHandler..ctor(AmqpTcpEndpoint endpoint, Func`2 socketFactory, TimeSpan connectionTimeout, TimeSpan readTimeout, TimeSpan writeTimeout)↓↓ at RabbitMQ.Client.ConnectionFactory.CreateFrameHandler(AmqpTcpEndpoint endpoint)↓↓ at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.EndpointResolverExtensions.SelectOne[T](IEndpointResolver resolver, Func`2 selector)↓↓ at RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IEndpointResolver endpoints)↓↓ at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)↓↓ --- End of inner exception stack trace ---↓↓ at RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)↓↓ at EasyNetQ.PersistentConnection.Connect()↓↓ at EasyNetQ.PersistentConnection.CreateModel()↓↓ at EasyNetQ.Producer.PersistentChannel.<InvokeChannelActionAsync>d__10`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.Producer.MultiChannelClientCommandDispatcher.<InvokeAsync>d__4`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.RabbitAdvancedBus.<QueueDeclareAsync>d__23.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.DefaultPubSub.<SubscribeAsyncInternal>d__8`1.MoveNext()↓↓--- End of stack trace from previous location where exception was thrown ---↓↓ at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()↓↓ at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)↓↓ at EasyNetQ.PubSubExtensions.Subscribe[T](IPubSub pubSub, String subscriptionId, Func`3 onMessage, Action`1 configure, CancellationToken cancellationToken)↓↓ at EasyNetQ.PubSubExtensions.Subscribe[T](IPubSub pubSub, String subscriptionId, Action`1 onMessage, Action`1 configure, CancellationToken cancellationToken)↓↓ at Qlik.NPrinting.Engine.Engine.RegisterBroadcastSafeListener[T](IBus bus, Action`1 onMessage, CancellationToken token) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\Engine.cs:line 191↓↓ at Qlik.NPrinting.Engine.Engine.Start() in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\Engine.cs:line 65↓↓ at Qlik.NPrinting.Engine.EngineService.StartRabbitMqComponents(IEnumerable`1 startables, CancellationToken token, Int32 retrySeconds) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine\EngineService.cs:line 269
Qlik.NPrinting.Common 23.20.1.0 Qlik.NPrinting.Common.Messaging.RabbitMQClient.Communication 20230903T210129.212+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 RabbitMq server is not connected - trying diagnoser queue creation again in 5 seconds
Qlik.NPrinting.Common 23.20.1.0 Qlik.NPrinting.Common.Messaging.RabbitMQClient.Communication 20230903T210134.622+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 Connected diagnoser queue to RabbitMQ server
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.Consumer.EngineConsumer 20230903T210152.907+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 Starting Engine Consumer
Qlik.NPrinting.Engine 23.20.1.0 Qlik.NPrinting.Engine.Consumer.EngineConsumer 20230903T210152.907+03:00 INFO QLS0003 0 0 0 0 0 0 0 0 Engine Consumer started successfully
Engine.Navigator.QlikView.QV12.70 23.20.1.0 Engine.Navigator.QlikView.QV.QlikViewDocument.[760]::navigator=qlikview;documentpath="qvp://swdohd5sqls0001.qr.qrgrp.local/ioc/Delay Trends for IOC.qvw";qlikviewversion=12.80.20000 20230903T210906.474+03:00 WARN QLS0003 0 0 0 0 0 0 0 0 Enable Push from Server is enabled. This option is incompatible with NPrinting Server and Cluster connections and can cause severe delays.
Engine.Navigator.QlikView.QV12.70 23.20.1.0 Engine.Navigator.QlikView.QV.QlikViewDocument.[14840]::navigator=qlikview;documentpath=qvp://swdohd5sqls0001.qr.qrgrp.local/gss/fosag.qvw;qlikviewversion=12.80.20000 20230903T211419.592+03:00 WARN QLS0003 0 0 0 0 0 0 0 0 Content request Qlik.Reporting.Engine.Messages.Requests.ColumnNodeRequest 1c4b15cb-77f8-4665-b9ce-ec9e8491493b: resolution aborted with exception Qlik.Reporting.Engine.Messages.Exceptions.NavigatorDiedException: Navigator navigator=qlikview;documentpath=qvp://swdohd5sqls0001.qr.qrgrp.local/gss/fosag.qvw;qlikviewversion=12.80.20000 process died or has been terminated and can't be used anymore to resolve requests ---> System.AggregateException: One or more errors occurred. ---> Qlik.Reporting.Engine.Messages.Exceptions.NavigatorDiedException: Navigator navigator=qlikview;documentpath=qvp://swdohd5sqls0001.qr.qrgrp.local/gss/fosag.qvw;qlikviewversion=12.80.20000 process died or has been terminated and can't be used anymore to resolve requests ---> System.NullReferenceException: Object reference not set to an instance of an object.↵↓ at   .(String , Stream , LoadOptions )↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.SheetObjectRequestResolver`2.ExportToBiff(QlikViewSheetObject qlikViewSheetObject, Boolean keepSourceFormat, Dictionary`2 customProperties, Boolean forceShowTotals) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\SheetObjectRequestResolver.cs:line 48↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.SheetObjectColumnNodeRequestResolver`1.Resolve(QlikViewDocument doc, ColumnNodeRequest columnRequest, TColumnsSheetObject qlikViewSheetObject) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\SheetObjectColumnNodeRequestResolver.cs:line 70↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.BaseBaseContentRequestResolver`1.Resolve(QlikViewDocument doc, IContentRequest request, QlikViewObject qlikViewObject) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\BaseContentRequestResolver.cs:line 104↵↓ --- End of inner exception stack trace ---↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.BaseBaseContentRequestResolver`1.Resolve(QlikViewDocument doc, IContentRequest request, QlikViewObject qlikViewObject) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\BaseContentRequestResolver.cs:line 127↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.BaseBaseContentRequestResolver`1.Engine.Navigator.QlikView.QV.Resolvers.Contents.IContentRequestResolver.Resolve(QlikViewDocument doc, IContentRequest request, QlikViewObject qlikViewObject) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\BaseContentRequestResolver.cs:line 39↵↓ --- End of inner exception stack trace ---↵↓ --- End of inner exception stack trace ---↵↓ at Engine.Navigator.QlikView.QV.Resolvers.Contents.BaseBaseContentRequestResolver`1.Engine.Navigator.QlikView.QV.Resolvers.Contents.IContentRequestResolver.Resolve(QlikViewDocument doc, IContentRequest request, QlikViewObject qlikViewObject) in C:\Jws\release-may2023-mcFFgbjQD\server\NPrinting\src\Engine.Navigator.QlikView\QVx\Resolvers\Contents\BaseContentRequestResolver.cs:line 54

Ruggero_Piccoli
Support
Support

Hi,

The Qlik NPrinting Messaging Service (RabbitMQ) was not connected but, as per the message, it try to reconnect automatically. When you restarted the served also this service restarted so the task ended successfully. 

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.