Test: /ext/openssl/tests/bug48182.phpt - Version 7.2.14        

Bug #48182 asynchronous socket connection over ssl fails entirely
Submitted: 2009-05-07 16:23:49 Modified: 2009-08-21 00:46:54
From: frase Assigned: srinatar
Status: Closed Package: OpenSSL related
PHP Version: 5.2.11RC1 OS: *

There are 17 different diffs reported by users for this test.

Count Diff
1587 (99%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
5 (0%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /root/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /root/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /root/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
2 (0%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
2 (0%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /build/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /build/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /build/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /build/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /build/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (0%)
002+ Xdebug requires Zend Engine API version 320180731.
003+ The Zend Engine API version 320170718 which is installed, is outdated.
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/curl (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/curl: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/curl.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/openssl (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/openssl: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/openssl.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/php_openssl.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/php_openssl.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/php_openssl.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/php_openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
008+
009+ Warning: stream_socket_client(): SSL: Connection refused in /root/install/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
010+
011+ Warning: stream_socket_client(): Failed to enable crypto in /root/install/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
012+
013+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/install/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
014+
015+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /root/install/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
016+
017+ Warning: fread() expects parameter 1 to be resource, boolean given in /root/install/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
018+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /root/install/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (0%)
002+ PHP Warning: PHP Startup: zpa: Unable to initialize module
003+ Module compiled with module API=20131226
004+ PHP compiled with module API=20170718
005+ These options need to match
006+ in Unknown on line 0
1 (0%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'ds.so' (tried: /usr/local/php/lib/php/extensions/debug-zts-20170718/ds.so (/usr/local/php/lib/php/extensions/debug-zts-20170718/ds.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/debug-zts-20170718/ds.so.so (/usr/local/php/lib/php/extensions/debug-zts-20170718/ds.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: /usr/local/php/lib/php/extensions/debug-zts-20170718/pthreads.so (/usr/local/php/lib/php/extensions/debug-zts-20170718/pthreads.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/debug-zts-20170718/pthreads.so.so (/usr/local/php/lib/php/extensions/debug-zts-20170718/pthreads.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'bz2.so' (tried: /usr/local/php/lib/php/extensions/debug-zts-20170718/bz2.so (/usr/local/php/lib/php/extensions/debug-zts-20170718/bz2.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/debug-zts-20170718/bz2.so.so (/usr/local/php/lib/php/extensions/debug-zts-20170718/bz2.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
002+ PHP Warning: Module 'PDO' already loaded in Unknown on line 0
003+ PHP Warning: Module 'pdo_dblib' already loaded in Unknown on line 0
004+ PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
1 (0%)
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/extensions/opcache.so (/usr/local/lib/php/extensions/opcache.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/opcache.so.so (/usr/local/lib/php/extensions/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
002+ PHP Deprecated: The mbstring.func_overload directive is deprecated in Unknown on line 0
003+
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ Warning: stream_socket_client(): SSL: Connection refused in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
013+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (0%)
002+ Failed loading /usr/lib/php/extensions/opcache.so: /usr/lib/php/extensions/opcache.so: undefined symbol: sapi_globals_id
1 (0%)
002+ DBG requires Zend Engine API version 320151012.
003+ The Zend Engine API version 320170718 which is installed, is newer.
004+ Contact Dmitri Dmitrienko at www.nusphere.com for a later version of DBG.
005+
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
002+
003+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/ronaldo/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ Warning: stream_socket_client(): Failed to enable crypto in /home/ronaldo/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/ronaldo/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/ronaldo/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/ronaldo/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (0%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/local/gdctsy/php/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/gdctsy/php/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/gdctsy/php/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/gdctsy/php/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/gdctsy/php/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (0%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /opt/tmp/php-src-php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /opt/tmp/php-src-php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /opt/tmp/php-src-php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /opt/tmp/php-src-php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /opt/tmp/php-src-php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (0%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /opt/php7/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /opt/php7/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /opt/php7/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /opt/php7/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /opt/php7/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (0%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /home/690psi/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/690psi/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/690psi/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/690psi/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/690psi/php-7.2.14/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14