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
JS-IPFS now incompatible with https://ipfs.io gateway #1380
Comments
|
Hi @rodkeys. There has been a needed infrastructure change on the IPFS Gateways. This change means that a js-ipfs node doesn't connect to the Gateway nodes anymore. Once #856 and/or libp2p/js-libp2p#120 + go-ipfs 0.4.15 is released, you will be able to access files from the ipfs.io gateways again. |
|
More context given @alanshaw's ping on IRC: |
|
It looks like this is blocking the opposite as well - could this be causing the problem where files added on the go nodes are no longer retrievable from the js-ipfs. Since we've seen other bugs with that route I'm not sure its this Issue causing what appears to be files not being found. |
|
I think we can work around this by directly dialing a wss go-ipfs node from js in the meanwhile, does that make sense @diasdavid? (for demo purposes, aware that this would be fragile) |
|
Indeed we can as long as those Infra nodes are easy to find -- ipfs/infra#410 -- and they are listening on websocket secure multiaddrs. |
|
It's compatible again with #1458, try it out and let us know how it goes :) |
|
Confirming it works! Yeah! |
rodkeys commentedJun 4, 2018
•
edited
Version: 0.29.1
Platform: 64-bit (Windows)
Subsystem: XXX
Type: Bug
Severity: High
Description: A few weeks ago I was able to successfully add files from JS-IPFS and access them from public gateways such as ipfs.io. I am no longer able to have my files found from any of the public gateways. I am connected to approximately 100 peers on average. I have tested this issue on multiple VPS's in different locations.
Steps to reproduce the error: Add a unique file and try to access its hash through the ipfs.io gateway. My node initialization code is listed below.
The text was updated successfully, but these errors were encountered: