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

Dial backoff #643

Closed
JackBekket opened this issue May 22, 2019 · 5 comments
Closed

Dial backoff #643

JackBekket opened this issue May 22, 2019 · 5 comments
Labels
kind/support A question or request for support

Comments

@JackBekket
Copy link

Hi!

I'm trying to run libp2p example (chat with mDNS) on a different devices in one local network (wi-fi)

When I try to connect two linux devices it's work well, but if I try to connect between linux and windows it's failing.

I've tried connect from two different windows machine to linux, one of them seem's like don't even find peers, second one finds linux peer, but failed with connection to it

It says stream open failed dial backoff

Can it be OS related or network related or firewall related?
Does anyone tried to run libp2p applications on windows?

@Stebalien Stebalien added the kind/support A question or request for support label May 22, 2019
@Stebalien
Copy link
Member

"dial backoff" usually means it tried to connect but failed, so it decided to stop trying. It's likely firewall related. That is, your node likely tried to connect once (likely because it saw an mDNS advertisement), failed, set a "backoff", then you tried to connect and ran into this backoff.

Do you have an inbound firewall configured?

@JackBekket
Copy link
Author

I've tried to set firewall off on windows machines, but it doesn't help yet

libp2p/go-libp2p-examples#62

@JackBekket
Copy link
Author

@Stebalien It's look's like context background working weird on windows devices, because it announce localhost in advertisment instead of real address

@Stebalien
Copy link
Member

Are you enabling AutoRelay by any chance? Could be related to #667.

@Stebalien
Copy link
Member

(closing as this appears to be unrelated to dial backoff)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support A question or request for support
Projects
None yet
Development

No branches or pull requests

2 participants