Actions
Bug #20106
closedBackport d3933fc753187a055a4904af82f5f3794c88c416 to fix net-http test errors
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
Description
Testing with Ruby 3.3, I observe test errors such as:
108) Failure:
TestNetHTTPS#test_skip_hostname_verification [/builddir/build/BUILD/ruby-3.3.0/test/net/http/test_https.rb:217]:
Exception raised:
<#<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 peeraddr=[::1]:45081 state=error: certificate verify failed (certificate has expired)>>
Backtrace:
/builddir/build/BUILD/ruby-3.3.0/lib/net/protocol.rb:46:in `connect_nonblock'
/builddir/build/BUILD/ruby-3.3.0/lib/net/protocol.rb:46:in `ssl_socket_connect'
/builddir/build/BUILD/ruby-3.3.0/lib/net/http.rb:1674:in `connect'
/builddir/build/BUILD/ruby-3.3.0/lib/net/http.rb:1580:in `do_start'
/builddir/build/BUILD/ruby-3.3.0/lib/net/http.rb:1575:in `start'
/builddir/build/BUILD/ruby-3.3.0/test/net/http/test_https.rb:217:in `block (2 levels) in test_skip_hostname_verification'.
This is likely fixed by git|d3933fc753187a055a4904af82f5f3794c88c416
Actions
Like0
Like0Like0Like1Like0