Skip to main content

Magento 2.4.6 elasticsearchElasticsearch not workinhworking and upgrade command use that phase issue

Source Link
Ravindrasinh Zala
  • 2.1k
  • 3
  • 16
  • 47

Magento 2.4.6 elasticsearch not workinh and upgrade command use that phase issue

Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null

 curl -X GET 'http://localhost: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}

enter image description here