Hi HallOfCode Can you please add these two line if you are using CURL for interaction the API
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Im currently experimenting with Laravel Queue Jobs, im doing simple things (contacting a HTTP Api) in the handle method which used to work normally in a Controller function, but if im using my php artisan queue:work then Im getting always this error: OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
Im using php artisan serve as my local webserver on Linux - My guess is that maybe the Queue:work command uses a newer ssl version or something internally?
But I have no clue how to fix that right now.
@HallOfCode Check this link: https://stackoverflow.com/questions/72627218/openssl-error-messages-error0a000126ssl-routinesunexpected-eof-while-readin
It contains a lot of useful information on this problem, its also worth checking the other links that are posted there.
Please or to participate in this conversation.