-
Notifications
You must be signed in to change notification settings - Fork 80
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
network-container-start: await healthy network by default #1701
Comments
There is a health check endpoint for the local node at /getHealth |
I don't think the stellar-cli is using it though, which is what this issue was tracking. Have we implemented something to use it some way that isn't obvious to me? Reopening until we confirm this. |
I vote for also adding a |
What problem does your feature solve?
When I run
I always, every single time I personally do this, don't want the network to be considered "started" until it's actually healthy.
Right now, I need to manually check if it's healthy, with an ugly curl command like
Right after
stellar network container start
returns me to my prompt, this command will tell me "502: Bad Gateway". Then it will tell me "data stores not yet initialized" for a minute or so. Then, finally, it just says "healthy".What would you like to see?
I don't want to be returned to my prompt until the network is healthy.
It would be nice to have some sort of loader, and maybe a status message. "Starting http...", "Initializing data stores...".
What alternatives are there?
If there's some edge case I'm unaware of in which it would be useful for people to have a partially-started local network, then we could also provide a
--no-wait
flag.The text was updated successfully, but these errors were encountered: