Hello,
I am trying to install Elasticsearch as a prerequisite for installing Magento 2. After the installation, I got the following error. Any advice?
{"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}
Solved! Go to Solution.
Hello @hossammaghbcbe ,
Update your Magento Elasticsearch settings to include:
Username
Password
bin/magento config:set catalog/search/elasticsearch_username your_user
bin/magento config:set catalog/search/elasticsearch_password your_pass
Problem Solved? Accept as Solution!
Thanks
Hello @hossammaghbcbe ,
Update your Magento Elasticsearch settings to include:
Username
Password
bin/magento config:set catalog/search/elasticsearch_username your_user
bin/magento config:set catalog/search/elasticsearch_password your_pass
Problem Solved? Accept as Solution!
Thanks
Many Thanks Ankit Jasani.