orbit-db examples errors : 429 (too many requests) in ipfs.js:311138

503 Views Asked by At

When I run the orbit-db example It works, but there are errors in console.

ipfs.js:311138 GET https://node0.preload.ipfs.io/api/v0/refs?r=true&arg=Qmb3vcXiX6dBHjWojh817SoVUdBmxiycrPs23ySeMRHT5v 429 (Too Many Requests)

This message is repeated with different hash.

Error Messages:

enter image description here

enter image description here

1

There are 1 best solutions below

0
On

When instantiating IPFS use:

this.ipfs = new Ipfs({
  preload: { enabled: false },
  ....
}

https://github.com/orbitdb/orbit-db/issues/560#issuecomment-461361478