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

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners