Bug 911713 - https stopped working on some sites
Summary: https stopped working on some sites
Keywords:
Status: CLOSED DUPLICATE of bug 768394
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Net-HTTP
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-15 17:50 UTC by Need Real Name
Modified: 2013-02-18 09:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-18 09:07:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kt,pl (862 bytes, application/x-perl)
2013-02-15 17:50 UTC, Need Real Name
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.