Onto-Med / top-backend

Spring Boot based backend of the TOP Framework
MIT License
0 stars 1 forks source link

ElasticsearchException[java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused] #198

Closed KonradHoeffner closed 4 months ago

KonradHoeffner commented 7 months ago

When I check out the newest version of top-deployment and docker compose down -v, docker compose pull and docker compose up --build and then open http://localhost in the browser, I get the following exception in the backend:

backend-1   | 2024-02-14 09:35:11.804  WARN 1 --- [nio-8080-exec-2] c.s.t.b.api.DefaultApiDelegateImpl       : java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused; nested exception is ElasticsearchException[java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused]; nested: ExecutionException[java.net.ConnectException: Connection refused]; nested: ConnectException[Connection refused];
fmatthies commented 7 months ago

See #200 ; you need a running Elasticsearch instance or just ignore the warning if you don't intend to test the document services (all necessary services for this, however, are running on top-prod and could be forwarded)