Jump to content

Talk:Elasticsearch

From ArchWiki

An authentication error when running Elasticsearch after installation

Hello,

In the running section Elasticsearch#Running when I try this command, curl http://127.0.0.1:9200, I got the following error message. lease let me know how to resolve this issue.

[root@archlinux config]# curl http://127.0.0.1:9200 {"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","ApiKey"]}}],"type":"security_exception","reason":"missing authentication credentials for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","ApiKey"]}},"status":401} HossamMaghrabi2 (talk) 03:37, 27 April 2025 (UTC)Reply