mycelium icon indicating copy to clipboard operation
mycelium copied to clipboard

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

Open khaledyoussef24 opened this issue 1 year ago • 3 comments

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

khaledyoussef24 avatar Feb 20 '24 14:02 khaledyoussef24

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.

muhamadazmy avatar Feb 22 '24 09:02 muhamadazmy

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

khaledyoussef24 avatar Mar 06 '24 11:03 khaledyoussef24

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

LeeSmet avatar Apr 18 '24 18:04 LeeSmet

Closing as the issue is stale

LeeSmet avatar Jul 12 '24 13:07 LeeSmet