May 3, 2019
0
Level 8
Guzzle cURL error 56: OpenSSL
Hi,
I am trying to consume an API in Laravel with Guzzle. When testing the API with Postman everything works, but when using Guzzle in Laravel I get the following error:
cURL error 56: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
I am consuming other APIs which uses https and there are no problems there. I have tried searching for that error, but I can not find a solution.
I have checked and I do have OpenSSL on my Mac. (I am using Valet on macOS Mojave).
Any tips would be appreciated :)
Please or to participate in this conversation.