Summary
Using libp2p/universal-connectivity#3, the first outbound substream always timeouts. When using libp2p-gossipsub as the first NetworkBehaviour that outbound substream drops the subscribe message to the remote.
[2023-03-27T18:00:16Z DEBUG libp2p_gossipsub::handler] Dial upgrade error: Protocol negotiation timeout.
Possible Solution
Version
Still need to write a reproducer. Posting here anyways for tracking purposes.
One can build a reproducer on top of libp2p/universal-connectivity@a8c18c8.
Hacky solution for now is to retry on outbound substream dial upgrade error.
Would you like to work on fixing this bug?
Maybe
Summary
Using libp2p/universal-connectivity#3, the first outbound substream always timeouts. When using libp2p-gossipsub as the first
NetworkBehaviourthat outbound substream drops the subscribe message to the remote.Possible Solution
Version
Still need to write a reproducer. Posting here anyways for tracking purposes.
One can build a reproducer on top of libp2p/universal-connectivity@a8c18c8.
Hacky solution for now is to retry on outbound substream dial upgrade error.
Would you like to work on fixing this bug?
Maybe