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

file_get_contents SSL Connection reset by peer #29

@weblabio

Description

@weblabio

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions