You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2022/12/15 07:51:54 UTC

[GitHub] [shenyu] zxl8899 opened a new issue, #4273: [Question]

zxl8899 opened a new issue, #4273:
URL: https://github.com/apache/shenyu/issues/4273

   ### Question
   
   content:2022-12-15 15:18:07.230 syg [shenyu-netty-epoll-3] ERROR org.apache.shenyu.web.handler.GlobalErrorHandler.handle:52 - handle error: [20f9187a-1069495] Resolved [AbortedException: Connection has been closed] for HTTP POST /fy/oss/uploadFile
   reactor.netty.channel.AbortedException: Connection has been closed
   	at reactor.netty.http.server.HttpServerOperations.onInboundClose(HttpServerOperations.java:612)
   	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
   Error has been observed at the following site(s):
   	*__checkpoint ⇢ org.apache.shenyu.web.filter.CacheBodyGlobalFilter [DefaultWebFilterChain]
   	*__checkpoint ⇢ org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter [DefaultWebFilterChain]
   	*__checkpoint ⇢ org.apache.shenyu.web.filter.XssFilter [DefaultWebFilterChain]
   	*__checkpoint ⇢ org.apache.shenyu.bootstrap.config.CORSFilter [DefaultWebFilterChain]
   	*__checkpoint ⇢ HTTP POST "/fy/oss/uploadFile?dirCode=1008" [ExceptionHandlingWebHandler]
   Original Stack Trace:
   		at reactor.netty.http.server.HttpServerOperations.onInboundClose(HttpServerOperations.java:612)
   		at reactor.netty.channel.ChannelOperationsHandler.channelInactive(ChannelOperationsHandler.java:73)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   		at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
   		at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelInactive(CombinedChannelDuplexHandler.java:418)
   		at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:392)
   		at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:357)
   		at io.netty.channel.CombinedChannelDuplexHandler.channelInactive(CombinedChannelDuplexHandler.java:221)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   		at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
   		at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   		at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901)
   		at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:813)
   		at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
   		at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
   		at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
   		at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:391)
   		at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
   		at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
   		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
   		at java.lang.Thread.run(Thread.java:748)


-- 
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: notifications-unsubscribe@shenyu.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] yu199195 commented on issue #4273: [Question]

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #4273:
URL: https://github.com/apache/shenyu/issues/4273#issuecomment-1352692075

   How big is the file?


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] yu199195 closed issue #4273: [Question]

Posted by "yu199195 (via GitHub)" <gi...@apache.org>.
yu199195 closed issue #4273: [Question] <AbortedException: Connection has been closed>
URL: https://github.com/apache/shenyu/issues/4273


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] zxl8899 commented on issue #4273: [Question]

Posted by GitBox <gi...@apache.org>.
zxl8899 commented on issue #4273:
URL: https://github.com/apache/shenyu/issues/4273#issuecomment-1356990512

   no ,This is a custom filter .
   This approach can lead to the same problems as above, as well as out-of-heap memory overflow
   ![image](https://user-images.githubusercontent.com/51360248/208334113-897a5b50-2442-418e-a5da-1f56f3edeca8.png)
   The following is my writing method after referring to the paramMappingPlug plug-in. Is this writing OK?
   ![image](https://user-images.githubusercontent.com/51360248/208334412-8602d8fb-db89-4b57-a762-3b2fdc632cba.png)
   


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] zxl8899 commented on issue #4273: [Question]

Posted by GitBox <gi...@apache.org>.
zxl8899 commented on issue #4273:
URL: https://github.com/apache/shenyu/issues/4273#issuecomment-1354103555

   Not only file uploads, but also other requests ,  for example :
   
    ERROR org.apache.shenyu.web.handler.GlobalErrorHandler.handle:52 - handle error: [6c5a412d-298530] Resolved [AbortedException: Connection has been closed] for HTTP POST /dps/fy/app/order/page-list
   reactor.netty.channel.AbortedException: Connection has been closed
   	at reactor.netty.http.server.HttpServerOperations.onInboundClose(HttpServerOperations.java:612)
   	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
   Error has been observed at the following site(s):
   	*__checkpoint ⇢ org.apache.shenyu.web.filter.XssFilter [DefaultWebFilterChain]
   	*__checkpoint ⇢ org.apache.shenyu.bootstrap.config.CORSFilter [DefaultWebFilterChain]
   	*__checkpoint ⇢ HTTP POST "/dps/fy/app/order/page-list" [ExceptionHandlingWebHandler]
   Original Stack Trace:
   		at reactor.netty.http.server.HttpServerOperations.onInboundClose(HttpServerOperations.java:612)
   		at reactor.netty.channel.ChannelOperationsHandler.channelInactive(ChannelOperationsHandler.java:73)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   		at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
   		at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelInactive(CombinedChannelDuplexHandler.java:418)
   		at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:392)
   		at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:357)
   		at io.netty.channel.CombinedChannelDuplexHandler.channelInactive(CombinedChannelDuplexHandler.java:221)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   		at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241)
   		at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262)
   		at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248)
   		at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901)
   		at io.netty.channel.AbstractChannel$AbstractUnsafe$7.run(AbstractChannel.java:813)
   		at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
   		at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
   		at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
   		at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:391)
   		at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)
   		at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
   		at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
   		at java.lang.Thread.run(Thread.java:748)


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] yu199195 commented on issue #4273: [Question]

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #4273:
URL: https://github.com/apache/shenyu/issues/4273#issuecomment-1354375493

   XssFilter , CORSFilter  Belong to shenyu?


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org