web-msg-sender 报 SSL: Connection reset by peer

youyong

经常有如下错误:

PHP Warning: fread(): SSL: Connection reset by peer in /vendor/workerman/workerman/Connection/TcpConnection.php on line 420

PHP Warning: stream_socket_enable_crypto(): SSL: Connection reset by peer in /vendor/workerman/workerman/Connection/TcpConnection.php on line 391

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request in /vendor/workerman/workerman/Connection/TcpConnection.php on line 391

请教如何解决?

4587 1 0
1个回答

walkor 打赏

看起来是客户端主动关闭了连接,可能是关闭网页或者app导致的,如果客户端没有异常可以不用理会。

报错里应该有buffer字段,把buffer贴出来吧。

  • youyong 2017-08-07

    buffer字段,这是从php的错误日志里面看的,就这些信息,怎么看buffer字段

  • walkor 2017-08-08

    debug方式才会看到

年代过于久远,无法发表回答
×
🔝