Hey Folks,
So after installing the application server and ITShop portal, I am having an issue with the search feature. Whenever I attempt to search for any item in either the top bar or within a new request I get the following:
When I interrogate the application log in the ITShop web application directory I am seeing the following:
2018-05-14 10:51:16.0457 ERROR ( WebLog vu4ba34nlwj54ymqartkn4c5) : System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at ServiceStack.ServiceClientBase.Send[TResponse](String httpMethod, String relativeOrAbsoluteUrl, Object request) at QBM.AppServer.Client.AppServerClient.Get[T](IReturn`1 request) at QBM.AppServer.Client.ServerReachableCheck..ctor(IAppServerClient client, Int32 connectionTimeout) at QBM.AppServer.Client.ServiceClientFactory.<>c__DisplayClass1_0.<RegisterGlobalServices>b__6(IComponentContext ctx) at VI.Base.IoC.ContainerBuilder.<>c__DisplayClass5_0`1.<Register>b__0(IComponentContext ctx) at VI.Base.IoC.LifetimeScopeImpl._GetOrCreate[T](LifetimeScopeImpl requestingScope, ComponentRegistration registration) at VI.Base.IoC.LifetimeScopeImpl._InternalResolve[T](LifetimeScopeImpl requestingScope, String name, T& ret) at VI.Base.IoC.LifetimeScopeImpl.Resolve[T]() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at VI.Base.IoC.LifetimeScopeImpl._ForceResolve(Type type, String name) at VI.Base.IoC.LifetimeScopeImpl..ctor(IReadOnlyDictionary`2 anonymousRegistrations, IReadOnlyDictionary`2 namedRegistrations, LifetimeScopeImpl parent) at VI.Base.IoC.ContainerBuilder.Build() at VI.DB.Entities.SessionFactoryImpl..ctor(ConnectionType connectionType, ContainerBuilder rootScopeBuilder, Action`2 registerSessionServices, Action`2 registerPermissionSessionServices, Boolean withoutSafeWrapper) at VI.DB.Entities.SessionFactoryConfiguration._CreateSessionFactory(IDbFactory factory, String connectionString) at VI.DB.DbApp.<ConnectAsync>d__5.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at VI.WebRuntime.WebConfigConnectionString.Connect() at VI.WebRuntime.ServiceConnection.BuildAppServerConnection() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at VI.WebRuntime.ServiceConnection.GetAppServerOrDefaultConnection() at VI.WebRuntime.Data.SearchHelper..ctor(Nullable`1 isSearchWithPrefix, ISession session) at VI.WebRuntime.Data.SearchBasedFilter.<LoadAsync>d__1.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at VI.WebRuntime.VI_StandardWeb.VI_ITShop_ProductSelection_FindProduct.<>c__DisplayClass1f.<GridBand2_SubControls>b__1b(Object _s, EventArgs _e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at ServiceStack.ServiceClientBase.Send[TResponse](String httpMethod, String relativeOrAbsoluteUrl, Object request) at QBM.AppServer.Client.AppServerClient.Get[T](IReturn`1 request) at QBM.AppServer.Client.ServerReachableCheck..ctor(IAppServerClient client, Int32 connectionTimeout) at QBM.AppServer.Client.ServiceClientFactory.<>c__DisplayClass1_0.<RegisterGlobalServices>b__6(IComponentContext ctx) at VI.Base.IoC.ContainerBuilder.<>c__DisplayClass5_0`1.<Register>b__0(IComponentContext ctx) at VI.Base.IoC.LifetimeScopeImpl._GetOrCreate[T](LifetimeScopeImpl requestingScope, ComponentRegistration registration) at VI.Base.IoC.LifetimeScopeImpl._InternalResolve[T](LifetimeScopeImpl requestingScope, String name, T& ret) at VI.Base.IoC.LifetimeScopeImpl.Resolve[T]() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at VI.Base.IoC.LifetimeScopeImpl._ForceResolve(Type type, String name) at VI.Base.IoC.LifetimeScopeImpl..ctor(IReadOnlyDictionary`2 anonymousRegistrations, IReadOnlyDictionary`2 namedRegistrations, LifetimeScopeImpl parent) at VI.Base.IoC.ContainerBuilder.Build() at VI.DB.Entities.SessionFactoryImpl..ctor(ConnectionType connectionType, ContainerBuilder rootScopeBuilder, Action`2 registerSessionServices, Action`2 registerPermissionSessionServices, Boolean withoutSafeWrapper) at VI.DB.Entities.SessionFactoryConfiguration._CreateSessionFactory(IDbFactory factory, String connectionString) at VI.DB.DbApp.<ConnectAsync>d__5.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at VI.WebRuntime.WebConfigConnectionString.Connect() at VI.WebRuntime.ServiceConnection.BuildAppServerConnection() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at VI.WebRuntime.ServiceConnection.GetAppServerOrDefaultConnection() at VI.WebRuntime.Data.SearchHelper..ctor(Nullable`1 isSearchWithPrefix, ISession session) at VI.WebRuntime.Data.SearchBasedFilter.<LoadAsync>d__1.MoveNext() ---> (Inner Exception #0) System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at ServiceStack.ServiceClientBase.Send[TResponse](String httpMethod, String relativeOrAbsoluteUrl, Object request) at QBM.AppServer.Client.AppServerClient.Get[T](IReturn`1 request) at QBM.AppServer.Client.ServerReachableCheck..ctor(IAppServerClient client, Int32 connectionTimeout) at QBM.AppServer.Client.ServiceClientFactory.<>c__DisplayClass1_0.<RegisterGlobalServices>b__6(IComponentContext ctx) at VI.Base.IoC.ContainerBuilder.<>c__DisplayClass5_0`1.<Register>b__0(IComponentContext ctx) at VI.Base.IoC.LifetimeScopeImpl._GetOrCreate[T](LifetimeScopeImpl requestingScope, ComponentRegistration registration) at VI.Base.IoC.LifetimeScopeImpl._InternalResolve[T](LifetimeScopeImpl requestingScope, String name, T& ret) at VI.Base.IoC.LifetimeScopeImpl.Resolve[T]() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at VI.Base.IoC.LifetimeScopeImpl._ForceResolve(Type type, String name) at VI.Base.IoC.LifetimeScopeImpl..ctor(IReadOnlyDictionary`2 anonymousRegistrations, IReadOnlyDictionary`2 namedRegistrations, LifetimeScopeImpl parent) at VI.Base.IoC.ContainerBuilder.Build() at VI.DB.Entities.SessionFactoryImpl..ctor(ConnectionType connectionType, ContainerBuilder rootScopeBuilder, Action`2 registerSessionServices, Action`2 registerPermissionSessionServices, Boolean withoutSafeWrapper) at VI.DB.Entities.SessionFactoryConfiguration._CreateSessionFactory(IDbFactory factory, String connectionString) at VI.DB.DbApp.<ConnectAsync>d__5.MoveNext()<--- <--- System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at ServiceStack.ServiceClientBase.Send[TResponse](String httpMethod, String relativeOrAbsoluteUrl, Object request) at QBM.AppServer.Client.AppServerClient.Get[T](IReturn`1 request) at QBM.AppServer.Client.ServerReachableCheck..ctor(IAppServerClient client, Int32 connectionTimeout) at QBM.AppServer.Client.ServiceClientFactory.<>c__DisplayClass1_0.<RegisterGlobalServices>b__6(IComponentContext ctx) at VI.Base.IoC.ContainerBuilder.<>c__DisplayClass5_0`1.<Register>b__0(IComponentContext ctx) at VI.Base.IoC.LifetimeScopeImpl._GetOrCreate[T](LifetimeScopeImpl requestingScope, ComponentRegistration registration) at VI.Base.IoC.LifetimeScopeImpl._InternalResolve[T](LifetimeScopeImpl requestingScope, String name, T& ret) at VI.Base.IoC.LifetimeScopeImpl.Resolve[T]() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at VI.Base.IoC.LifetimeScopeImpl._ForceResolve(Type type, String name) at VI.Base.IoC.LifetimeScopeImpl..ctor(IReadOnlyDictionary`2 anonymousRegistrations, IReadOnlyDictionary`2 namedRegistrations, LifetimeScopeImpl parent) at VI.Base.IoC.ContainerBuilder.Build() at VI.DB.Entities.SessionFactoryImpl..ctor(ConnectionType connectionType, ContainerBuilder rootScopeBuilder, Action`2 registerSessionServices, Action`2 registerPermissionSessionServices, Boolean withoutSafeWrapper) at VI.DB.Entities.SessionFactoryConfiguration._CreateSessionFactory(IDbFactory factory, String connectionString) at VI.DB.DbApp.<ConnectAsync>d__5.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at VI.WebRuntime.WebConfigConnectionString.Connect() at VI.WebRuntime.ServiceConnection.BuildAppServerConnection() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at VI.WebRuntime.ServiceConnection.GetAppServerOrDefaultConnection() at VI.WebRuntime.Data.SearchHelper..ctor(Nullable`1 isSearchWithPrefix, ISession session) at VI.WebRuntime.Data.SearchBasedFilter.<LoadAsync>d__1.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at VI.WebRuntime.VI_StandardWeb.VI_ITShop_ProductSelection_FindProduct.<>c__DisplayClass1f.<GridBand2_SubControls>b__1b(Object _s, EventArgs _e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at ServiceStack.ServiceClientBase.Send[TResponse](String httpMethod, String relativeOrAbsoluteUrl, Object request) at QBM.AppServer.Client.AppServerClient.Get[T](IReturn`1 request) at QBM.AppServer.Client.ServerReachableCheck..ctor(IAppServerClient client, Int32 connectionTimeout) at QBM.AppServer.Client.ServiceClientFactory.<>c__DisplayClass1_0.<RegisterGlobalServices>b__6(IComponentContext ctx) at VI.Base.IoC.ContainerBuilder.<>c__DisplayClass5_0`1.<Register>b__0(IComponentContext ctx) at VI.Base.IoC.LifetimeScopeImpl._GetOrCreate[T](LifetimeScopeImpl requestingScope, ComponentRegistration registration) at VI.Base.IoC.LifetimeScopeImpl._InternalResolve[T](LifetimeScopeImpl requestingScope, String name, T& ret) at VI.Base.IoC.LifetimeScopeImpl.Resolve[T]() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at VI.Base.IoC.LifetimeScopeImpl._ForceResolve(Type type, String name) at VI.Base.IoC.LifetimeScopeImpl..ctor(IReadOnlyDictionary`2 anonymousRegistrations, IReadOnlyDictionary`2 namedRegistrations, LifetimeScopeImpl parent) at VI.Base.IoC.ContainerBuilder.Build() at VI.DB.Entities.SessionFactoryImpl..ctor(ConnectionType connectionType, ContainerBuilder rootScopeBuilder, Action`2 registerSessionServices, Action`2 registerPermissionSessionServices, Boolean withoutSafeWrapper) at VI.DB.Entities.SessionFactoryConfiguration._CreateSessionFactory(IDbFactory factory, String connectionString) at VI.DB.DbApp.<ConnectAsync>d__5.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at VI.WebRuntime.WebConfigConnectionString.Connect() at VI.WebRuntime.ServiceConnection.BuildAppServerConnection() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at VI.WebRuntime.ServiceConnection.GetAppServerOrDefaultConnection() at VI.WebRuntime.Data.SearchHelper..ctor(Nullable`1 isSearchWithPrefix, ISession session) at VI.WebRuntime.Data.SearchBasedFilter.<LoadAsync>d__1.MoveNext() ---> (Inner Exception #0) System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at ServiceStack.ServiceClientBase.Send[TResponse](String httpMethod, String relativeOrAbsoluteUrl, Object request) at QBM.AppServer.Client.AppServerClient.Get[T](IReturn`1 request) at QBM.AppServer.Client.ServerReachableCheck..ctor(IAppServerClient client, Int32 connectionTimeout) at QBM.AppServer.Client.ServiceClientFactory.<>c__DisplayClass1_0.<RegisterGlobalServices>b__6(IComponentContext ctx) at VI.Base.IoC.ContainerBuilder.<>c__DisplayClass5_0`1.<Register>b__0(IComponentContext ctx) at VI.Base.IoC.LifetimeScopeImpl._GetOrCreate[T](LifetimeScopeImpl requestingScope, ComponentRegistration registration) at VI.Base.IoC.LifetimeScopeImpl._InternalResolve[T](LifetimeScopeImpl requestingScope, String name, T& ret) at VI.Base.IoC.LifetimeScopeImpl.Resolve[T]() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at VI.Base.IoC.LifetimeScopeImpl._ForceResolve(Type type, String name) at VI.Base.IoC.LifetimeScopeImpl..ctor(IReadOnlyDictionary`2 anonymousRegistrations, IReadOnlyDictionary`2 namedRegistrations, LifetimeScopeImpl parent) at VI.Base.IoC.ContainerBuilder.Build() at VI.DB.Entities.SessionFactoryImpl..ctor(ConnectionType connectionType, ContainerBuilder rootScopeBuilder, Action`2 registerSessionServices, Action`2 registerPermissionSessionServices, Boolean withoutSafeWrapper) at VI.DB.Entities.SessionFactoryConfiguration._CreateSessionFactory(IDbFactory factory, String connectionString) at VI.DB.DbApp.<ConnectAsync>d__5.MoveNext()<--- <--- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at VI.WebRuntime.VI_StandardWeb.VI_ITShop_ProductSelection_FindProduct.<>c__DisplayClass1f.<GridBand2_SubControls>b__1b(Object _s, EventArgs _e) at System.Web.UI.Control.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I have removed and re-added both the webportal and app server. Not 100% where the timeout would occur or where I can adjust the parameter that governs this.
I don't see any errors in the application server app log.
Any insight would be awesome as I am building some demo use cases that depend on search and have not been successful in clearing this error.
Thanks!