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
Updated by hsbt (Hiroshi SHIBATA) 11 months ago
- Status changed from Open to Closed
- Backport changed from 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN to 3.0: DONTNEED, 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED
I submit PRs for fixing them.
- Ruby 3.3 https://github.com/ruby/ruby/pull/9418
- Ruby 3.2 https://github.com/ruby/ruby/pull/9419
- Ruby 3.1 https://github.com/ruby/ruby/pull/9420
Updated by hsbt (Hiroshi SHIBATA) 11 months ago
- Backport changed from 3.0: DONTNEED, 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED to 3.0: DONTNEED, 3.1: REQUIRED, 3.2: DONE, 3.3: REQUIRED
Updated by hsbt (Hiroshi SHIBATA) 11 months ago
- Backport changed from 3.0: DONTNEED, 3.1: REQUIRED, 3.2: DONE, 3.3: REQUIRED to 3.0: DONTNEED, 3.1: REQUIRED, 3.2: DONE, 3.3: DONE
Updated by hsbt (Hiroshi SHIBATA) 6 months ago
- Backport changed from 3.0: DONTNEED, 3.1: REQUIRED, 3.2: DONE, 3.3: DONE to 3.0: DONTNEED, 3.1: DONE, 3.2: DONE, 3.3: DONE
Actions
Like0
Like0Like0Like1Like0