micro-integrator icon indicating copy to clipboard operation
micro-integrator copied to clipboard

EI_INTERNAL_HTTP_INBOUND_ENDPOINT Listener shutdown abnormally when we invoke the HTTP health check endpoint before server startup

Open niranRameshPeiris opened this issue 3 years ago • 0 comments

Description

After updating the docker image of the MI-1.2.0 from update level 53 to 94, the HTTP health check is not working fine. We were able to identify port 9201 is not up and running even after the server started. And we have seen the below exception in the wso2carbon.log file as well.

2022-05-23 01:42:11,235]  INFO {API} - {api:AHC_User_Subscription_Details_API} Initializing API: AHC_User_Subscription_Details_API
[2022-05-23 01:42:11,235]  INFO {APIDeployer} - API named 'AHC_User_Subscription_Details_API' has been deployed from file : /home/wso2carbon/wso2mi-1.2.0/tmp/carbonapps/-1234/1653270131028AHC_User_Subscription_CompositeExporter_1.0.0.car/AHC_User_Subscription_Details_API_1.0.0/AHC_User_Subscription_Details_API-1.0.0.xml
[2022-05-23 01:42:11,235]  INFO {CappDeployer} - Successfully Deployed Carbon Application : AHC_User_Subscription_CompositeExporter_1.0.0{super-tenant}
[2022-05-23 01:42:16,266]  INFO {PassThroughListeningIOReactorManager} - Pass-through HTTP Listener started on 0.0.0.0:8290
[2022-05-23 01:42:21,271]  INFO {PassThroughListeningIOReactorManager} - Pass-through HTTPS Listener started on 0.0.0.0:8253
[2022-05-23 01:42:21,274]  INFO {StartupFinalizer} - WSO2 Micro Integrator started in 35.04 seconds
[2022-05-23 01:42:22,888] FATAL {PassThroughListeningIOReactorManager} - Exception encountered in the HTTP Listener. No more connections will be accepted by this transport org.apache.http.nio.reactor.IOReactorException: I/O dispatch worker terminated abnormally
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:357)
        at org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager$1.run(PassThroughListeningIOReactorManager.java:560)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NullPointerException
        at org.apache.synapse.transport.passthru.core.MultiListenerServerIODispatch.onClosed(MultiListenerServerIODispatch.java:63)
        at org.apache.synapse.transport.passthru.core.MultiListenerServerIODispatch.onClosed(MultiListenerServerIODispatch.java:32)
        at org.apache.http.impl.nio.reactor.AbstractIODispatch.disconnected(AbstractIODispatch.java:100)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionClosed(BaseIOReactor.java:271)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.processClosedSessions(AbstractIOReactor.java:439)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.hardShutdown(AbstractIOReactor.java:575)
        at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:306)
        at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
        at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:586)
        ... 1 more

Steps to Reproduce

Cannot reproduce

Affected Component

MI

Version

1.2.0

Environment Details (with versions)

Docker enviroment

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

niranRameshPeiris avatar Jun 08 '22 04:06 niranRameshPeiris