Issue with Opening Stream after Dialing Receiver #5312
vinay10949
started this conversation in
General
Replies: 2 comments 3 replies
-
The problem here is that youre using |
Beta Was this translation helpful? Give feedback.
0 replies
-
its says this I am make it as part of swarm the trait bound |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have managed to set up a relay, client, and receiver using the libp2p framework. I am able to successfully dial the receiver, but I'm encountering an issue when trying to open a stream to communicate data.
Here's a snippet of my code related to the issue:
Problem Statement:
After dialing the receiver using
swarm.dial
, the code hangs when trying to open a stream usingopen_stream
. I have ensured that theremote_peer_id
andTRANSFER
protocol are correctly set up.Expected Behavior:
I expect the code to successfully open a stream to the receiver after dialing, allowing data communication between the client and receiver.
Steps Taken:
remote_peer_id
andTRANSFER
protocol are correctly set up.Questions:
Any insights or suggestions would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions