swarm-desktop icon indicating copy to clipboard operation
swarm-desktop copied to clipboard

Handle Bee status in Desktop to avoid HTTP API startup issues

Open Cafe137 opened this issue 2 years ago • 1 comments

Related: https://github.com/ethersphere/bee-dashboard/issues/499 and https://github.com/ethersphere/bee-dashboard/issues/558

Upon Bee launch, the HTTP API fires up and reports healthy and ready statuses. Contrary to this, some endpoints do not work for a short brief during startup period. A good example is the chequebook API, which wrongly reports that the chequebook is not deployed. This causes the issue above.

The proper fix for this is in Bee, which we have already discussed with the core team during the API feedback round. As a temporary measure, we could implement a system to track the real Bee status (stopped, starting up, running) which we expose in the Desktop, and rely on this in the Dashboard.

Cafe137 avatar Sep 26 '22 09:09 Cafe137