-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Routing.Type=auto: announcements over HTTP PUT cid.contact always fail #9504
Comments
I agree with B. We could use https://github.com/hashicorp/go-retryablehttp . Integration should be easy. WDYT? |
Yes, that would mitigate temporary issues with HTTP, which feels useful, but may not be enough for (B). |
For reference IPNI will return |
I'm strongly favoring A) since B) makes a bunch of assumptions about how providing will work but we haven't really implemented and exercised it yet (to my knowledge?). I think we should treat the upgrade problem as a separate issue and favor incremental delivery of features instead of trying to front-load them. |
Version
Config
default produced by 'ipfs init' (Routing.Type=auto)
Problem
Only
GET /routing/v1/providers/{CID}
in IPIP-337 is currently supported by https://cid.contact/, and they have no short term plans to enable it.At the same time, Kubo 0.18.0-rc1 running with
Routing.Type=auto
(default) sends HTTP PUTs that will always fail.Solution
TBD, two obvious options come to mind:
auto
mode for now, we will enable it in the future release after cid.contact supports itI don't know how "stable"
PUT /routing/v1/providers
API is. If it is ready, then my vote would be to implement (B) in 0.18.0-rc2, as it is safer behavior that accounts for the slow rate of nodes updating to new versions of Kubo. (B) allows 0.18 nodes to start publishing as soon cid.contact supports it.cc @ajnavarro @guseggert @willscott @masih
The text was updated successfully, but these errors were encountered: