-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve UX when API is unstable #614
Comments
@fiatjaf thank you for reporting this with all the details!
Correct. I see the go-ipfs part ("too many open files") is tracked in ipfs/kubo#5739, so let's keep this issue about how ipfs-companion should behave in such situations.
Is there anything else we should improve here UX-wise? |
Well, this is probably unrelated but I would like stuff being printed to the console when the Companion is doing work. Perhaps there could be a Currently (at least on Firefox) nothing shows up in the Network tab, nothing is printed to the console. Things that fail silently are very annoying, but I can't even know they're failing silently, maybe they're just not failing and taking a lot of time. |
I agree! Been playing with verbose logs that can also be filtered via Preferences screen in #557. The PR was parked due to a dependency bug, but I see that got released recently, so it may be a good idea to get back to it in near future :) |
Closing updates:
|
When browsing a web page that does 4 simultaneous
ipfs.dht.findprovs
and oneipfs.object.stat
calls, sometimes the companion crashes.I start seeing lots of
ERROR engine: open /home/fiatjaf/.ipfs/datastore/004159.ldb: too many open files engine.go:258
in the daemon logs.Then the web page calls to
ipfs
fail silently, I think.The IPFS Companion status window starts showing everything offline,
and then if I restart the daemon I get
If I wait more, the status window comes back to normal, but in the meantime some, or all, of my
ipfs.dht.findprovs
have already failed silently.The text was updated successfully, but these errors were encountered: