ChainSafe / js-libp2p-gossipsub

TypeScript implementation of Gossipsub
Apache License 2.0
151 stars 43 forks source link

Pubsub stop working after peer restart. #377

Closed AlexMesser closed 1 year ago

AlexMesser commented 1 year ago

I have two peers, both are connected to the same public wrtc server and subscribed to the same topic. When we run both peers at the same time, everything works as expected. But when we restart one of the peers, it does not see another peer in the list of topic subscribers after restart. I have created a reproduction repository for better explanation.

What I have tried:

AlexMesser commented 1 year ago

tested with floodsub - same issue. So, it seems issue is not in gossipsub, but in libp2p itself, closing.