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

amir5's avatar
Level 7

Http client curl ssl error

I'm using laravel http client to communicate with an api, but usually, it throws ConnectionExcepition:

GuzzleHttp\Exception\ConnectException: cURL error 35: error:0A00009F:SSL routines::length mismatch
Http::log()->acceptJson()->withToken($this->getToken())->withoutVerifying()->get(...);

It happened just yesterday, before that it was working fine.

0 likes
2 replies
Snapey's avatar

sometimes the service you want to connect to have issues of their own. This is the time to test and improve your error handling and retry mechanisms.

1 like

Please or to participate in this conversation.