kubo icon indicating copy to clipboard operation
kubo copied to clipboard

Getting "no addresses on peer being sent!" error

Open mitar opened this issue 10 years ago • 7 comments

Just installed the go binary 0.3.11 on my Mac OS X, running daemon like explained in the "getting started" guide, and I see errors in the console:

19:38:33.376 ERROR        dht: no addresses on peer being sent!
                    [local:<peer.ID XKKFFa>]
                    [sending:<peer.ID >]
                    [remote:<peer.ID SoLnSG>] handlers.go:73

Not sure what is this. Is it because I ran ipfs diag net?

It seems I am connected well:

ipfs swarm peers | wc -l
100

mitar avatar Mar 24 '16 02:03 mitar

Hey @mitar, I am getting this same issue, not sure what it's complaining about. Did you ever figure out the issue? I'm running v0.4.2 on Ubuntu 16.04.1.

0xbboyd avatar Aug 04 '16 18:08 0xbboyd

It probably shouldn't be an error. @firemound do you encounter any other problems apart from that log?

Kubuxu avatar Aug 04 '16 19:08 Kubuxu

@Kubuxu no, I'm not experiencing any obvious service problems. It is not clear why that error is being logged.

0xbboyd avatar Aug 04 '16 20:08 0xbboyd

This is not technically an error, but its something we need to fix so that we don't encounter the issue. The problem is that we might have information for a peer, but all the addresses we have for them have expired, leading to us 'knowing' about a peer, but sending an empty response because we don't know any addresses.

whyrusleeping avatar Aug 04 '16 20:08 whyrusleeping

TODO: decide what to do in libp2p when we no longer have any valid addresses for a peer. We should probably clear any other info we have about them from the peerstore to save memory.

whyrusleeping avatar Aug 23 '16 20:08 whyrusleeping

if it's nothing critical, could it get something like a yellow WARN instead of a red ERROR label? It does look scary for newbies :)

maxlath avatar Sep 17 '16 16:09 maxlath

It's not an error, and expected behavior. this should be lowered to Debug.

jbenet avatar Sep 17 '16 22:09 jbenet