5 Replies Latest reply: May 3, 2017 8:50 AM by Fábio Ribeiro RSS

    NPrinting 17 to Qliksense connection For Production environment

    Sankar Rajamoorthy

      Hi Folks,

       

             I have installed NPrinting 17.3 with Domain\user on Machine1 and Installed qliksense on Machine2. This two machines are under on same domain. Domain\user also part of root admin on qliksense server with token allocated. certificate also export and installed on machine1

       

      Below ports are opened

       

      • Ports 4242 and 4243 must be opened inbound on the Qlik Sense server computer (the computer where Qlik SenseRepository Service (QRS) and Qlik SenseProxy Service (QPS) are installed).
      • Ports 4242 and 4243 must be opened outbound on Qlik NPrinting Server and Qlik NPrinting Engines.
      • Port 4747 must be opened inbound on the computer where Qlik SenseEngine Service (QES) is installed.
      • Port 4747 must be opened outbound on Qlik NPrinting Engines.

       

      and Port 80,4248

       

      But NPrinting shows error while creating connection from Qliksense

       

      ex:

      Proxy address:  http://machine2/ and http://ip/

      appID:123

      Identity:Domain\user

       

      i tried http and https but same error was occurred.

       

      How can i resolve this issue any suggestion please...

        • Re: NPrinting 17 to Qliksense connection For Production environment
          Sankar Rajamoorthy

          NPrinting Engine log shows like below:

           

          ERROR IN SenseNavigator : Unable to connect to the remote server -    at System.Net.HttpWebRequest.GetResponse()↵↓   at Engine.Navigator.QlikSense.SDK.QRSApi.TryGetResponseUsingCertificates(HttpWebRequest request, X509Certificate2Collection certs)↵↓   at Engine.Navigator.QlikSense.SDK.QRSApi.doGet(QlikSenseConnectionString connectionString, String port, String urlChunk, Boolean addQlikCertificate, Boolean impersonateService)↵↓   at Engine.Navigator.QlikSense.SDK.QRSApi.GetProxyID(QlikSenseConnectionString connectionString)↵↓   at Engine.Navigator.QlikSense.SDK.QRSApi.GetValidEngines(QlikSenseConnectionString connectionString)↵↓   at Engine.Navigator.QlikSense.SDK.SenseNavigator..ctor(QlikSenseConnectionString connectionString, RenderingManager renderingManager)
          Qlik.NPrinting.Engine17.3.1.0Qlik.NPrinting.Engine.Consumer.EngineConsumer20170425T071122.972-07:00ERRORMachine100000000Error while trying to add a resolver for connection navigator=qliksense;proxyurl=http://10.0.0.30/;appid=4aaa33a2-cbed-4e33-976f-b77612a07054;identity=Domain\User. ERROR: Error opening the document 'navigator=qliksense;proxyurl=http://10.0.0.30/;appid=4aaa33a2-cbed-4e33-976f-b77612a07054;identity=Domain\User' Inner exception: Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Engine.Navigator.QlikSense.QlikSenseConnectionString, System.Collections.Generic.IEnumerable`1[Engine.Navigator.QlikSense.ISenseNavigatorFactory])' on type 'QlikSenseContentNavigator'. ---> Unable to connect to the remote server (See inner exception for details.) ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.0.0.30:4242↵↓   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)↵↓   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)↵↓   --- End of inner exception stack trace ---↵↓   at System.Net.HttpWebRequest.GetResponse()↵↓   at Engine.Navigator.QlikSense.SDK.QRSApi.TryGetResponseUsingCertificates(HttpWebRequest request, X509Certificate2Collection certs)↵↓   at Engine.Navigator.QlikSense.SDK.QRSApi.doGet(QlikSenseConnectionString connectionString, String port, String urlChunk, Boolean addQlikCertificate, Boolean impersonateService)↵↓   at Engine.Navigator.QlikSense.SDK.QRSApi.GetProxyID(QlikSenseConnectionString connectionString)↵↓   at Engine.Navigator.QlikSense.SDK.QRSApi.GetValidEngines(QlikSenseConnectionString connectionString)↵↓   at Engine.Navigator.QlikSense.SDK.SenseNavigator..ctor(QlikSenseConnectionString connectionString, RenderingManager renderingManager)↵↓   at Engine.Navigator.QlikSense.SDK.SenseNavigatorFactory.GetSenseNavigator(QlikSenseConnectionString connectionString)↵↓   at Engine.Navigator.QlikSense.QlikSenseContentNavigator.<>c__DisplayClass2.<.ctor>b__0(ISenseNavigatorFactory nf)↵↓   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()↵↓   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)↵↓   at Engine.Navigator.QlikSense.QlikSenseContentNavigator..ctor(QlikSenseConnectionString connectionString, IEnumerable`1 navigatorFactories)↵↓   at lambda_method(Closure , Object[] )↵↓   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()↵↓   --- End of inner exception stack trace ---↵↓   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()↵↓   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.InstanceLookup.Execute()↵↓   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)↵↓   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)↵↓   at Autofac.ResolutionExtensions.ResolveNamed[TService](IComponentContext context, String serviceName, IEnumerable`1 parameters)↵↓   at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)↵↓   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.InstanceLookup.Execute()↵↓   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)↵↓   at lambda_method(Closure , String )↵↓   at Engine.Navigator.QlikSense.QlikSenseContentNavigatorFactory.Get(String connectionString) Inner stack trace:    at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()↵↓   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.InstanceLookup.Execute()↵↓   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)↵↓   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)↵↓   at Autofac.ResolutionExtensions.ResolveNamed[TService](IComponentContext context, String serviceName, IEnumerable`1 parameters)↵↓   at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass1`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)↵↓   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.InstanceLookup.Execute()↵↓   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)↵↓   at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)↵↓   at lambda_method(Closure , String )↵↓   at Engine.Navigator.QlikSense.QlikSenseContentNavigatorFactory.Get(String connectionString) Stack trace:    at Engine.Navigator.QlikSense.QlikSenseContentNavigatorFactory.Get(String connectionString)↵↓   at Qlik.Printing.QlikPrintingModule.GenericContentNavigatorFactory.Get(String connectionString)↵↓   at Qlik.NPrinting.Engine.Consumer.BlockingContentResolverFactory.Get(Guid connectionId, String connectionString, IRequestBuffer buffer, Int32 initialMaxBatchSize, Int32& startupTime) in c:\Jws\workspace\NP-REL-17.3.1.0-BR-01-build\server\NPrinting\src\Engine\Consumer\BlockingContentResolverFactory.cs:line 30↵↓   at Qlik.NPrinting.Engine.Consumer.EngineConsumer.AddResolverToConnection(Guid connectionId, String connectionString, Int32 bufferMaxSize, Int32 batchMaxSize, DateTime requestTimestamp) in c:\Jws\workspace\NP-REL-17.3.1.0-BR-01-build\server\NPrinting\src\Engine\Consumer\EngineConsumer.cs:line 488
          • Re: NPrinting 17 to Qliksense connection For Production environment
            Lech Miszkiewicz

            Login from Machine 1 to QlikSense Hub as NPrinting account and try to open a QlikSense app. Can you do it without issues? Where is a QlikSense application sitting? In Published stream or MyWork? If it is MyWork area of different user NPrinting will not be able to access this location.

             

            regards

            Lech