Skip to content
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

2.0版本,ChannelHandler 触发IdleStateEvent事件导致的问题 #786

Open
xieyue89 opened this issue Jun 1, 2023 · 6 comments
Open
Labels
bug Something isn't working connect-fail v2.x

Comments

@xieyue89
Copy link

xieyue89 commented Jun 1, 2023

ChannelHandler 触发IdleStateEvent 事件
image
之后会一直刷EventPushMsgHandler filter connection disconnect 日志
6个小时刷了将近300G日志

@xieyue89
Copy link
Author

xieyue89 commented Jun 1, 2023

希望给点建议,或者曲线救国的方案

@kyonRay
Copy link
Member

kyonRay commented Jun 5, 2023

这里是无交易的时候打出来的日志吗?是否有什么特殊操作?

@xieyue89
Copy link
Author

会有交易但不繁忙,就是节点迁移了一次服务器,sdk连接新的服务器通道后就会很偶然的出现这个情况(一般凌晨),然后sdk就一直刷日志,把磁盘刷满了,其他也没特殊操作就正常跑

@kyonRay
Copy link
Member

kyonRay commented Jun 28, 2023

节点是什么版本,在疯狂刷日志的时候节点有没有主动断连日志?麻烦提供一下sdk和节点的日志。

@kyonRay kyonRay added the v2.x label Jul 4, 2023
@xieyue89
Copy link
Author

xieyue89 commented Jul 5, 2023

节点版本是v2.7.1
配置了两个节点 节点1外网IP、节点2外网IP
SDK日志1
16:08:27.541 ERROR: idle state event:READER_IDLE connect[节点1外网IP]:20200 long time Inactive, disconnect
16:28:13.390 ERROR: parseResponseIntoJsonRpcResponse failed, method: getTransactionReceipt, group: 2, seq: a2d8fb67de9143cba88a5cb3b7864445, retErrorMessage: Send message [节点1外网IP]:20200 failed for connect failed, current available peers: [[节点2外网IP]:20200], retErrorCode: -5001
INFO : filter connection disconnect
后面又持续出现
16:08:33.851 ERROR: idle state event:WRITER_IDLE connect[节点2外网IP]:20200 long time Inactive, disconnect
16:09:07.728 ERROR: idle state event:WRITER_IDLE connect[节点1外网IP]:20200 long time Inactive, disconnect
半个小时filter connection disconnect日志统计
grep -C 1 'filter connection disconnect' info-2023-07-05.log | wc -l
413078507

@kyonRay
Copy link
Member

kyonRay commented Jul 10, 2023

感谢回复,我们会尽快定位问题,给出临时解决办法,下个2.x版本完成修复。

@kyonRay kyonRay added bug Something isn't working connect-fail labels Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working connect-fail v2.x
Projects
None yet
Development

No branches or pull requests

2 participants