mirror of
https://github.com/Corsinvest/cv4pve-api-php.git
synced 2026-04-25 04:25:48 +03:00
[GH-ISSUE #32] SSL EOF Error in Curl? #25
Labels
No labels
enhancement
needs investigation
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-api-php#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @noxomix on GitHub (Mar 7, 2024).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-php/issues/32
What happened?
Hello,
Some Bug, when I use the Laravel Php artisan development server the client works just fine, but when Im using the Queue Worker - which should make the same, it always failes with this error:
According to some sources and issues this is a well known issue in Php 8, but Im wondering how I can fix it.
It seems to usually appear in file_get_contents(https) but somehow also with cURL. But your client isnt using any of those, I tried to change those lines:
But even If im choosing the manual ssl version and skip openSSL 3 (i guess) the error still occurs. Hm.
Expected behavior
No error
Relevant log output
@noxomix commented on GitHub (Mar 7, 2024):
Okay I figured out it has something todo with Ubuntu 22 and PHP curl - OpenSSL bindings , the only workaround would be recompiling PHP. So nothing todo with you library
Edit: It has something todo with Curl , just recompile Curl on your Ubuntu 22 machine from 7.81 to 7.88 - then everything will work!