Open bonedaddy opened 4 years ago
Those errors need to be fixed but they're unrelated. To hash only, we create an ephemeral IPFS node, add the file, then shut down the node. That error shows up on shutdown.
After this hangs for a while, could you past the output of:
ipfs diag cmds
collect-profiles.sh
script from bin
(in this repo).Yea I'll try and grab that :ok_hand:
@postables Have you been able to reproduce the issue?
Not at the moment, I haven't had time and the user that was reporting this issue is doing a work-around by computing the hash locally.
Version information:
Description:
A user of one of my services has routinely had propblems with go-ipfs nodes timing out when running the
js-ipfs-http-client
equivalent ofgo-ipfs
ipfs add
with a very particular set of options. They have to be:--wrap-with-directory
--only-hash
When this kind of request is happening I can see logs like the following on my
go-ipfs
node:It doesn't appear that this option combination will always cause the issue, but more often than not it will. I'm using a custom proxy server I wrote using https://golang.org/pkg/net/http/httputil/ however I highly doubt this is the probelm, as the service is extremely stable under all other conditions, except when this particular option combination is being invoked.