开发者社区> 问答> 正文

配置负载均衡后启动项目发生异常

2018-11-20 14:55:26.954 ERROR 19035 --- [ctor-http-nio-2] o.s.w.s.adapter.HttpWebHandlerAdapter    : Unhandled failure: Connection has been closed, response already set (status=200)
2018-11-20 14:55:26.955 ERROR 19035 --- [ctor-http-nio-2] o.s.h.s.r.ReactorHttpHandlerAdapter      : Handling completed with error

reactor.ipc.netty.channel.AbortedException: Connection has been closed
        at reactor.ipc.netty.channel.ChannelOperationsHandler.discard(ChannelOperationsHandler.java:366) ~[reactor-netty-0.7.6.RELEASE.jar!/:0.7.6.RELEASE]
        at reactor.ipc.netty.channel.ChannelOperationsHandler.drain(ChannelOperationsHandler.java:376) ~[reactor-netty-0.7.6.RELEASE.jar!/:0.7.6.RELEASE]
        at reactor.ipc.netty.channel.ChannelOperationsHandler.handlerRemoved(ChannelOperationsHandler.java:207) ~[reactor-netty-0.7.6.RELEASE.jar!/:0.7.6.RELEASE]
        at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:670) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.DefaultChannelPipeline.destroyDown(DefaultChannelPipeline.java:922) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.DefaultChannelPipeline.destroyUp(DefaultChannelPipeline.java:888) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.DefaultChannelPipeline.destroy(DefaultChannelPipeline.java:880) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.DefaultChannelPipeline.access$700(DefaultChannelPipeline.java:46) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelUnregistered(DefaultChannelPipeline.java:1416) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelUnregistered(AbstractChannelHandlerContext.java:181) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelUnregistered(AbstractChannelHandlerContext.java:167) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.DefaultChannelPipeline.fireChannelUnregistered(DefaultChannelPipeline.java:865) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:830) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[netty-common-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) ~[netty-common-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) ~[netty-transport-4.1.23.Final.jar!/:4.1.23.Final]
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) ~[netty-common-4.1.23.Final.jar!/:4.1.23.Final]
        at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_191]

展开
收起
210733840356380780 2018-11-20 15:07:09 5161 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
《应用型负载均衡ALB产品解读》 立即下载
阿里云网络-SLB负载均衡产品介绍 立即下载
负载均衡SLB热点问题解答 立即下载