-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Sepolia static peers dead or congested #9949
Comments
Can you cite this PR in geth? |
Hey, the sepolia bootnodes seems fine. you should not set them as StaticPeers though. static peers will be used to request data. bootnodes have a different function |
The 2nd PR brings across the last 5 nodes from geth's PR: You can see from geth's PR at that time, the "devp2p rlpx ping" works fine for the 5 peers. As stated in my initial description, I executed the command against all the peers in Erigon's SepoliaStaticPeers , and they seem dead except for the last 5, which often give "too many peers" replies. |
Well, in geth they are boot nodes, but in Erigon, they are coded to be static peers, as in setStaticPeers() function in flag.go. |
Example reply from these nodes:
So, yes they are fine as in online, but hardly usable and stable. |
mh, but then it does not make a difference. why is this a bug? what are you trying to accomplish? |
oh these are not bootnodes FYI, they are nodes for faster startup time. if they are congested, this should have no effect. |
See here:
It will set them as static peers. What I am trying to achieve is a stable Erigon on sepolia... mainnet is rock solid, but sepolia is quite unstable. Once GoodPeers goes to 0, it never recovers and multiple reboots are required and if lucky, it will continue to sync. Not the best environment for development and testing of dapps. This is with or without specifying static peers. |
Then if you could, could you open a different issue pointing to this one saying that sepolia nodes go to 0? sepolia static peers congested is probably not then what you are trying to fix |
In my issue description, I stated that all the peers above the last 5 appear to be dead (using devp2p to check), can you confirm that any of them are alive and responding? If they are dead, then they should be removed from the list. For the last 5, congestion is the root cause of Erigon's instability, which is a better description than GoodPeers is 0, as 0 can be caused by different reasons, eg dead nodes, bug in code, congested nodes. If you consider this information not helpful, then please ignore this report. I will just have to wait to see if the condition improves over time, just thought Erigon's dev team might have contacts to the Ethereum development team that you can help pass on the information. |
Ok, can you open the ticket and add this as a consideration? also i personally doubt it is related to the static peers because if the issue is: can connect and after a while, you lose all peers, it makes me believe it has little to do with hardcoded bootstrap nodes and static peers |
Hi @Giulio2002 My apologies, you are correct. After reviewing the infrastructure configuration, we found the sepolia node was not configured correctly in the firewall (incorrect port). Once fixed, GoodPeers are now looking healthier, with 60+ peers! So, looks like even with potentially congested bootnodes, if your firewall and network is setup correctly, it should be enough to get good peers. |
Using devp2p, I tested the peers in SepoliaStaticPeers defined in bootnodes.go. For all the peers above the last 5 entries, the command hangs, indicating the endpoint is either blocking the connection or does not exists. For the last 5 peers, they often respond with too many peers connected, indicating that these peers are online but just overloaded!
This is probably not the only place I should be reporting this, apart from erigon removing the dead peers in that list. I will also try to report this to geth to see if they have any comments on the overloaded peers.
The text was updated successfully, but these errors were encountered: