xxdwpl commented on issue #2601:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/2601#issuecomment-929272639


   补充下,客户端主动关闭response时,cse错误日志:
   ```
   2021-09-28 18:04:27.903 [vert.x-eventloop-thread-7] ERROR - 
[AbstractRestInvocation.java:onExecuteHttpServerFiltersFinish:301] - [] - 
Failed to execute HttpServerFilters, operation:XXXService.xx.xxx, request 
uri:/xx/xxx/xxx
   java.util.concurrent.CompletionException: io.vertx.core.VertxException: 
Connection was closed
           at 
java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:326) 
~[?:1.8.0_272]
           at 
java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:338)
 ~[?:1.8.0_272]
           at 
java.util.concurrent.CompletableFuture.uniRelay(CompletableFuture.java:925) 
~[?:1.8.0_272]
           at 
java.util.concurrent.CompletableFuture$UniRelay.tryFire(CompletableFuture.java:913)
 ~[?:1.8.0_272]
           at 
java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488) 
~[?:1.8.0_272]
           at 
java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:1990)
 ~[?:1.8.0_272]
           at 
org.apache.servicecomb.foundation.vertx.stream.InputStreamToReadStream.handleException(InputStreamToReadStream.java:136)
 ~[foundation-vertx-1.3.2.jar!/:1.3.2]
           at 
org.apache.servicecomb.foundation.vertx.stream.PumpCommon.lambda$pump$0(PumpCommon.java:53)
 ~[foundation-vertx-1.3.2.jar!/:1.3.2]
           at 
io.vertx.core.http.impl.HttpServerResponseImpl.handleClosed(HttpServerResponseImpl.java:620)
 ~[vertx-core-3.9.4.jar!/:3.9.4]
           at 
io.vertx.core.http.impl.HttpServerResponseImpl.handleException(HttpServerResponseImpl.java:594)
 ~[vertx-core-3.9.4.jar!/:3.9.4]
           at 
io.vertx.core.http.impl.HttpServerRequestImpl.handleException(HttpServerRequestImpl.java:570)
 ~[vertx-core-3.9.4.jar!/:3.9.4]
           at 
io.vertx.core.http.impl.Http1xServerConnection.handleClosed(Http1xServerConnection.java:413)
 ~[vertx-core-3.9.4.jar!/:3.9.4]
           at 
io.vertx.core.net.impl.VertxHandler.lambda$channelInactive$4(VertxHandler.java:152)
 ~[vertx-core-3.9.4.jar!/:3.9.4]
           at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:366) 
[vertx-core-3.9.4.jar!/:3.9.4]
           at 
io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43) 
[vertx-core-3.9.4.jar!/:3.9.4]
           at 
io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:229) 
[vertx-core-3.9.4.jar!/:3.9.4]
           at 
io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:221) 
[vertx-core-3.9.4.jar!/:3.9.4]
           at 
io.vertx.core.net.impl.VertxHandler.channelInactive(VertxHandler.java:152) 
[vertx-core-3.9.4.jar!/:3.9.4]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.handler.timeout.IdleStateHandler.channelInactive(IdleStateHandler.java:277)
 [netty-handler-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:389)
 [netty-codec-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:354)
 [netty-codec-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901)
 [netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:819) 
[netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
 [netty-common-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
 [netty-common-4.1.59.Final.jar!/:4.1.59.Final]
           at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) 
[netty-transport-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
 [netty-common-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) 
[netty-common-4.1.59.Final.jar!/:4.1.59.Final]
           at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [netty-common-4.1.59.Final.jar!/:4.1.59.Final]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_272]
   Caused by: io.vertx.core.VertxException: Connection was closed
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to