Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I'm trying to get a libp2p rendezvous server working. Has anybody been able to do this here? I would love some help. I installed the docker version, as they suggest:

docker pull libp2p/websocket-star-rendezvous:release
docker run -d -p 9090:9090 --name rendezvous libp2p/websocket-star-rendezvous:release

The logs say it's running at 0.0.0.0:9090, but when I try to connect to it via IPFS or via a simple javascript call, neither work. It returns an ERR_CONN_REFUSED.

this._ipfs = new Ipfs({                                                      
  EXPERIMENTAL: {                                                            
    pubsub: true                                                             
  config: {                                                            
    Bootstrap: [                                                             
      "/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/p2p-websocket-star/",   

Note: I have my own URL but I'l just using the URLs from the examples now.

websocket = new WebSocket("wss://ws-star.discovery.libp2p.io:443");

In the client, I get a simple validation error: 2 "0" must be in IPFS format

On the server, I get nothing in the logs and refused connections. This is all mostly just "out-of-the-box" with no code changes at all.

More detailed in the GH issue here. Help!

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.