Bug 911713

Summary: https stopped working on some sites
Product: [Fedora] Fedora Reporter: Need Real Name <mal>
Component: perl-Net-HTTPAssignee: Petr Pisar <ppisar>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: mmaslano, perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-18 09:07:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kt,pl none

Description Need Real Name 2013-02-15 17:50:17 UTC
Created attachment 697914 [details]
kt,pl

Recent perl changes caused https stopped working 
on some sites.
 example 

export PERL_LWP_SSL_VERIFY_HOSTNAME=0

perl -w kt.pl https://github.com/

works , but the

perl -w kt.pl 'https://www134.safesecureweb.com/jrproperties/default.htm'
Before req U=https://www134.safesecureweb.com/jrproperties/default.htm
U=https://www134.safesecureweb.com/jrproperties/default.htm
REQUEST ISSUED
SSL_connect:before/connect initialization
SSL_connect:SSLv2/v3 write client hello A
SSL_connect:SSLv3 read server hello A
SSL_connect:SSLv3 read server certificate A
SSL_connect:SSLv3 read server done A
SSL_connect:SSLv3 write client key exchange A
SSL_connect:SSLv3 write change cipher spec A
SSL_connect:SSLv3 write finished A
SSL_connect:SSLv3 flush data
SSL_connect:SSLv3 read finished A
.....
and waits forever


Previously F17 did work OK, F18 did not work.
Recent update to F17 made https  also non-working for some sites.
Now both F17 & F18 fail to https for some sites

Comment 1 Need Real Name 2013-02-15 18:08:45 UTC
Note that downgrade to perl-Net-HTTP-6.02-2.fc17.noarch.rpm

seems fixed the issue

rpm -Uvh --force http://mirrors.kernel.org/fedora//releases/17/Fedora/x86_64/os/Packages/p/perl-Net-HTTP-6.02-2.fc17.noarch.rpm
Retrieving http://mirrors.kernel.org/fedora//releases/17/Fedora/x86_64/os/Packages/p/perl-Net-HTTP-6.02-2.fc17.noarch.rpm
Preparing...                ########################################### [100%]
   1:perl-Net-HTTP          ########################################### [100%]

Comment 2 Need Real Name 2013-02-15 18:15:02 UTC
Confirmed that the downgrade to 
http://mirrors.kernel.org/fedora//releases/17/Fedora/source/SRPMS/p/perl-Net-HTTP-6.02-2.fc17.src.rpm
fixed the issue both on F17 & F18

Comment 3 Need Real Name 2013-02-15 18:20:08 UTC
Also confirmed, that 
perl-Net-HTTP-6.05 

may lock forever even on http sites

Comment 4 Need Real Name 2013-02-16 07:40:12 UTC
Confirmed that 
perl-Net-HTTP.noarch                    6.05-1.fc17                    updates
is a problematic is a sense, it may hang forever and the request never returned, hanging in sleep or wait. (It consumes co CPU in this state).
The 
perl-Net-HTTP.noarch                    6.02-2.fc17                    installed
cures the problem both in F17 & F18

For some season the problem is most easily observed when using https.
Test code is attached in first post.
But the problem was observed also without https, via plain http.
In this case it is more difficult to reproduce it.

Comment 5 Petr Pisar 2013-02-18 09:07:37 UTC
I was expected these problems. See bug #768394 for more details, especially comment #16 and #18. And also watch or linked CPAN reports. This is open issue with no good solution yet.

*** This bug has been marked as a duplicate of bug 768394 ***