decentralized-identity / sidetree

Sidetree Specification and Reference Implementation
https://identity.foundation/sidetree/spec
Apache License 2.0
438 stars 112 forks source link

Run local node with IPFS write error #1165

Closed Darm0n closed 2 years ago

Darm0n commented 2 years ago

I am run a local ION node with regest bitcoin network. I faced some problem when ION write the data to ipfs network, with the below error output

IPFS write error response status: 500
IPFS write error body: {"Message":"expected a file argument","Code":0,"Type":"error"}

I can upload the file by ipfs webui directly. I am running ipfs node in laptop, do I need a virtual server to run ipfs with a real IP?

BenjaminMoe commented 2 years ago

Ion should be able to write to ipfs if ipfs is running on the same server, and the url has been configured correctly. If you want to checkout getting Ion with Regtest to work on a Raspberry Pi you can try the documentation here: https://github.com/transmute-industries/sidetree.js/blob/main/packages/did-method-ion/docs/install-ion-dev.md

rodolfomiranda commented 2 years ago

same issue here after ipfs upgrade in laptop. go-ipfs moved from v0.10 to v0.11 . I'll try to revert and comment back here

rodolfomiranda commented 2 years ago

confirmed, reverting to go-ipfs v0.11, or desktop 0.17 solves the issue

Darm0n commented 2 years ago

Thanks! Solved issue by use desktop version ipfs.