Hello!
I have a huge and urgent problem with upload file to ipfs (gateway.ipfs.io) in my javascript code.
- Ipfs initialize:
const ipfs = ipfsAPI({ host: ‘gateway.ipfs.io’, protocol: ‘https’ });
Also I`ve tried with http protocol, but have the same error/
So, when I want to add my file to ipfs, I send the POST request:
https://gateway.ipfs.io/api/v0/add?recursive=true&stream-channels=true
And the result is: net::ERR_NAME_NOT_RESOLVED
When I run ipfs locally, and use appropriate config, everything is good
ipfs = ipfsAPI({ host: ‘localhost’ });
My network screenshot: http://take.ms/4aAS0
I`ve install the latest available version of ipfs: 0.4.13
But current https://gateway.ipfs.io/api/v0/version is 0.14.14-dev
Also Ive tried to work with ipfs and proxy. As result I
ve got 404 Not found.
I really haven`t a clue what is going on, and I will be very grateful for any help.