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

Bug: Send objects example doesn't work #139

Closed
ChrisChinchilla opened this issue Dec 4, 2018 · 6 comments
Closed

Bug: Send objects example doesn't work #139

ChrisChinchilla opened this issue Dec 4, 2018 · 6 comments
Labels
topic/design-content Content design, writing, information architecture

Comments

@ChrisChinchilla
Copy link
Contributor

This of course could just be me, and it's hard to debug, but in usage.md

> hash=`echo "I <3 IPFS -$(whoami)" | ipfs add -q`
> curl "https://ipfs.io/ipfs/$hash"
I <3 IPFS -<your username>

Didn't result in the expected output. The hash worked, but curl and browser access doesn't return anything, i.e. eventually times out.

@ChrisChinchilla
Copy link
Contributor Author

ChrisChinchilla commented Dec 4, 2018

I see the comment below this about potential speed issues, but I've had it running for some time now. Maybe there's a better example so people don't lose interest? You can also just close this if it's too fiddly :)

@Mr0grog
Copy link
Collaborator

Mr0grog commented Dec 5, 2018

Well, it’s certainly a problem if this never worked, even after quite a while with your node being online. It might indicate a problem with some router in-between you and ipfs.io not having port 4001 open (which is a different thing we should describe somewhere).

Did the second part about using your local gateway (curl "http://127.0.0.1:8080/ipfs/$hash") work?

Side note: maybe we should flip the order of those (suggest trying your local gateway before trying a remote one) so that it’ll be more clear where the problem is (in your own local setup or something about your networking) if someone runs into this situation.

@Mr0grog
Copy link
Collaborator

Mr0grog commented Dec 5, 2018

That said, you should probably hit up https://discuss.ipfs.io to troubleshoot that. Then we’d love any changes to the docs that make sense based on what you learn while troubleshooting.

@meiqimichelle meiqimichelle added the topic/design-content Content design, writing, information architecture label Jun 4, 2019
@jessicaschilling
Copy link
Contributor

@ChrisChinchilla -- just checking in on this one before I close it, since it's been dormant for a while. Thank you!

@jessicaschilling jessicaschilling changed the title Send objects example doesn't work Bug: Send objects example doesn't work Jul 26, 2019
@ChrisChinchilla
Copy link
Contributor Author

@jessicaschilling Checking on what? I did this as part of a hackathon and I'm not sure why it's sat here so long. Might just be worth checking over and seeing if it's still the case.

@Stebalien
Copy link
Contributor

This is ipfs/kubo#6383. Basically, the gateway has trouble finding content.

Closing as this is a bug, not a documentation issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/design-content Content design, writing, information architecture
Projects
None yet
Development

No branches or pull requests

5 participants