codecentric / spring-boot-admin

Admin UI for administration of spring boot applications
Apache License 2.0
12.39k stars 3.08k forks source link

Error reading request, ignored #2732

Closed ahoehma closed 3 weeks ago

ahoehma commented 1 year ago

Spring Boot Admin Server information

Client information

Description

I see periodically this in my sba server log:

2023-09-01 08:59:09 http-nio-5000-exec-6 ERROR - [] - org.apache.coyote.http11.Http11NioProtocol:175 - Error reading request, ignored java.lang.NullPointerException: Cannot invoke "org.apache.catalina.Context.decrementInProgressAsyncCount()" because "this.context" is null at org.apache.catalina.core.AsyncContextImpl.decrementInProgressAsyncCount(AsyncContextImpl.java:441) at org.apache.coyote.AsyncStateMachine.asyncPostProcess(AsyncStateMachine.java:295) at org.apache.coyote.AbstractProcessor.asyncPostProcess(AbstractProcessor.java:197) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:78) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1740) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:833)

SteKoe commented 1 year ago

Hi @ahoehma,

we have found the exact same issue in Tomcat’s Bugzilla: https://bz.apache.org/bugzilla/show_bug.cgi?id=67235 It seems that they have introduced a bug in their newest versions, when using Server Send Events, which Spring Boot Admin utilizes. If you do not face any issues in regards to usability / stability of your SBA installation, we will keep track of the issue at tomcat and merge a fix asap.

Regards SteKoe

SteKoe commented 3 weeks ago

Due to missing feedback, we are closing this issue. Feel free to reopen if this is still relevant.