Comments (3)
I just had the same issue. Seems like discovery.Advertise()
failed.
Changing the RendezvousString
also does not help.
from go-libp2p-examples.
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.
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)
- pubsub\chat example - Can't see others clients messages HOT 1
- Relay Example error HOT 2
- pubsub chat example datarace
- how to init RendezvousString in chat-with-rendezvous? HOT 2
- How do I keep nodeID unchanged every time I start it HOT 4
- Does libP2P support authentication? HOT 1
- How can i make other peers persist when another peer disconnects HOT 2
- An Error in Echo client/server with libp2p
- Dependencies out of date
- Automated testing
- How can I help PRs get merged? HOT 2
- chat-with-rendezvous doesn't work: dht failed to query self during routing table refresh HOT 3
- Add Example on configuring and using AutoRelay
- Add example to show how to configure AutoNAT client and how it discovers reachability
- go-libp2p-autonat-svc deprecated
- libp2p-host example missing _peer import
- Should I openStream every time like multipro did
- Errors with simple libp2p HOT 1
- routed-echo example: invalid character '-' after top-level value
- Modifying http_proxy/proxy.go to make the remote proxy to act as an egress gateway to connect to a non-p2p real server. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-libp2p-examples.