Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mycelium messaging sub system which is mentioned in docs is not working #129

Open
khaledyoussef24 opened this issue Feb 20, 2024 · 3 comments
Labels
type_bug Something isn't working

Comments

@khaledyoussef24
Copy link

Description

as mentioned in docs it was supporting message subsystem to make communication between machines.
https://github.com/threefoldtech/mycelium/blob/master/docs/message.md

after installing mycelium on the machines and trying to make the machines to contact each others using mycelium address it does not work.

network used : devnet
steps to produce

  • make two machines and install mycelium on them
  • try to use commands to send message to the other machine using the address
  • it did not work
Screenshot 2024-02-20 at 4 01 09 PM

even receiving messages commands are not working
Screenshot 2024-02-20 at 4 05 24 PM

@muhamadazmy
Copy link
Member

I can see from the logs that the message send and receive are BOTH trying to connect to port 8989 on localhost. Which means there must be something listening on that port locally.

the message features is a way to send an arbitrary message over mycelium network HENCE it requires to have mycelium running on both sender and receiver side. When you run send, the send actually connects to your local mycelium and push the message to destination. later the message is received by the end mycelium and then pushed to the receive process.

I am sure you can do this locally but also means you need to have mycelium running before you can use send/receive.

@xmonader xmonader transferred this issue from threefoldtech/tfgrid-sdk-ts Feb 22, 2024
@khaledyoussef24
Copy link
Author

made a couple of deployments and installed mycelium on them the previous sending or receiving does not happen and even tried to send to my laptop which has the binary running but still the command stucks only
Screenshot 2024-03-06 at 1 10 25 PM
Screenshot 2024-03-06 at 1 10 33 PM

@LeeSmet
Copy link
Contributor

LeeSmet commented Apr 18, 2024

Both nodes must be able to reach eachother, please verify if this is the case by pinging them from one another

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type_bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants