Skip to content

Proxy: setup-status API is unreliable #806

@ghost

Description

The /api/v1/setup-status streaming endpoint seems to be unreliable.

The UI relies on the streaming call to complete/end in order to unlock the dashboard, but sometimes the call never completes. As a result, the dashboard can remain in a "locked" state even when light clients are synced. Currently, restart is required to work around this issue.

Not sure if this is an issue with the exp container not completing or the API.

Proposed solutions:

  • fix existing streaming endpoint so that it doesn't get stuck in a state where the sync/setup has finished, but the call doesn't return
  • add a non-streaming endpoint for fetching the status that the frontend could poll every X seconds. When the setup flow has been completed the call should return a valid JSON response that indicates that it's ready

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3low prioritybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions