Open lanmo97 opened 3 years ago
when I use ipfs.add() to upload video, it return net::ERR_CONNECTION_TIMED_OUT at Chrome console.
net::ERR_CONNECTION_TIMED_OUT
this is my code:
//Declare IPFS const ipfsClient = require('ipfs-http-client') const ipfs = ipfsClient({ host: 'ipfs.infura.io', port: 5001, protocol: 'https' }) // Upload video ipfs.add(this.state.buffer, (error, result) => { console.log("IPFS result: ", result) if(error){ console.log("error: ", error) return } })
this the Error in Chrome console:
Thank you much very much.
P.S.: when I use the Infura and IPFS by this way, do I need to install and configure Infura and IPFS at my computer?
@lanmo97 hey any update on this issue, seem to facing the same error
when I use ipfs.add() to upload video, it return
net::ERR_CONNECTION_TIMED_OUT
at Chrome console.this is my code:
this the Error in Chrome console:
Thank you much very much.
P.S.: when I use the Infura and IPFS by this way, do I need to install and configure Infura and IPFS at my computer?