Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

MarcTroesken's avatar

Algolia Laravel Package

Has anyone ever tried the laravel package from algolia ? Every time I try to index something I get this error:

Hosts unreachable: Resolving timed out after 2000 milliseconds

Found something on Twitter: Figured it out, cURL couldn't verify your SSL certificate, had to set CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST to false

But that could not be a nice solution ... Any experiences on that ?

0 likes
5 replies
maxiloc's avatar
maxiloc
Best Answer
Level 1

Hi Marc,

Could you provide the whole stacktrace and tell us which call triggered that ?

MarcTroesken's avatar

Postet on Github Issue ;) And all calls trigger it. Is there a Problem with indexing HTML or if a field has a NULL value ?

MarcTroesken's avatar

Ok. The vm is the problem ! It´s working in production.

RyanHavoc's avatar

I'm having this issue. Did you get to the bottom of it?

Please or to participate in this conversation.