Not able to see other machine's messages in gossip chat example
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 492
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Description
hey guys! glad to be here, I'm really having trouble as I don't see any tutorials and I cannot see the messages in GOSSIP chat example between 2 different machines.
Machine A:
./example/03-gossip/gossip_chat_example -p 4444
I am /ip4/127.0.0.1/tcp/4444/p2p/12D3KooWG1PJZvLidoYh1AfvZ9aytAaSmgHSW58xrsaEm9abSJgq
Machine B:
./gossip_chat_example -p 4444 -r /ip4/PUBLIC_IP/tcp/4444/p2p/12D3KooWG1PJZvLidoYh1AfvZ9aytAaSmgHSW58xrsaEm9abSJgq
I am /ip4/127.0.0.1/tcp/4444/p2p/12D3KooWNpH8bakYn6uPn4veXp8QFMGFn6sPiaZJPjozYQchReJ9
I'm supposed to connect like that? because I see only my own messages, not the other machine.
I really appreciate any help! It's taking me days to understand why is not working -_-U
this: https://github.com/libp2p/cpp-libp2p/tree/master/example/03-gossip
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the example/03-gossip gossip chat example and reproduce the two-machine commands shown in the issue, including the -r multiaddress. Compare the observed output with the expected behavior: messages sent on either machine should be visible on both. The issue does not name a test or source file to inspect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- distributed-systems, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100