-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Timeout occurred when synchronizing blocks #5913
Comments
Can you provide more logs, preferably detailed logs of all nodes within 10 minutes of the disconnection time. In addition, confirm whether the network connection between nodes is stable. This is a private network, right? Because I observed that your block height is 61885778. |
@tomatoishealthy Sorry, I accidentally deleted the log, and I haven't reproduced the problem yet. Yes, it's a private network, the network is very stable, and the TPS is not very large. |
If a node finds that there is a problem connecting to another node, you may need to check the logs of both nodes at the same time. Unfortunately, the logs no longer exist. If you encounter this problem next time, you can keep the logs to facilitate troubleshooting. |
@tomatoishealthy OK, from the logs, there was no communication for about 30 seconds at the end, and then they disconnected. |
It sounds like you've already got the relevant logs. Can you provide them so we can see if there are more details to help solve the problem. |
The log has been posted in the issue. |
There are many reasons for disconnection. According to the logs provided in the current issue, it may not be possible to accurately locate the cause of the problem. More evidence may be needed, such as whether the JVM was running normally, whether the machine load was too high, whether the network was stable, etc. If the problem can be reproduced, you can refer to the above suggestions and troubleshoot, you can also save the scene and provide it, and we can work together to solve it |
@xxo1shine There is a concurrency problem between the synchronization thread and the broadcast thread. This problem is being fixed. Please refer to pr #5921 During the block synchronization process, if the broadcast list has not been received, the synchronization may fail. The detailed process is as follows:
|
pr #5921 merge to GreatVoyage-v4.7.6 |
System information
OS : Linux
JVM : Oracle Corporation 1.8.0_411 amd64
Version : 4.7.5
Expected Behavior
Blocks can be synchronized and broadcasted normally, and no timeout should occur.
Actual Behavior
I deployed a private chain locally. The two nodes have been synchronizing and broadcasting blocks normally. However, after a while, they suddenly disconnected due to a TIME_OUT. Here is the last interaction log.
The text was updated successfully, but these errors were encountered: