You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is expected behavior, i.e. over time, connections are closed when not used.
In your case, I think it makes sense to simply keep them alive indefinitely. You can do so, either by importing the libp2p-pingPingNetworkBehaviour, or by helping us implement a specialized NetworkBehaviour, see #2778.
Summary
Chat-tokio clients can't talk to each other about 20 seconds after startup
Expected behaviour
Chat-tokio clients can send and receive messages until the client is closed.
Actual behaviour
When the chat-tokio clients start, sending and receiving messages works fine, but after about 20 seconds, they can't.
Debug Output
Possible Solution
Version
0.47.0
Would you like to work on fixing this bug?
Maybe
The text was updated successfully, but these errors were encountered: