经常有如下错误:
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
请教如何解决?
看起来是客户端主动关闭了连接,可能是关闭网页或者app导致的,如果客户端没有异常可以不用理会。
报错里应该有buffer字段,把buffer贴出来吧。
buffer字段,这是从php的错误日志里面看的,就这些信息,怎么看buffer字段
debug方式才会看到