Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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...
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.Engine | 17.3.1.0 | Qlik.NPrinting.Engine.Consumer.EngineConsumer | 20170425T071122.972-07:00 | ERROR | Machine1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | Error 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 |
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
Hi lech_miszkiewicz,
Qliksense Hub and app can be open on NPrinting Server but on Http:// and port 443 https port is blocked .
So my doubt is NPrinting can create connection by http ??
I am running out of options here. I tested with proxy address like: http:/XXXX/ and it worked for me. So i guess https is not required. The thing is that my https is still working so 50/50 chance it is port 443.
I am not sure about ports though - Help document does not say anything apart from you already stated.
We did all basic troubleshooting.
I would try to get qlik support on this - they will understand your logs better.
Let us know when you find a root cause of this issue - it will be good to know what was it.
good luck
Lech
Did you import a Certified Generated from Qlik Sense?
How to export from Qlik Sense QMC
http://help.qlik.com/en-US/sense/3.1/Subsystems/ManagementConsole/Content/export-certificates.htm
How to import on NPrinting Server