Open frol opened 4 years ago
I am not sure what is the issue here. Are you referring to something in the logs? I agree that we should probably suppress the warning as it is unlikely to finish downloading state in 10 seconds.
The node was running fine and I expect it not to produce ERROR message unless those need to be addressed. I still think those messages are valiable, so we may just transform those to INFO level. I am not sure about the "ERROR sync: State sync received hash 9YCa51LtyuYVL7rqP3KgaSAGqtywTpmLHm6eEP7LavGE that we're not expecting, potential malicious peer" error as it appears to me as some sort of race condition given that is just disapeared a minute later.
That happens when a peer is behind the head of the network or the head is close to the epoch boundary. I can change the log level.
That happens when a peer is behind the head of the network or the head is close to the epoch boundary. I can change the log level.
I think those should be DEBUG level logs if you can actually test those conditions you listed, and if those conditions are not met that needs to be reported as WARNING.
Let's reserve ERRORs to the items that require some action.
I think it is a low priority.
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
Hi, I am running a near localnet on 2 machines and getting the same error on the 2nd node. Is this known issue or it takes sometime to sync ?
2023-01-06T16:25:30.043449Z WARN sync: State sync didn't download the state for shard 0 in 60 seconds, sending StateRequest again
CC: @nikurt: could you take a look please?
Describe the bug
Running a node from master I see these messages after the headers sync:
It proceeded with block sync, so I assume it is not critical, yet it might be an indicator of a potential issue.
To Reproduce
I am not sure how reproducible this behavior, but there was no
data
folder and I just let it sync up.Expected behavior
I think it might be an indicator of some bug even though it did not crash.
Screenshots
![image](https://user-images.githubusercontent.com/304265/90041146-42fcdc80-dc9f-11ea-818b-2171b91f5b70.png)
Version (please complete the following information):