Questions tagged [ipfs-http-client]
47 questions
0
votes
1 answer
IPFS http server is refusing connection
I have used ipsf-http-client package to be able to save files into IPFS. I run the daemon through ipfs daemon. I can see that IPFS is working on my server instance.
And in my local environment everything is fine and works as expected. but I have an…

krzyhub
- 6,285
- 11
- 42
- 68
0
votes
0 answers
ipfs-http-client won't allow me to upload a folder
I'm trying to upload a folder using the ipfs-http-client my code looks like so:
const INFURA_KEY = process.env.REACT_APP_INFURA_PROJECT_ID
const INFURA_PROJECT_SECRET = process.env.REACT_APP_INFURA_SECRET
const auth ='Basic ' +…

Ritzy Dev
- 387
- 3
- 10
0
votes
1 answer
Node Run script from IDE Fails No "exports" main defined
I'm trying to create a project which deploys nfts to ipfs automatically. I downloaded an existing project and I'm trying to extend the functionality
My packages.json looks like so:
{
"name": "3_market_engine",
"main": "index.js",
"bin":…

Ritzy Dev
- 387
- 3
- 10
0
votes
0 answers
How to Update JSON Data Stored in Network using Node.JS, IPFS, and Web3
I'm building a simple Web3 app that generates JSON data and saves it on the IPFS network.
The JSON data saved on the IPFS network is then updated when new JSON data is generated.
Saving the data is easy.
The problem is I cannot figure out how to…

Vakindu
- 529
- 1
- 5
- 17
0
votes
0 answers
ipfs add single item from type FileStream
I was expecting ipfs.add with onlyHash:true to return the same hash as onlyHash:false, what don't I understand here?
data.file is coming from a file upload const data = await request.file(); which is a FileStream
const onlyHash = await…

Bill
- 4,614
- 13
- 77
- 132
0
votes
1 answer
Uploading folders to IPFS from command line returns hash but folder doesn't exist on network
I am trying to upload a folder to IPFS using the command line. It always executes and returns the hash using
ipfs add folder --recursive
But when I try to view the folder it just keeps loading searching for the folder. When I check the network the…

Ryan D
- 741
- 1
- 11
- 29
0
votes
0 answers
List all files and delete thorugh ipfs-http-client
I upload image and video thorught ipfs client.
I use add method in this way:
let data = {
content: bufferFile,
path: path
}
const result = await client.add(data)
return result
Path is only the name of the file, I don't…

A. Rizzi
- 23
- 6
0
votes
0 answers
Unable to resolve path to module 'ipfs-http-client' eslint
I'm working on my company project and there's a 3rd party yarn package called ipfs-http-client I want to use. However, somehow whenever I try to import something from it, eslint's popup shows up when I hover over the package name and say it's unable…

Stephen Fong
- 697
- 5
- 17
0
votes
0 answers
Getting error in ipfs.add() method wile using ipfs with ejs to upload file
I am trying to upload a file to ipfs using ejs app. I have go to a lot of posted problems but i have not seen a problem like i am getting.
when we use ipfs.add() method with a simple string "Hello World" it still worked for others but in my case it…

Abidullah
- 159
- 3
- 13
0
votes
0 answers
How to setup IPFS public gateway?
Hello all community members and developers,
I am trying to set up the public IPFS gateway on my AWS server.
I have installed the Golang and IPFS successfully on the server. and as I try running the IPFS node (IPFS Daemon), my IPFS node starts…

Kapil Yadav
- 17
- 3
0
votes
1 answer
ACI IPFS node connection issues
I have followed this tutorial for how to set up an IPFS node in an Azure container to set up two IPFS nodes, one in Europe and one in the US to do some benchmarking on how long it takes to retrieve a CID across the nodes. I have created a simple…

elillesaeter
- 148
- 10
0
votes
2 answers
Unhandled Rejection (TypeError): Cannot read properties of undefined (reading 'hash')
I am trying to make a solution to store the file in IPFS , and then put the hash on the blockchain.
But when I try to upload the file to IPFS here comes the error message
Unhandled Rejection (TypeError): Cannot read properties of undefined (reading…

Neil
- 1
- 3
0
votes
0 answers
Is docker daemon of ipfs connecting to peers?
Good day!
This is the situation.
We developed an application with IPFS using its container version on docker. But there is a suspicion that it does not connect to peers, because if you run the search locally, it will go through quickly.
So, are…

Zethuman
- 59
- 2
0
votes
2 answers
Why MongoDB saves Hash value in different format?
I am learning IPFS and trying to save IPFS file info in MongoDB. After uploading, I get one hash value
ex: {fileHash: CID(QmbCaWPi9tSqcnykvBUMaH2M1d5PiVPLEfPwhJksSSeMak)}
And in MongoDB, I see something like this:
"fileHash": {
"code": 112,
…

abdulbarik
- 6,101
- 5
- 38
- 59
-1
votes
2 answers
Typeerror: source is not iterable while uploading file into ipfs by using web3storage
Yesterday I bought my new laptop and installed all the stuffs like react, web3.storage etc on new versions.
I have a copy of my same source code on my another computer. In my computer this code work fine but not in my new laptop
I tried to upload…

Abdul Haq
- 9
- 2