When you enable https://www.elastic.co/guide/en/elasticsearch/reference/current/security-minimal-setup.html in Elasticsearch, your clients (my website in this case) requires authentication to be setup. { "type": "security_exception", "reason": "missing authentication credentials for REST request [/index/_search]", "header": {"WWW-Authenticate": ["Basic realm=\"security\" charset=\"UTF-8\"", "ApiKey"]}

I found two ways to solve this, I could setup either one of these: basic authentication API Key

]], ], ]; To generate an API key, you will still require the username & password from basic authentication.

'connections' => [ 'default' => [ 'hosts' => [ ], 'apiKey' => [ '
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners