# SearchPhaseExecutionException with no message or reason

**URL:** https://discuss.elastic.co/t/searchphaseexecutionexception-with-no-message-or-reason/350076
**Category:** Elasticsearch
**Tags:** docker
**Created:** [December 28, 2023, 12:24pm UTC](https://discuss.elastic.co/t/searchphaseexecutionexception-with-no-message-or-reason/350076 "2023-12-28T12:24:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Arraying](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arraying/32/130375_2.png) [@Arraying](https://discuss.elastic.co/u/Arraying)
#### Post date: [December 28, 2023, 12:24pm UTC](https://discuss.elastic.co/t/searchphaseexecutionexception-with-no-message-or-reason/350076/1 "2023-12-28T12:24:41Z")

</div>

Hi, I'm running Elasticsearch in Docker and I'm running into an `org.elasticsearch.action.search.SearchPhaseExecutionException` which does not provide me with an error message. Prior to this, my cluster health changes from yellow to red telling me to `reconcile-desired-balance`. I'm not sure if this is related.

The entire logs can be found [here](https://gist.github.com/Arraying/38e8ffbda7963900c5c031d2471ef200).

My service is as follows. Note that we do not use any persistent volumes, so I don't think this is an issue with cache as mentioned [here](https://discuss.elastic.co/t/new-build-docker-compose-multi-node-cluster-fails-to-retrieve-password-hash-for-reserved-user-elastic-at-least-one-primary-shard-for-the-index-security-7-is-unavailable/326389).

```yml
  elastic:
    container_name: elastic_local
    image: docker.elastic.co/elasticsearch/elasticsearch:8.11.1
    restart: always
    environment:
      - discovery.type=single-node
      - xpack.security.enabled=false
      - xpack.security.enrollment.enabled=true
    healthcheck:
      test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"]
      interval: 15s
      timeout: 15s
      retries: 3
    depends_on:
      db:
        condition: service_started

```

I'm using an M1 MacBook, my colleague on Linux does not experience any issues locally. Perhaps that could be a factor?

If anyone could help point out what is causing this issue, I'd be very grateful!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 25, 2024, 12:25pm UTC](https://discuss.elastic.co/t/searchphaseexecutionexception-with-no-message-or-reason/350076/2 "2024-01-25T12:25:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
