robotopia icon indicating copy to clipboard operation
robotopia copied to clipboard

P2P not working locally and ongoing support

Open matthieunelmes opened this issue 7 years ago • 7 comments

Hello,

Would it be possible to have a brief explanation of the SignalHub requirements? Is there a separate repo that handles the serverside communications for P2P

The current hubURL 'https://signalhub.perguth.de:65300/' does not work. I would like to get this running locally.

On a separate note, I'd be very keen to get involved in ongoing support and maintenance of this repo if possible?

matthieunelmes avatar Dec 24 '18 10:12 matthieunelmes

We're no longer working aktively on robotopia. But I'm very excited that you're interested in working on it. I'm glad to help you with any questions to get you started.

SignalHub is required to initiate the initial connection between the clients. You can replace the current hubURL with one of the instances from the signal hub repo:

  • https://signalhub-jccqtwhdwc.now.sh
  • https://signalhub-hzbibrznqa.now.sh

You can also deploy you own instance: https://github.com/mafintosh/signalhub#nowsh

paulsonnentag avatar Dec 25 '18 10:12 paulsonnentag

Thanks for the reply.

I'm looking forward to getting involved as it will be a great project to introduce my son to programming.

I will try those signalhub urls.

Could signalhub be replaced with a socket.io connection and lightweight nodeJS app? Or is that too much?

matthieunelmes avatar Dec 28 '18 09:12 matthieunelmes

You could replace the signalhub part with websockets. At the time we decided to use webrtc because we wanted to run all the logic on the client. Is there a particular reason you would prefer websockets?

paulsonnentag avatar Dec 28 '18 11:12 paulsonnentag

No particular reason other than I'm not familiar with webrtc.

matthieunelmes avatar Dec 28 '18 11:12 matthieunelmes

I'm still struggling to get this working. Trying to start the editor and it just hangs, no errors in the browser console.

screenshot 2018-12-30 at 20 41 06

matthieunelmes avatar Dec 30 '18 20:12 matthieunelmes

I'm looking into it. I haven't touched the project in a while so I'm not sure yet what the issue is.

paulsonnentag avatar Jan 03 '19 15:01 paulsonnentag

Thank you. I appreciate your time, I did try to dig around but I wasn't having much luck.

matthieunelmes avatar Jan 03 '19 15:01 matthieunelmes