Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

file_get_contents SSL Connection reset by peer #29

Open
weblabio opened this issue Feb 2, 2021 · 0 comments
Open

file_get_contents SSL Connection reset by peer #29

weblabio opened this issue Feb 2, 2021 · 0 comments

Comments

@weblabio
Copy link

weblabio commented Feb 2, 2021

Hello!

use Yangqi\Htmldom\Htmldom;

new Htmldom('https://www.imdb.com/title/tt0115433/');
file_get_contents(): SSL: Connection reset by peer /vendor/yangqi/htmldom/src/Yangqi/Htmldom/Htmldom.php:178

while it's hard for me to tell if this problem is persistent or intermittent, but the problem exists
maybe add ssl.verify_peer_name = false to the $context of file_get_contents()

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

No branches or pull requests

1 participant