-
-
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
v0.18.1 panics on startup with certain routing config #9682
Comments
Basically the A quick hack that we can use here is to search around in the config for a content router that supports FindClosestPeers and use the first one we stumble on. I think that would unblock bifrost and most users. It's not much extra effort though to just add "query" as a method to the routing config, which lets users specify which router they want to use for "query". Then the equivalent behavior for the existing "query" function (fall back to LAN if WAN is offline) would be to just query both in parallel using a parallel router, which is usually already configured. |
This also leads to the question of whether to add "query" or "find-closest-peers" to the delegated routing API. That's something we can add later, just mentioning it because I don't think it's been considered for delegated routing yet. |
For anyone watching this issue, this is "P0" since it is blocking the rollout of "HTTP Delegated Routing" https://github.com/protocol/bifrost-infra/issues/2183 . @guseggert : please update here with next steps as they are known. |
I think the best way to quickly unblock here is to add a new routing type called "autoclient", which is the same as "auto" except it disables DHT servers. This is similar as "dht" and "dhtclient", so we would now have "auto" and "autoclient". Then bifrost would switch to use "autoclient" with This does not resolve the problem of "custom" routing not working correctly with I have already tested this and it works, I am writing tests now for it. |
Thanks @guseggert . A couple of things:
|
There is already one open for |
Version
Config
Description
Kubo panics on preload nodes with the above config:
For more context: https://github.com/protocol/bifrost-infra/pull/2356
The text was updated successfully, but these errors were encountered: