ethersphere / swarm-desktop

Electron Desktop app that helps you easily spin up and manage Swarm node
https://desktop.ethswarm.org/
BSD 3-Clause "New" or "Revised" License
26 stars 13 forks source link

v0.41.0 "Node Error" on ultralight node #421

Closed ldeffenb closed 3 months ago

ldeffenb commented 3 months ago

I upgraded to the latest (v0.41.0) swarm-desktop last night on a Windows machine and the display goes from "node connecting" to "node error" and stays that way. The node is an ultralight node and the API is responding fine and the Connected Peers number varies, so the node itself is running.

If I view the Developer's console in Chrome (F12), there are lots of errors from APIs that are disabled in an ultralight node, but I'm not sure if any of those is actually causing the "Node Error" because this install was always UltraLight.

image

ldeffenb commented 3 months ago

After having browsed the bee-dashboard source, I find it interesting that swarm-desktop IS showing the proper versions and Mode, but yet the node error is displayed.

image

But then again, in bee-dashboard, I don't see any invocations of setApiHealth(true) but it is only ever set to (false)? Maybe the removal of the debug api stuff in bee-dashboard removed a critical invocation of setApiHealth()?

ldeffenb commented 3 months ago

I believe I tracked it down to this issue on bee-dashboard: https://github.com/ethersphere/bee-dashboard/issues/661

ldeffenb commented 3 months ago

Fixed by #422 in #420