Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Finding hash on gateway.ipfs.io #771

Closed
compsocial opened this issue Feb 23, 2017 · 4 comments
Closed

Finding hash on gateway.ipfs.io #771

compsocial opened this issue Feb 23, 2017 · 4 comments
Labels
kind/support A question or request for support

Comments

@compsocial
Copy link

I succeeded in obtaining js-ipfs via an npm install on Mac OS 10.12.3, after a decent amount of debugging of a few underlying dependencies. I then added files using both the jsipfs command line tool, as well as via both the browserify and webpack examples. Everything looks good in the terminal and the browser. For example:

$ echo "scofield" > sco
$ jsipfs add scofield
added [hash]
$ jsipfs cat [hash]
scofield

Similar results with the browser (that I'm actually more interested in). My assumption at this point--and this may be a misunderstanding on my part--is that this data would be available to others via gateway.ipfs.io. That is, that http://gateway.ipfs.io/ipfs/[hash] would return "scofield". However, it only times out.

What am I missing? How can verify that my data is accessible to other ipfs nodes?

Thanks!

@thisconnect
Copy link
Contributor

I have the same issue. not sure if I do something wrong, firewall issue, or if js-ipfs already supports that.

@dignifiedquire
Copy link
Member

js-ipfs does not support connecting to the gateways out of the box currently. The reason for that is that the gateways run go-ipfs and that js-ipfs has not implemented all features yet that are needed to easily fetch content on the gateways from it.

The latest release improves on things a little bit, as it now enables content transfer between two nodes directly. To test this you can connect to /ip4/178.62.158.247/tcp/80/ws/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd manually (one of the gateway nodes) you should be able to pull content from it via earth.i.ipfs.io/ipfs.

For being able to do what you want to do we are missing any form of routing on the js-ipfs side, specifically content routing via a dht. We are planning to work on this in a couple of weeks, so it is not too far out anymore. The work there is tracked in libp2p/js-libp2p-kad-dht#1

@thisconnect
Copy link
Contributor

@dignifiedquire thanks! I will play with go-ipfs and js-ipfs-api
Where is the best place to see the current state of js-ipfs, the waffle board?

@victorb
Copy link
Member

victorb commented Mar 3, 2017

@thisconnect there is a "Project Status" section in the ROADMAP.md file that might help you getting an overview: https://github.com/ipfs/js-ipfs/blob/master/ROADMAP.md#project-status

The Waffle board is more for day-to-day organization and also to find something to work on. Issues that are under the "Ready" column, should be ready to be picked up and worked on without any further information.

Hope that helps you navigate a bit! Otherwise, just ask if something is unclear :)

@victorb victorb closed this as completed Mar 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/support A question or request for support
Projects
None yet
Development

No branches or pull requests

4 participants