PHP API Client Bug : Unreachable Host

Hello ! I’m using PHP Algolia SearchClient for saving object into index, but I’m getting a Retriable Exception

My code :

$client = Algolia\AlgoliaSearch\SearchClient::create(
    'APP_IDXXXXXXXX',
    'KEYXXXXXXXXXXXX'
);


$index = $client->initIndex('my_index');


$result = $index->saveObject($offre);

The error I’m getting :

Algolia\AlgoliaSearch\Exceptions\RetriableException: Retriable failure on appID.algolia.net: Unreachable Host

I’ve tried all of the API keys I have

Thank you !