Skip to content
This repository has been archived by the owner. It is now read-only.

Unable to retrieve files via gateway.ipfs.io #15

Closed
adamc199 opened this issue Jan 19, 2016 · 22 comments
Closed

Unable to retrieve files via gateway.ipfs.io #15

adamc199 opened this issue Jan 19, 2016 · 22 comments

Comments

@adamc199
Copy link

adamc199 commented Jan 19, 2016

I believe my install is working correctly, I see a list of peers when I execute swarm peers

However, when attempting to retrieve a file I have added as demo'd in the video through gateway.ipfs.io/ipfs/QmTrgQg3TeuqNCqq85Q42x3rnER9eN96J5wj9C2yVD4rwv

The server just sits with a 'Waiting for gateway.ipfs.io" message.

Not sure where to start debugging my problem.

@fazo96
Copy link

fazo96 commented Jan 20, 2016

when attempting to retrieve a file I have added as demo'd in the video through gateway.ipfs.io/ipfs/QmTrgQg3TeuqNCqq85Q42x3rnER9eN96J5wj9C2yVD4rwv

What do you mean? How are you retreiving the file? That is an HTTP url, the associated IPFS address is /ipfs/QmTrgQg3TeuqNCqq85Q42x3rnER9eN96J5wj9C2yVD4rwv

@adamc199
Copy link
Author

adamc199 commented Jan 22, 2016

I was under the impression that you can test if your file has propagated throughout the network by retrieving it from the gateway.ipfs.io server. That is exactly what the video showed.
I am aple to retrieve files locally with ipfs get, but any other nide I has cannot retrieve my files.
I have a good number of peers when I execute ipfs swarm peers, but otherwise no joy.
How do I test to see if my install is functioning properly?

@lidel
Copy link

lidel commented Jan 23, 2016

Are you running the same version as the Gateway?
https://gateway.ipfs.io/api/v0/version is "0.3.11"

@adamc199
Copy link
Author

adamc199 commented Jan 23, 2016

Thanks for responding. I set up an additional mode on an Amazon ec2 instance and I was able to retrieve files from my local laptop install and vice versa. So it works!

What confused me was the demo video on ipfs.io

It showed different results through gateway.ipfs.io and I was expecting my files to be available through their gateway.

@fazo96
Copy link

fazo96 commented Jan 23, 2016

The files should be available through their gateway! Or any other gateway. Sometimes it just takes a few minutes for them to propagate the first time.

@jbenet
Copy link
Contributor

jbenet commented Jan 23, 2016

It's likely a nat problem. we're aware of it.

On Sat, Jan 23, 2016 at 6:34 AM Enrico Fasoli notifications@github.com
wrote:

The files should be available through their gateway! Or any other gateway.
Sometimes it just takes a few minutes for them to propagate the first time.


Reply to this email directly or view it on GitHub
#15 (comment).

@adamc199
Copy link
Author

adamc199 commented Jan 23, 2016

hmmm. Yet was unable to find a bug report for NAT in the tracker.

@adamc199 adamc199 reopened this Jan 23, 2016
@RichardLitt
Copy link
Collaborator

RichardLitt commented Mar 10, 2016

@adamc199 We're actively working on fixing this right now. Do you still have this problem?

@adamc199
Copy link
Author

adamc199 commented Mar 10, 2016

This appears to have been fixed on the 4.x releases.

AC

——————————————
K5ACC

Governments are reading your email.
Slow them down with encryption.

My public key: pubkey.curry.com
——————————————

On Mar 10, 2016, at 12:32 PM, Richard Littauer notifications@github.com wrote:

@adamc199 We're actively working on fixing this right now. Do you still have this problem?


Reply to this email directly or view it on GitHub.

@RichardLitt
Copy link
Collaborator

RichardLitt commented Mar 10, 2016

Woo! :D

@RichardLitt
Copy link
Collaborator

RichardLitt commented Mar 10, 2016

Reopen as needed. Thanks!

@ohimors
Copy link

ohimors commented Jun 11, 2016

I just added a file to ipfs. It should be available at the following URI but never appears to resolve. My ipfs version is 0.4.2 (same as the gateway). I was following the demo, am I missing something?

https://gateway.ipfs.io/ipfs/QmU6ub9mcBtigipmzTZvaZbjmCMgh3aPYHPqi6JzjAQqz4

@RichardLitt RichardLitt reopened this Jun 12, 2016
@ShariqT
Copy link

ShariqT commented Jul 28, 2016

I am having this problem as well. Using version 0.4.2

@ghost
Copy link

ghost commented Jul 28, 2016

Could you try it with the most recent v0.4.3-rc1 from https://dist.ipfs.io?

@norzak
Copy link

norzak commented Nov 21, 2016

I am using 0.4.4 and have this problem on macosx

@victorb
Copy link
Contributor

victorb commented Nov 22, 2016

@norzak are you connected to other peers? You should be able to see that if you run ipfs swarm peers. Also, could be that the gateways can't fetch the content for the hash you're trying to load. Do you happen to know where the hash come from and if someone is seeding it?

@norzak
Copy link

norzak commented Nov 24, 2016

It worked today. I do not know why because I didnt do anything different just run the "ipfs daemon". It must be a glitch at gateway.ipfs.io backend.

@flyingzumwalt
Copy link
Contributor

flyingzumwalt commented May 23, 2017

@g14a
Copy link

g14a commented Oct 5, 2017

Using ipfs version 0.4.12-dev but still face this problem..

I tried doing this to a random text file --> https://gateway.ipfs.io/ifps/Qmbrfhs8a5WVqWzm21BjYi6MggtZrJa5TpHq4LL9tHZZCd

and my localhost says 404 not found. :(

@Kubuxu
Copy link

Kubuxu commented Oct 9, 2017

@gowtham-munukutla please ask on https://discuss.ipfs.io

@weihuang1979
Copy link

weihuang1979 commented May 15, 2018

I m having this issue . I can see the peers through ipfs swarm peers but when ipfs add a file, the public gateway can't see it. However, when work on an Ali cloud it works. So it should be a Nat problem

@hatgit
Copy link

hatgit commented Oct 6, 2018

This helped for resolving the inability to access your files publicly when they are already uploaded: https://github.com/ipfs-shipyard/ipfs-webui#configure-ipfs-api-cors-headers

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

No branches or pull requests