-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ipfs swarm connect fails immediately with "dial back off" #2543
Comments
I don't think that's the case, I was able to connect to that peer right after getting that error. |
I have similar experience. First time I run
|
mars has a patch currently that should help, you can |
I tried above command with this error:
How could I see a more verbose error log? |
More verbose information about dials can be found in That said, I think this issue has been resolved. |
The underlying issue causing the connects to fail has I think been On Thu, Apr 28, 2016 at 1:48 PM, Jeromy Johnson notifications@github.com
|
@interfect very much agreed. I opened #2456 as a way to get closer to that. Its not super easy due to how the dialing process currently works, but its something to move towards. |
update the latest version of ipfs from https://ipfs.io/docs/install/ and it solved my issue now the lastest version is 0.4.4 . |
I'm trying to debug/work around #2540, by manually convincing my IPFS to try connecting to some peers. I have the Windows x64 binary for 0.4.0.
When I try to use
ipfs swarm connect
to force a connection to a peer, it will sometimes fail immediately with adial back off
message:A few more tries of the command gets it to actually do something:
(I think in this case it isn't working because the peer is not yet upgraded to 0.4. But clearly it at least sent some packets.)
Anyway, I think that my command to dial the peer is being understood as more of a suggestion, and if IPFS is already busily dialing and getting nowhere, it won't actually bother trying to talk to the peer I told it to talk to.
User commands shouldn't be subject to exponential back-off. Instead,
ipfs swarm connect
should result in an immediate network connection attempt to the named address, no matter how many other dialing attempts are in progress or failing, and no matter how recently the same peer has been dialed.The text was updated successfully, but these errors were encountered: