# ElasticSearch - NOAUTH Authentication required

**URL:** <https://forum.shopware.com/t/elasticsearch-noauth-authentication-required/95089>\
**Category:** Shopware 6 (German)\
**Created:** [3. Juli 2022 um 11:24 UTC](https://forum.shopware.com/t/elasticsearch-noauth-authentication-required/95089 "2022-07-03T11:24:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![net-Quadrat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/net-quadrat/32/13667_2.png) [@net-Quadrat](https://forum.shopware.com/u/net-Quadrat)\
**Post date:** [3. Juli 2022 um 11:24 UTC](https://forum.shopware.com/t/elasticsearch-noauth-authentication-required/95089/1 "2022-07-03T11:24:27Z")

</div>

Hallo Zusammen,

ich habe in der .env Datei die Daten für elasticsearch eingetragen. Nachdem ich über die console nun den index erstellen möchte, kommt allerdings folgender Fehler:

11:21:31 CRITICAL [console] Error thrown while running command „es:index“. Message: „NOAUTH Authentication required.“ [„exception“ =\> Symfony\Component\Messenger\Exception\TransportException^ { …},„command“ =\> „es:index“,„message“ =\> „NOAUTH Authentication required.“]

In Connection.php line 523:

NOAUTH Authentication required.

In Connection.php line 521:

NOAUTH Authentication required.

es:index [–no-queue]

Allerdings kann ich in der .env Umgebung ja keine weiteren Dinge hinterlegen für eine Authentifizierung? In der ElasticSearch Beschreibung von Shopware finde ich auch nichts.

Hat jemand eine Idee?

Viele Grüße

Benjamin

---

<div class="post-metadata">

**Author:** ![net-Quadrat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/net-quadrat/32/13667_2.png) [@net-Quadrat](https://forum.shopware.com/u/net-Quadrat)\
**Post date:** [3. Juli 2022 um 12:36 UTC](https://forum.shopware.com/t/elasticsearch-noauth-authentication-required/95089/2 "2022-07-03T12:36:16Z")

</div>

Fehler habe ich gelöst. Das lag nicht am ElasticSearch, sondern an den Einstellungen von Redis.  
Habe den „Redis Transport“ rausgenommen. Jetzt taucht der Fehler nicht mehr auf ([Siehe Message Queue](https://developer.shopware.com/docs/guides/hosting/infrastructure/message-queue#sending-mails-over-the-message-queue))
