Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

If Elasticsearch is down on API server startup, it starts, but doesn't accept connections #53

Closed
tdddblog opened this issue Jul 22, 2021 · 0 comments
Assignees

Comments

@tdddblog
Copy link
Contributor

tdddblog commented Jul 22, 2021

🐛 Describe the bug

If Elasticsearch is down on API server startup, it starts, but doesn't accept connections

📜 To Reproduce

Steps to reproduce the behavior:

  1. Start API server without starting Elasticsearch
  2. API server starts and prints some Elasticsearch RestClient errors.
  3. API server keeps running, but doesn't accept any connections, even if you start Easticsearch later.

🕵️ Expected behavior

Server should either

  • stop with clear error message about non-running Elasticsearch (why do we need Elasticsearch on startup?) or
  • (preferred) try connecting to Elasticsearch on every API call.

📚 Version of Software Used

API: 0.3.0; OS: Windows 10; JDK: 11


** 🦄 Applicable requirements**

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants