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

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 18 different diffs reported by users for this test.

Count Diff
519 (96%)
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, bool 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, bool given in /usr/src/php/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
3 (1%)
002+
003+ Warning: stream_socket_client(): SSL: Success in /root/php-7.3.1/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 /root/php-7.3.1/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 /root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, bool given in /root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, bool given in /root/php-7.3.1/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 /php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /php-7.3.1/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 /php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in /php-7.3.1/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 /tmp/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /tmp/php-7.3.1/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 /tmp/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /tmp/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in /tmp/php-7.3.1/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 /data/download/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /data/download/php-7.3.1/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 /data/download/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /data/download/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in /data/download/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
013+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /data/download/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
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/fyd/下载/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/fyd/下载/php-7.3.1/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/fyd/下载/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/fyd/下载/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in /home/fyd/下载/php-7.3.1/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/root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/root/php-7.3.1/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/root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in /home/root/php-7.3.1/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 /instalaciones/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /instalaciones/php-7.3.1/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 /instalaciones/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /instalaciones/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in /instalaciones/php-7.3.1/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:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in /root/php-7.3.1/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.3.1/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.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in /root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (0%)
002+ Failed loading /usr/lib/php/20160303/opcache.so: /usr/lib/php/20160303/opcache.so: undefined symbol: _zval_ptr_dtor
1 (0%)
002+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: cannot open shared object file: No such file or directory
1 (0%)
002+ PHP Deprecated: Directive 'track_errors' 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 /root/php-7.3.1/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.3.1/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.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in /root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
013+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /root/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (0%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/src/php-7.3.1/ext/curl.so (/usr/local/src/php-7.3.1/ext/curl.so: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/curl.so.so (/usr/local/src/php-7.3.1/ext/curl.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 'php_mysql.dll' (tried: /usr/local/src/php-7.3.1/ext/php_mysql.dll (/usr/local/src/php-7.3.1/ext/php_mysql.dll: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/php_mysql.dll.so (/usr/local/src/php-7.3.1/ext/php_mysql.dll.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 'php_pdo_mysql.dll' (tried: /usr/local/src/php-7.3.1/ext/php_pdo_mysql.dll (/usr/local/src/php-7.3.1/ext/php_pdo_mysql.dll: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/php_pdo_mysql.dll.so (/usr/local/src/php-7.3.1/ext/php_pdo_mysql.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/src/php-7.3.1/ext/redis.so (/usr/local/src/php-7.3.1/ext/redis.so: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/redis.so.so (/usr/local/src/php-7.3.1/ext/redis.so.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 'pdo_mysql.so' (tried: /usr/local/src/php-7.3.1/ext/pdo_mysql.so (/usr/local/src/php-7.3.1/ext/pdo_mysql.so: cannot open shared object file: No such file or directory), /usr/local/src/php-7.3.1/ext/pdo_mysql.so.so (/usr/local/src/php-7.3.1/ext/pdo_mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/imagick.so (libIlmImf.so.6: cannot open shared object file: No such file or directory), /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/imagick.so.so (/opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/imagick.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 'mongodb.so' (tried: /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so (libicuuc.so.52: cannot open shared object file: No such file or directory), /opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so.so (/opt/php-7.3.1/lib/php/extensions/no-debug-non-zts-20180731/mongodb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ Warning: stream_socket_client(): SSL: Connection refused in /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
008+
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
010+
011+ Warning: fwrite() expects parameter 1 to be resource, bool given in /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
012+
013+ Warning: fread() expects parameter 1 to be resource, bool given in /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
014+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
015+ PHP Stack trace:
016+ PHP 1. {main}() /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc:0
017+ PHP 2. ServerClientTestCase->runWorker() /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc:112
018+ PHP 3. eval() /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc:90
019+ PHP 4. fread() /opt/php-7.3.1-src/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code:12
1 (0%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so: undefined symbol: spl_ce_Countable), /usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/php/etc/extension/openssl (/usr/local/php/etc/extension/openssl: cannot open shared object file: No such file or directory), /usr/local/php/etc/extension/openssl.so (/usr/local/php/etc/extension/openssl.so: cannot open shared object file: No such file or directory)) 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.3.1/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.3.1/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.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/local/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in /usr/local/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
013+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /usr/local/php-7.3.1/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (0%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'pthreads.so' (tried: /usr/lib64/20180731-zts/pthreads.so (/usr/lib64/20180731-zts/pthreads.so: cannot open shared object file: No such file or directory), /usr/lib64/20180731-zts/pthreads.so.so (/usr/lib64/20180731-zts/pthreads.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (0%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/redis.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 'event.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/event.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 'uuid.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/uuid.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0