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

Investigate "No peers available on topic messages" #8716

Open
lucassaldanha opened this issue Oct 14, 2024 · 3 comments
Open

Investigate "No peers available on topic messages" #8716

lucassaldanha opened this issue Oct 14, 2024 · 3 comments
Assignees

Comments

@lucassaldanha
Copy link
Member

lucassaldanha commented Oct 14, 2024

Investigate if we have an underlying issue or if things are working as expected.

TODO: add a bit more context

@lucassaldanha lucassaldanha changed the title Investigate "No peer available on topic messages" Investigate "No peers available on topic messages" Oct 14, 2024
@rolfyone
Copy link
Contributor

I've setup a simple minimal node going through all the different forks, and several examples like this, but basically

i see on one node:

Failed to publish sync committee message(s) for slot 53; No peers for message topics [/eth2/dc4c476b/sync_committee_0/ssz_snappy] found
GossipFailureLogger | Failed to publish attestation(s) for slot 53; No peers for message topics [/eth2/dc4c476b/beacon_attestation_5/ssz_snappy] found

and on its pair:

Received message for topic Topic(topic=/eth2/dc4c476b/sync_committee_0/ssz_snappy)
Received message for topic Topic(topic=/eth2/dc4c476b/sync_committee_0/ssz_snappy)
Received message for topic Topic(topic=/eth2/dc4c476b/sync_committee_0/ssz_snappy)
Received message for topic Topic(topic=/eth2/dc4c476b/beacon_attestation_5/ssz_snappy)

It does look like if i get NoPeersForOutboundMessageException on outbound in jvm-libp2p, that should mean nothing went to the list of items to wait for. But the message is clearly sent, I may have to talk to @StefanBratanov

@rolfyone
Copy link
Contributor

I hacked some more notes in, and got
primary:

AttestationGossipManager | Failed to publish attestation 0x2f7714e10dfad636daddef194998d0df4c5946f47987556eaef11866c270e170 for validator 
GossipFailureLogger | Failed to publish attestation(s) for slot 12; No peers for message topics [/eth2/e9195d94/beacon_attestation_4/ssz_snappy] found
SingleAttestationTopicHandler | validate attestation 0x2f7714e10dfad636daddef194998d0df4c5946f47987556eaef11866c270e170

@rolfyone
Copy link
Contributor

I did some analysis between 2 nodes, and around half the attestations we report back as 'no subscribers on subnet' has corresponding logs on the other side for reading in that attestation over gossip, so it's quite odd. There's been some big libp2p changes so i can't really change back to using an old version...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants