Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not establish enough connections to bootstrap peers; BUT I can ping them #23

Open
STX5 opened this issue Jul 6, 2022 · 2 comments

Comments

@STX5
Copy link

STX5 commented Jul 6, 2022

when I run pcp send command, the output is like :

could not establish enough connections to bootstrap peers
	failed to dial QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ: all dials failed
  * [/ip4/104.131.131.82/tcp/4001] dial tcp4 0.0.0.0:38687->104.131.131.82:4001: i/o timeout
	failed to dial QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb: all dials failed
  * [/ip6/2604:1380:2000:7a00::1/tcp/4001] dial tcp6 [2604:1380:2000:7a00::1]:4001: connect: network is unreachable
  * [/ip4/147.75.83.83/tcp/4001] dial tcp4 0.0.0.0:38687->147.75.83.83:4001: i/o timeout
	failed to dial QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN: all dials failed
  * [/ip6/2604:1380:1000:6000::1/tcp/4001] dial tcp6 [2604:1380:1000:6000::1]:4001: connect: network is unreachable
  * [/ip4/147.75.109.213/tcp/4001] dial tcp4 0.0.0.0:38687->147.75.109.213:4001: i/o timeout
this means you will only be able to transfer files in your local network


But I can ping these IP Address ping 104.131.131.82, ping 147.75.109.213
Which means the network between me and the bootstrap peers is reachable.

PING 147.75.109.213 (147.75.109.213) type `Ctrl-C` to abort
 seq=0 32bytes from 147.75.109.213: ttl=46 time=217.729074ms
 seq=1 32bytes from 147.75.109.213: ttl=46 time=217.792354ms
 seq=2 32bytes from 147.75.109.213: ttl=46 time=217.940214ms
 seq=3 32bytes from 147.75.109.213: ttl=46 time=217.733247ms
───────── 147.75.109.213 ping statistics ─────────
PACKET STATISTICS: 4 transmitted => 4 received (0% loss)
ROUND TRIP: min=217.729074ms avg=217.798722ms max=217.940214ms stddev=85.437µs

So is this issue caused by my network or the network between me and the bootstrap peer or the DHT?

I really want to try this project, it looks fun and inspiring

@crazyn2
Copy link

crazyn2 commented Jul 7, 2022

Same issue. Could the author give a tutorial how to build a own relay server?

@vin047
Copy link

vin047 commented Jan 9, 2023

I use NextDNS, and disabling it on both ends and disabling macOS firewalls seemed to fix the issue.

Not really a solution though, so would be good to get a proper fix for this, but I suspect its more to do with libp2p.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants