You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to download a lot of blocks it turns out that occasionally a block fails deterministically.
However, when trying to get that same block from a fluffy node started with a fresh network key (and thus new node id), it usually works.
So the failure seems to be NodeId related, pointing to potentially an issue in the lookup mechanism as the content is available on the network.
One such example is block body for block number 47830, which is block hash 0x8a24f51c42f5c1e216351c6c2ab29d2ae25fc4f366ea690a4e13c640844412e7.
This results in a content id of: 0x345c7c1c31b50e20f6b320d0273690d89d0e2bc63a6d07b1b725e8b3ce5e819c
We managed to retrieve this from node with id 0x3514da5e6fae802b62dbd381813a4fdd24d208f78506e10e7d94eaac0045354f or from node with id 0x30c1ceb0ccc2448a674b73d573924743ce7622ae112b6fe74666fc01ca0cea4f
It works when our node id is 0xb75e9ccdc42ce5191c754f0ad4aacebc17ffa822dd4613f46c12ba4993628f4c, but e.g. not when our node id is 0x91239acd7248819228c893f3d10930b39a2a1ed7a999796a8845d47ebc9285b3
The text was updated successfully, but these errors were encountered:
After further debugging this, it seems that the issue is not in the lookup mechanism as the those nodes that have the data do get contacted. However the uTP connection setup fails each time:
uTP timeout while trying to connect to (nodeId: 3514da5e6fae802b62dbd381813a4fdd24d208f78506e10e7d94eaac0045354f, address: 143.244.168.133:9009)
The strange thing is that the moment I change the network key, the same request works each time. So it seems that the other node simply fails to respond depending on the network key / node id of the requesting node.
After checking two ENRs of the nodes that have this behaviour it seems to be Trin nodes.
So there seems to be an issue with Trin nodes in case a node is not reachable from the outside and has no IP in its ENR: see this issue ethereum/trin#1596 (comment)
I was hitting this because default random UDP port (value set at 0) for nimbus_execution_client.
If network is properly configured to be reachable from the outside (and thus have the ENR configured as such), this issue no longer occurs. Next issue however seems to be actual content that is missing.
When trying to download a lot of blocks it turns out that occasionally a block fails deterministically.
However, when trying to get that same block from a fluffy node started with a fresh network key (and thus new node id), it usually works.
So the failure seems to be NodeId related, pointing to potentially an issue in the lookup mechanism as the content is available on the network.
One such example is block body for block number
47830
, which is block hash0x8a24f51c42f5c1e216351c6c2ab29d2ae25fc4f366ea690a4e13c640844412e7
.This results in a content id of:
0x345c7c1c31b50e20f6b320d0273690d89d0e2bc63a6d07b1b725e8b3ce5e819c
We managed to retrieve this from node with id
0x3514da5e6fae802b62dbd381813a4fdd24d208f78506e10e7d94eaac0045354f
or from node with id0x30c1ceb0ccc2448a674b73d573924743ce7622ae112b6fe74666fc01ca0cea4f
It works when our node id is
0xb75e9ccdc42ce5191c754f0ad4aacebc17ffa822dd4613f46c12ba4993628f4c
, but e.g. not when our node id is0x91239acd7248819228c893f3d10930b39a2a1ed7a999796a8845d47ebc9285b3
The text was updated successfully, but these errors were encountered: