-
Notifications
You must be signed in to change notification settings - Fork 64
大佬,出现NettyX-Server-Worker-Epoll这个问题是啥原因呀? #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
tcp连上后,读内容的过程中,tcp连接被对方close了 |
我下个版本,把这类异常去掉 |
我在本地idea 启动了com.github.netty.http.HttpBootstrap 这个测试Springboot项目 随着另一个项目的关闭会出现上面的报错,报错率是100%的 |
java.net.SocketException: Connection reset 我在本地idea 启动了com.github.netty.http.HttpBootstrap 这个测试Springboot项目 随着另一个项目的关闭会出现上面的报错,报错率是100%的 |
你客户端项目的 restTemplate的ClientHttpRequestFactory , 应该用的是长链接的, 然后客户端项目shutdown时候,可能没有来得及执行完ClientHttpRequestFactory.destroy() 或shutdown。 |
项目的关闭时,你应该还有正在读数据的请求还没执行完 |
这个错误没影响,tomcat也有这个错误,应该log级别比较低,所以平时不会注意。 |
哦哦哦,好的 |
我是这样改的
|
已经在2.3.19解决 |
[NettyX-Server-Worker-Epoll-4-4] c.g.n.p.s.DispatcherChannelHandler : handler exception. case=io.netty.channel.unix.Errors$NativeIoException: recvAddress(..) failed: Connection reset by peer, channel=[id: 0xd09192e2, L:/192.123.1.78:5783 - R:/192.168.90.187:56221]
The text was updated successfully, but these errors were encountered: