Skip to content
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

Proxy: setup-status API is unreliable #806

Open
ghost opened this issue Nov 11, 2020 · 1 comment
Open

Proxy: setup-status API is unreliable #806

ghost opened this issue Nov 11, 2020 · 1 comment
Labels
bug Something isn't working P3 low priority

Comments

@ghost
Copy link

ghost commented Nov 11, 2020

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
@ghost ghost assigned reliveyy and kilrau Nov 11, 2020
@kilrau kilrau transferred this issue from ExchangeUnion/xud-docker-api Dec 1, 2020
@kilrau kilrau added bug Something isn't working P3 low priority labels Dec 1, 2020
@kilrau kilrau changed the title setup-status API is unreliable Proxy: setup-status API is unreliable Dec 1, 2020
@kilrau
Copy link
Contributor

kilrau commented Dec 1, 2020

Ping here when this pops up again @erkarl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P3 low priority
Projects
None yet
Development

No branches or pull requests

2 participants