-
-
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
Gateway opening HAMT dir produces: internalWebError: context canceled #8420
Comments
This comment has been minimized.
This comment has been minimized.
Thank you @stephendonner, this one is tricky. I confirmed the issue exists, however it is not related to DNS nor Brave, but seems to be related to the way this specific HAMT directory is rendered by the go-ipfs gateway when requested CIDs are not in the local datastore: Minimal test case: // start empty repo (without wikipedia blocks)
$ docker run --rm -it --net=host ipfs/go-ipfs:v0.10.0-rc1
// then attempt to load it in the other terminal:
$ curl 'http://en.wikipedia-on-ipfs.org.ipns.localhost:8080/wiki/'
internalWebError: context canceled Update: same problem with other HAMT-sharded websites, eg. http://tr.wikipedia-on-ipfs.org.ipns.localhost:8080/wiki/ |
I've pasted in comments from internal Slack below. We're going to meet sync on 2021-09-13 to determine the plan. aschmahmann 1 day ago aschmahmann 1 day ago biglep 1 day ago aschmahmann 1 day ago biglep 22 hours ago warpfork 15 hours ago warpfork 15 hours ago aschmahmann 14 hours ago warpfork 14 hours ago
https://github.com/ipfs/go-path|ipfs/go-pathipfs/go-path | Added by GitHub aschmahmann 13 hours ago aschmahmann 13 hours ago aschmahmann 13 hours ago hannah 12 hours ago warpfork 12 hours ago hannah 12 hours ago biglep < 1 minute ago |
2021-09-13 verbal with @aschmahmann and @warpfork, we are going to:
|
|
Nit: I don't think a good hunk of I don't think this distinction necessarily matters to the fix, but (unless I'm mistaken about this, and the timeouts were actually in play somehow), it does leave many of the questions open about why tests didn't find this. |
Corresponding tests are in #8436 |
Checklist
Installation method
third-party binary
Version
Config
No response
Description
DNS lookup failures for en.wikipedia-on-ipfs.org over localhost/IPNS
1.29.79
) using--enable-logging=stderr --vmodule="*/variations/*"=6,"*/bat-native-ledger/*"=6,"*/brave_rewards/*"=6,"*/bat-native-ads/*"=6,"*/bat-native-confirmations/*"=6,"*/brave_ads/*"=9,"*/brave_user_model/*"=6 --brave-ads-staging --brave-ads-debug --rewards=staging=true,reconcile-interval=3 --use-dev-goupdater-url
ipns://en.wikipedia-on-ipfs.org
Use a local node
http://en.wikipedia-on-ipfs.org.ipns.localhost:48084/wiki/
Actual Results with 0.10.0-rc1: page does not load,
internalWebError: context canceled
is displayedExpected Results:
ipns://en.wikipedia-on-ipfs.org
/http://en.wikipedia-on-ipfs.org.ipns.localhost:48084/wiki/
should resolve/cc @spylogsster @lidel
The text was updated successfully, but these errors were encountered: