Given that the hosted signaling servers (such as ws-star.discovery.libp2p.io) are not recommended for production apps, what sort of specifications are used/recommended for the signaling servers ?
A few months ago there was a conversation between @vasco-santos, @jacobheun and myself about documenting deploying singaling stars in https://github.com/libp2p/js-libp2p-webrtc-star/issues/238 which was I believe put as a draft in https://github.com/libp2p/js-libp2p/pull/718. I’m unaware of the status, but I know that there’s enough information there to quickly deploy one, and the docker image (libp2p/js-libp2p-webrtc-star) is available for use.
Thanks for pointing this @jjperezaguinaga
I had to switch my priorities, but I hope to get back to these docs. Meanwhile, I think the PR content should help
@jjperezaguinaga Thank you for the resources. I will have to continue to mess with them/go through them again as in my initial tests, despite the computers both being able to visit the website that they set up (at <ip/host>:9090), they were unable to connect. No errors or anything either.
After messing around with it some more, using libp2p-websocket-star-rendezvous seems to have worked.
@ls5 what versions of libp2p are you running? FYI
libp2p-websocket-star-rendezvous is deprecated and we would recommend using
libp2p-webrtc-star. What is your use case that needs it?
@vasco-santos Ahh sorry, I probably should have mentioned that in my previous post. For Libp2p, I’m currently using 0.26.2 (I believe this is about one year old as that’s when I started this project). A few months back, I did try to upgrade to 0.27.8, but found it to be unstable. Because of this, I was forced to go back to 0.26.2.
As my project currently stands, for better or for worse, it currently treats libp2p as a black box allowing me to send messages between peers. Because of this, I decided to prioritize development of my application/its communication protocol on a version of libp2p which I knew to be stable. And then at some point down the road (probably somewhat soon), I’ll try to update again and see if things are more stable now. To be clear, I haven’t made this project public yet, so I’m not floating around deprecated copies of code.
While I had initially tried using
libp2p-webrtc-star, I was having issues dialing my peers with it. However, I do plan to try it again.
To be honest, I am not the most up to date with the change logs at the moment, but I’m happy to discuss this further.
Sorry for the late response, but I missed this notification. Would you be able to update? Now with all the improvements that landed until 0.29 and 0.30 nearby I highly recommend it.
If you need any help to updated, let me know and you can also check https://github.com/libp2p/js-libp2p/tree/master/doc/migrations