Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Pulls in provider records fix from go-ipfs master #723

Merged
merged 12 commits into from
May 2, 2019

Conversation

sanderpick
Copy link
Member

@sanderpick sanderpick commented May 2, 2019

In the name of less configuration, also removes the Cafe.Host.Local config flag in favor of the following:

  1. Look for a LAN, if present use that IP
  2. Poll for a public IP address in the libp2p host's addresses (10s max)
  3. Just use loopback

Fixes #716

@sanderpick
Copy link
Member Author

This depends on ipfs/kubo#6289

@sanderpick sanderpick self-assigned this May 2, 2019
@sanderpick
Copy link
Member Author

Ok, ready for a look on this one even though it's referencing an un-merged go-ipfs PR.

@sanderpick
Copy link
Member Author

sanderpick commented May 2, 2019

What do you all think about giving this a shot on the prod cafes? I'd like to see how it behaves even though there are likely other fixes coming.

@sanderpick
Copy link
Member Author

The autonat issue was merged. I'll pull that in now.

Copy link
Member

@carsonfarmer carsonfarmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@asutula asutula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Thanks for fixing up those return types!

@sanderpick sanderpick merged commit 1af57f8 into master May 2, 2019
sanderpick added a commit that referenced this pull request May 3, 2019
Pulls in provider records fix from go-ipfs master
@sanderpick sanderpick deleted the sander/go-ipfs-update branch May 17, 2019 05:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate unresponsive cafes
3 participants