Quantcast
Viewing all articles
Browse latest Browse all 5991

OpenSSL Error messages: error:0A000126:SSL routines::unexpected eof while reading

Screenshot is here

I have built a website in PHP using the YII2 framework. When I use file_get_contents($requestUrl, false, stream_context_create($arrContextOptions)) then i am getting error saying error:0A000126:SSL routines::unexpected eof while readingI have also tried to enable the legacy provider by editing the openssl.cnf file, but got no success.Reference: https://gist.github.com/rdh27785/97210d439a280063bd768006450c435d

Any help would be appriciated.

Server: Nginx (nginx/1.18.0)OS: Ubuntu 22.04 LTSPHP: 7.4.29Openssl: 1.1.1d


Viewing all articles
Browse latest Browse all 5991

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>