GithubHelp home page GithubHelp logo

Comments (3)

tongxin97 avatar tongxin97 commented on June 24, 2024

I just had the same issue. Seems like discovery.Advertise() failed.
Changing the RendezvousString also does not help.

from go-libp2p-examples.

aschmidt75 avatar aschmidt75 commented on June 24, 2024

Had the same issue. Additionally, my output says "dht: Bad dht record"

14:07:14.039  INFO rendezvous: Connection established with bootstrap node: {<peer.ID Qm*wMKPnu> [/ip4/128.199.219.111/tcp/4001]} chat.go:141
14:07:14.039  INFO rendezvous: Connection established with bootstrap node: {<peer.ID Qm*wMKPnu> [/ip6/2400:6180:0:d0::151:6001/tcp/4001]} chat.go:141
14:07:43.141  INFO rendezvous: Connection established with bootstrap node: {<peer.ID Qm*QLuvuJ> [/ip4/104.131.131.82/tcp/4001]} chat.go:141
14:07:43.142  INFO rendezvous: Announcing ourselves... chat.go:149
14:08:22.286 WARNI net/identi: error reading identify message:  stream reset id.go:135
14:08:43.463 WARNI        dht: Bad dht record in PUT from: Qme9BMQX1rLaBRy8G3hQc9DuiB4vdP6KWz3mEFqmPqgWAd. invalid record keytype handlers.go:167

from go-libp2p-examples.

upperwal avatar upperwal commented on June 24, 2024

Most of them are WARNINGS and you should not worry about them.

Warning like 12:19:50.728 WARNI dht: error bootstrapping: failed to find any peer in table dht_bootstrap.go:86 is generated because of random walk algorithm which generates random peer ID's and try to connect to them even before we are connected to any node and hence no peer is available in the routing table.

Warnings like

12:19:50.768 WARNI rendezvous: dial attempt failed: no good addresses chat.go:139

I guess because of DNS multiaddr bootstrap nodes like /dnsaddr/bootstrap.libp2p.io/ipfs/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN which are not yet supported by the swarm. @Stebalien might be able tell you more about this.

Example should work regardless of the warnings generated. (Tried)

I think it would be good not to display too many logs to someone who is new.

from go-libp2p-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.