Discovery Wizard screen will sometimes go blank after clicking on a discovery_agent hub.
search cancel

Discovery Wizard screen will sometimes go blank after clicking on a discovery_agent hub.

book

Article ID: 233027

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

The problem happens randomly, both when OC is running local at the OC robot and when it is running remotely from a browser at another system. It doesn't matter which discovery_agent hub is selected. Sometimes it will work, and then fail the very next try, and then work again. 

Environment

Release : 20.4

Component : UIM - DISCOVERY_SERVER

Cause

A lack of resources for wasp is resulting in communication problems. 

Resolution

Ensure wasp at the OC robot is configured for:

nimpool_max_active = 300
nimpool_max_wait = 300

Additional Information

wasp.log has:

Jan 25 11:31:30:395 ERROR [attach_socket, com.nimsoft.nimbus.NimServerSession] Exception in NimServerSessionThread.run.  Closing session.
Jan 25 11:31:30:395 ERROR [attach_socket, com.nimsoft.nimbus.NimServerSession] (2) communication error, I/O error on nim session (S) com.nimsoft.nimbus.NimServerSession(Socket[addr=/x.x.x.x,port=64828,localport=48009]): End of stream while trying to read header
 at com.nimsoft.nimbus.NimSessionBase.recv(NimSessionBase.java:959)
 at com.nimsoft.nimbus.NimServerSession.recv(NimServerSession.java:90)
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.handleMessage(NimServerSession.java:154)
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.run(NimServerSession.java:123)
Caused by: java.io.EOFException: End of stream while trying to read header
 at com.nimsoft.nimbus.NimSessionBase.readNimbusHeader(NimSessionBase.java:1095)
 at com.nimsoft.nimbus.NimSessionBase.recv(NimSessionBase.java:898)
 ... 3 more

operatorconsole.log has:

2022-01-25 11:31:37,885 ERROR com.firehunter.operatorconsole.controller.AbstractBaseController:handleException:46 [http-nio-80-exec-8]   - Unexpected error occurred: 'null', responding with '500: Internal Server Error'
2022-01-25 11:31:37,885 ERROR com.firehunter.operatorconsole.controller.AbstractBaseController:handleException:47 [http-nio-80-exec-8]   - Stacktrace:
java.lang.NullPointerException
 at com.firehunter.operatorconsole.controller.DownloadController.getRelayHubInstallerWsAddress(DownloadController.java:85)
 at com.firehunter.operatorconsole.controller.DownloadController$$FastClassBySpringCGLIB$$33cdfe90.invoke(<generated>)
 at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
 at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
 at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
 at com.firehunter.operatorconsole.controller.DownloadController$$EnhancerBySpringCGLIB$$d0dd67f2.getRelayHubInstallerWsAddress(<generated>)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:204)
 at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)