libp2p / go-libp2p-pubsub

The PubSub implementation for go-libp2p
https://github.com/libp2p/specs/tree/master/pubsub
Other
317 stars 182 forks source link

My gossiphub subscribe NO message. #428

Closed Lawliet-Chan closed 3 years ago

Lawliet-Chan commented 3 years ago

Hi, I publish msg into p2p on A node and want to subscribe it on B node. BUT I cannot accept it because it blocked. There are no errors return about publisher or subscriber. https://github.com/Lawliet-Chan/yu/blob/master/node/master/p2p_pubsub.go#L66

In a strange way, my code has three pubsub-topic, the others can work. Just only this one blocked.
I found that the codes block on this line: https://github.com/Lawliet-Chan/yu/blob/master/node/master/p2p_pubsub.go#L106

How can I fix it?

Stebalien commented 3 years ago

Please direct questions to discuss.libp2p.io. We can open a new issue here if we identify a bug.