Hi all, Apologies if I sent this twice, I don’t think the first one went through because I wasn’t subscribed to the list.
nginx-tests’ stream_ssl_conf_command.t is hanging for me and not running to completion, I’m using the following configuration: OS: MacOS 12.6.3 Chip: Apple M1 Max NGINX: 1.24.0 built from source code with ./configure --with-debug --with-http_ssl_module --with-http_stub_status_module --with-http_v2_module --without-http_auth_basic_module --without-http_autoindex_module --without-http_browser_module --without-http-cache --without-http_charset_module --without-http_empty_gif_module --without-http_fastcgi_module --without-http_grpc_module --without-http_limit_conn_module --without-http_limit_req_module --without-http_memcached_module --without-http_referer_module --without-http_scgi_module --without-http_split_clients_module --without-http_ssi_module --without-http_upstream_hash_module --without-http_upstream_ip_hash_module --without-http_upstream_least_conn_module --without-http_userid_module --without-http_uwsgi_module --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --without-stream_limit_conn_module --without-stream_set_module --without-stream_split_clients_module --without-stream_upstream_hash_module --without-stream_upstream_least_conn_module --without-stream_upstream_zone_module nginx-tests: https://github.com/nginx/nginx-tests/tree/4c2ad8093952706f327d04887c5546bad91b75a6 When I run: ``` TEST_NGINX_BINARY=/usr/local/nginx/sbin/nginx prove -v stream_ssl_conf_command.t ``` The output is: ``` stream_ssl_conf_command.t .. 1..5 ok 1 - Certificate ok 2 - SessionTicket ok 3 – ServerPreference ``` And it hangs there. It seems to be something with the ServerPreference test, as if I remove this code, it does run to completion: ``` $s = stream( PeerAddr => '127.0.0.1:' . port(8443), SSL => 1, SSL_cipher_list => 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384' ); is($s->socket()->get_cipher(), 'ECDHE-RSA-AES128-GCM-SHA256', 'ServerPreference'); ``` These are the last 20 lines of error.log, but I didn’t notice anything out of the ordinary in the ~200 total lines in the file, just that it’s hanging. 2024/01/24 11:38:08 [debug] 98386#0: *2 reusable connection: 0 2024/01/24 11:38:08 [debug] 98386#0: *2 free: 000000011CE04080, unused: 0 2024/01/24 11:38:08 [debug] 98386#0: *2 free: 000000011CE04180, unused: 0 2024/01/24 11:38:08 [debug] 98386#0: *2 free: 000000011CE04280, unused: 32 2024/01/24 11:38:08 [debug] 98386#0: timer delta: 0 2024/01/24 11:38:08 [debug] 98386#0: worker cycle 2024/01/24 11:38:08 [debug] 98386#0: kevent timer: 3000, changes: 0 2024/01/24 11:38:08 [debug] 98386#0: kevent events: 1 2024/01/24 11:38:08 [debug] 98386#0: kevent: 3: ft:-1 fl:0025 ff:00000000 d:31 ud:00000001200280D1 2024/01/24 11:38:08 [debug] 98386#0: *3 SSL shutdown handler 2024/01/24 11:38:08 [debug] 98386#0: *3 SSL_shutdown: 1 2024/01/24 11:38:08 [debug] 98386#0: *3 close stream connection: 3 2024/01/24 11:38:08 [debug] 98386#0: *3 event timer del: 3: 422265465 2024/01/24 11:38:08 [debug] 98386#0: *3 reusable connection: 0 2024/01/24 11:38:08 [debug] 98386#0: *3 free: 000000011CE04A20, unused: 0 2024/01/24 11:38:08 [debug] 98386#0: *3 free: 000000011CE04B20, unused: 0 2024/01/24 11:38:08 [debug] 98386#0: *3 free: 000000011CE04CC0, unused: 32 2024/01/24 11:38:08 [debug] 98386#0: timer delta: 0 2024/01/24 11:38:08 [debug] 98386#0: worker cycle 2024/01/24 11:38:08 [debug] 98386#0: kevent timer: -1, changes: 0 Has anyone else run into this problem? I searched the nginx and nginx-devel mailing lists and didn’t see anything. Thank you for any help! This message has been scanned for malware by Forcepoint. www.forcepoint.com
_______________________________________________ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel