fennb/phirehose

fsockopen peer certificate did not match

Closed this issue · 0 comments

When starting filter-track.php, I got the a "peer certificate did not match" error at line 649 of Phirehose.php, so I changed

@$this->conn = fsockopen($scheme . $streamIP, $port, $errNo, $errStr, $this->connectTimeout);

to

@$this->conn = fsockopen($scheme . $urlParts['host'], $port, $errNo, $errStr, $this->connectTimeout);

and it worked.