orbitdb-archive / orbit

A distributed, serverless, peer-to-peer chat application on IPFS
MIT License
1.64k stars 117 forks source link

"error: socket hung up", "Error: ECONNRESET" #196

Open haadcode opened 7 years ago

haadcode commented 7 years ago

Orbit currently throws errors seemingly random. "error: socket hung up", "Error: ECONNRESET" are shown in the UI's console (devtools in Electron).

These are caused by "too many files open" error in go-ipfs. @whyrusleeping is a aware of the bug and will hopefully get it fixed for 0.4.5.

Current workaround is to run the go-ipfs daemon withIPFS_FD_MAX set to 4096, https://github.com/haadcode/orbit/blob/master/package.json#L27.