Can't Connect to Algolia using PHP/laravel

I work on a laravel project, and I want to use Algolia search .

I'm using Laravel 5.8 , PHP 7.3.2, MySQL 5.7 , also I tried to use Algolia with plain PHP gave me the same error .

The Scout.php file :

'driver' => env('SCOUT_DRIVER', 'algolia'),
'queue' => env('SCOUT_QUEUE', true),
'algolia' => [
        'id' => env('ALGOLIA_APP_ID', 'MY-APP-ID'),
        'secret' => env('ALGOLIA_SECRET', 'MY-APP-SECRET'),

.env file :


I double checked the values I entered as AppID and AdminID, I should be able to connect just fine , but it always says:

Impossible to connect, please check your Algolia Application Id.

I can connect and update data just fine when using Node.JS

Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us