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

[Feature] Start HTTP service when actually ready to accept connnections #974

Open
stockholmux opened this issue Nov 23, 2021 · 3 comments
Open
Labels
enhancement New feature or request help wanted Community development is encouraged technical debt If not paid, jeapardizes long-term success and maintainability of the repository.

Comments

@stockholmux
Copy link
Member

Is your feature request related to a problem? Please describe.

When starting up OpenSearch Dashboards you often get the message "OpenSearch Dashboards server is not ready yet" and a 503 error code. In many environments you can detect when a port (i.e. 5601) is active but then I have to add another layer of polling to detect the 503 error which makes the transition for startup really clunky.

Additionally, it's a bad user experience to get this message.

Describe the solution you'd like

The OpenSearch Dashboards' HTTP port becomes active when it is actually able to accept connections.

Describe alternatives you've considered

Instead of the 503 error and one liner, provide loading UI element and some JS to automatically get to the login screen.

@stockholmux stockholmux added the enhancement New feature or request label Nov 23, 2021
@kavilla kavilla changed the title Start HTTP service when actually ready to accept connnections [Feature] Start HTTP service when actually ready to accept connnections Nov 27, 2021
@kavilla
Copy link
Member

kavilla commented Nov 27, 2021

Some research will have to be done, right now when it runs it's migrating documents to the current version even if they see a loading element they might be able to hit some OpenSearch Dashboards APIs.

@tmarkley tmarkley added the help wanted Community development is encouraged label Nov 30, 2021
@tmarkley tmarkley added the technical debt If not paid, jeapardizes long-term success and maintainability of the repository. label May 25, 2022
@Kiran-Dexter
Copy link

OpenSearch Dashboards server is not ready yet

when we are starting the dashboard we are encountering this error can some shed some light here

OS = Centos 8

@ashwin-pc
Copy link
Member

I've added context here as to why this is the case and and some possible solutions to fix it. Cross posting for better discoverability: #3181 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Community development is encouraged technical debt If not paid, jeapardizes long-term success and maintainability of the repository.
Projects
None yet
Development

No branches or pull requests

5 participants