<div dir="auto"><div dir="auto">Isn't it a fix for this issue? </div><div dir="auto"><br></div><a href="https://github.com/php/php-src/issues/8369">https://github.com/php/php-src/issues/8369</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 19 May 2022, 21:17 Frederic Leclercq, <<a href="mailto:fred.mob79@gmail.com">fred.mob79@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Apologies for just popping in here, but since I installed ubuntu 22.04 LTS I often come across the error<br>"file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:<br>error:0A000126:SSL routines::unexpected eof while reading"</div><div><br>It seems to occur mostly in PHP applications. It is often referred to an OpenSSL 3 issue. </div><div><br></div><div>I currently have this version up:<br>OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)<br>built on: Thu May 5 08:04:52 2022 UTC<br>platform: debian-amd64<br>options: bn(64,64)<br>compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -ffile-prefix-map=/build/openssl-Ke3YUO/openssl-3.0.2=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_TLS_SECURITY_LEVEL=2 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2<br>OPENSSLDIR: "/usr/lib/ssl"<br>ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-3"<br>MODULESDIR: "/usr/lib/x86_64-linux-gnu/ossl-modules"<br>Seeding source: os-specific<br>CPUINFO: OPENSSL_ia32cap=0x7ed8320b078bffff:0x400004219c91a9<br><br>Can anyone help me to solve this problem? <br><br>Thanks in advance!<br>Fred.<br></div></div>
</blockquote></div>