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

ipfs cat /ipfs/<hash>: unrecognised node type #3886

Closed
entr0p1 opened this issue Apr 29, 2017 · 3 comments · Fixed by #3889
Closed

ipfs cat /ipfs/<hash>: unrecognised node type #3886

entr0p1 opened this issue Apr 29, 2017 · 3 comments · Fixed by #3889

Comments

@entr0p1
Copy link

entr0p1 commented Apr 29, 2017

Version information:

go-ipfs version: 0.4.8-
Repo version: 5
System version: amd64/linux
Golang version: go1.8

Type:

Bug

Severity:

Medium

Description:

I've added a file and folder to the IPFS repository and am getting this error when browsing to them using gateway.ipfs.io:

ipfs cat /ipfs/: unrecognized node type

The two "root" hashes (don't know the term you guys use for the top-level) are:
QmcxzUBGcTSc1zrm5n1yihWiRW3wB5mQs9B832WyGxta1k
QmdMfkseBWgYnXktFGQZMoQzqUxTMD9dWoHjZ8ptWs9uys

Interestingly, browsing to the only file sitting underneath the first hash works fine:
QmZ7RUvVGfKVa14uARQCpfgbGQUkchsjWka7coiNN44idf

And browsing to several other files below the second hash work fine also:
Qmb6TYpcHUwKXpebS4JnNFTnGmL3UsbEYxYwg9EXHAuA7u
QmTMhki9DDH4mcaC8QjqGFsnfsexLWcjH5iWUoRs4cUhjR

Seems to just be directory listings that it's bombing out for.

It also might be worth mentioning I've enabled sharding just before this started occurring (for another issue I have logged), unsure if that's related or not

@whyrusleeping
Copy link
Member

It would appear that the gateways cant handle listing sharded directories. I'll fix this

@entr0p1
Copy link
Author

entr0p1 commented Apr 30, 2017

@whyrusleeping just tested this but I'm still getting the same result.. Do I need to re-add the files or do anything from my end? Is there a delay for the merge to take place on the gateways?

@Kubuxu
Copy link
Member

Kubuxu commented Apr 30, 2017

Yeah, global gateways have to be deployed for the change to be observed on ipfs.io.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants