we icon indicating copy to clipboard operation
we copied to clipboard

Networking Documentation Question

Open Mbd06b opened this issue 1 year ago • 2 comments

Just a question.

I installed Moss on two machines on my local private network, and created a group on Machine A, and tried to Join the group with a different user from Machine B.

It seemed like Machine B couldn't see/connect to the running context of Machine A, in order to join the group. I could see one user online from a group setup from a conference about a month ago, and could join the group.

Are there any basic network requirements like open ports, or whitelists that I need to consider, or any general advice on where to look to debug the networking?

Mbd06b avatar Aug 30 '24 14:08 Mbd06b

Hi Matthew,

One requirement (at least currently) is that in order to make initial contact, both computers need to reach a bootstrap server on the public internet (who's URL is known by Moss, i.e. no user action required) in order to learn about each others presence before being able to make a direct connection. I don't know whether this was the case in your scenario but if you're saying that you could join a group from a conference a month ago then I'm assuming that you were able to connect to the bootstrap server.

Other than that I am not aware of special network requirements. There have been issues in the past with restrictive firewalls though.

One thing you could do is to check the log files (Help > Open Logs) and see whether you see any networking related errors.

Is this using Moss 0.12.x?

matthme avatar Aug 30 '24 15:08 matthme

Hi Matthew,

One requirement (at least currently) is that in order to make initial contact, both computers need to reach a bootstrap server on the public internet (who's URL is known by Moss, i.e. no user action required) in order to learn about each others presence before being able to make a direct connection. I don't know whether this was the case in your scenario but if you're saying that you could join a group from a conference a month ago then I'm assuming that you were able to connect to the bootstrap server.

Other than that I am not aware of special network requirements. There have been issues in the past with restrictive firewalls though.

One thing you could do is to check the log files (Help > Open Logs) and see whether you see any networking related errors.

Is this using Moss 0.12.x?

Yes I was using the latest, 0.12.x.

I think this is what you're talking about? https://github.com/holochain/bootstrap

I'm going to review that doc for a bit, b/c I'm pretty sure that was the issue.

Mbd06b avatar Aug 30 '24 15:08 Mbd06b

I just downloaded and tried out the 0.13.x release and the users were able to join groups, and sync data. I'm assuming that the default https://bootstrap.holo.host worker at the time just wasn't working for some reason.

Anyway, very exciting to see it work. Thanks.

Mbd06b avatar Jun 06 '25 21:06 Mbd06b