php wss 乱码,使用wss连接之后php报SSL错误

郑琦
2023-12-01

/vendor/workerman/workerman/Connection/TcpConnection.php on line 567:

if ($this->transport === 'ssl' && $this->_sslHandshakeCompleted !== true) {

$ret = stream_socket_enable_crypto($socket, true, STREAM_CRYPTO_METHOD_SSLv2_SERVER |

STREAM_CRYPTO_METHOD_SSLv23_SERVER);

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /vendor/workerman/workerman/Connection/TcpConnection.php on line 567

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 567

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number in /vendor/workerman/workerman/Connection/TcpConnection.php on line 567

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 567

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /vendor/workerman/workerman/Connection/TcpConnection.php on line 567

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /vendor/workerman/workerman/Connection/TcpConnection.php on line 567

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /vendor/workerman/workerman/Connection/TcpConnection.php on line 567

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 567

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number in /vendor/workerman/workerman/Connection/TcpConnection.php on line 567

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 567

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

error:1408A10B:SSL routines:SSL3_GET_CLIENT_HELLO:wrong version number in /vendor/workerman/workerman/Connection/TcpConnection.php on line 567

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /vendor/workerman/workerman/Connection/TcpConnection.php on line 567

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 567

PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol in /vendor/workerman/workerman/Connection/TcpConnection.php on line 567

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 567

 类似资料: