Project

General

Profile

Actions

Bug #20106

closed

Backport d3933fc753187a055a4904af82f5f3794c88c416 to fix net-http test errors

Added by vo.x (Vit Ondruch) 12 months ago. Updated 7 months ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
[ruby-core:115982]

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) 12 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
Actions #2

Updated by hsbt (Hiroshi SHIBATA) 12 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
Actions #3

Updated by hsbt (Hiroshi SHIBATA) 12 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
Actions #4

Updated by hsbt (Hiroshi SHIBATA) 7 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

Also available in: Atom PDF

Like0
Like0Like0Like1Like0