Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CURL error: OpenSSL SSL_read: error #39

Open
llegaz opened this issue Sep 30, 2024 · 2 comments
Open

CURL error: OpenSSL SSL_read: error #39

llegaz opened this issue Sep 30, 2024 · 2 comments

Comments

@llegaz
Copy link

llegaz commented Sep 30, 2024

I was crumbling on this error

CURL error: 'OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0' or disabled allow_url_fopen in php.ini

until I changed in Cleantalk.php the line 306 from

curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);

to

curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);

php5.6-fpm
openssl3.0.2
buntu 22.04

@Glomberg
Copy link
Member

Hi @llegaz
Thank you for the attention.
We will plan to reject the option CURLOPT_HTTP_VERSION altogether.

The next release will waiting about a month.

@llegaz
Copy link
Author

llegaz commented Oct 18, 2024

Good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants