Connection between peers fails with BrokenPipe
#4963
-
Hey. We're continuing the process of updating our We are trying to get our tests passing again. In at least one of these tests the nodes are unable to connect fully and runs indefinitly. With some instrumentation we were able to see the cause is most likely this
Not much to go off of. It seems like it is most likely happening in the DNS Transport code. We are using Tokio + WS + TCP in the tests. I'm going to keep digging into this but I figured y'all might have some ideas. LMK if you have questions about our setup. Here is the WIP PR of our changes if that could be useful: FuelLabs/fuel-core#1379 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The |
Beta Was this translation helpful? Give feedback.
Ah. It's because I was explicitly providing a
local_peer_id
to theSwarmBuilder
before. I can just use the one theSwarmBuilder
creates for me.THE TEST IS PASSING NOW. Thank you. Using the modern
SwarmBuilder
did the trick 🥇