Issue with LWP::Simple and https when upgrading to ActivePerl v5.26.3Compressing HTTP request with LWP, Apache, and mod_deflatemy first perl script: using “get($url)” method in a loop?failed connect or “certificate verify failed” on LWP HTTPS GETPerl script raising oci.dll error, DBDLWP::UserAgent to post XML to secure server… certificate issueLWP::UserAgent for XML POST to HTTPS server not workingPERL_LWP_SSL_VERIFY_HOSTNAME setting to 0 is not workingPerl LWP::Simple HTTPS errorLWP::Simple & LWP::UserAgent doesn't return the complete webpage contentTesting an SNI https service by ip address
Drawing a german abacus as in the books of Adam Ries
Contradiction proof for inequality of P and NP?
How to find if a column is referenced in a computed column?
How to not starve gigantic beasts
Where was the County of Thurn und Taxis located?
Is it acceptable to use working hours to read general interest books?
Philosophical question on logistic regression: why isn't the optimal threshold value trained?
A faster way to compute the largest prime factor
How to pronounce 'c++' in Spanish
Multiple fireplaces in an apartment building?
Is there any pythonic way to find average of specific tuple elements in array?
Mistake in years of experience in resume?
How exactly does Hawking radiation decrease the mass of black holes?
Check if a string is entirely made of the same substring
Are there moral objections to a life motivated purely by money? How to sway a person from this lifestyle?
How do I check if a string is entirely made of the same substring?
How important is it that $TERM is correct?
Was Dennis Ritchie being too modest in this quote about C and Pascal?
What does "function" actually mean in music?
How long after the last departure shall the airport stay open for an emergency return?
What is this word supposed to be?
Extracting Dirichlet series coefficients
Nails holding drywall
Can I criticise the more senior developers around me for not writing clean code?
Issue with LWP::Simple and https when upgrading to ActivePerl v5.26.3
Compressing HTTP request with LWP, Apache, and mod_deflatemy first perl script: using “get($url)” method in a loop?failed connect or “certificate verify failed” on LWP HTTPS GETPerl script raising oci.dll error, DBDLWP::UserAgent to post XML to secure server… certificate issueLWP::UserAgent for XML POST to HTTPS server not workingPERL_LWP_SSL_VERIFY_HOSTNAME setting to 0 is not workingPerl LWP::Simple HTTPS errorLWP::Simple & LWP::UserAgent doesn't return the complete webpage contentTesting an SNI https service by ip address
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have recently upgraded from ActivePerl v5.20.2 to v5.26.3.
There is now a SSL problem with LWP::Simple::get with some sites
e.g.
#!c:/Perl64/bin/Perl.exe
# test perl scripts
use LWP::Simple;
#
$url = "https://www.bbc.co.uk/sport/rugby-union";
$content = get($url);
print "get succesful - ", length($content), " bytes readn";
$url = "https://www.theguardian.com/cartoons/archive";
$content = get($url);
print "get succesful - ", length($content), " bytes readn";
works fine with the old version but with the new gives
get succesful - 214904 bytes read
Free to wrong pool 977970 not 890014001a5d9a5e at C:/Perl64/lib/IO/Socket/SSL.pm line 2739.
Line 2739 of SSL.pm is
my $certid = eval Net::SSLeay::OCSP_cert2ids($ssl,$cert) ;
so it's something to do with certificate handling.
perl ssl lwp
|
show 3 more comments
I have recently upgraded from ActivePerl v5.20.2 to v5.26.3.
There is now a SSL problem with LWP::Simple::get with some sites
e.g.
#!c:/Perl64/bin/Perl.exe
# test perl scripts
use LWP::Simple;
#
$url = "https://www.bbc.co.uk/sport/rugby-union";
$content = get($url);
print "get succesful - ", length($content), " bytes readn";
$url = "https://www.theguardian.com/cartoons/archive";
$content = get($url);
print "get succesful - ", length($content), " bytes readn";
works fine with the old version but with the new gives
get succesful - 214904 bytes read
Free to wrong pool 977970 not 890014001a5d9a5e at C:/Perl64/lib/IO/Socket/SSL.pm line 2739.
Line 2739 of SSL.pm is
my $certid = eval Net::SSLeay::OCSP_cert2ids($ssl,$cert) ;
so it's something to do with certificate handling.
perl ssl lwp
The problem doesn't have a relation with the module, I think it may be related to your OS that is windows, most of this type of errors are generated when using Windows (mostly when using threads)
– Mobrine Hayde
Mar 9 at 13:03
That message indicates a bug in an XS module such Net::SSLeay. Specifically, it's a bug related to thread support (or lack thereof). Contrary to what the previous comment said, there's no reason to believe it's Windows-specific at this point.
– ikegami
Mar 9 at 20:19
See Using Net::SSLeay in multi-threaded applications.
– ikegami
Mar 9 at 20:20
Please provide the versions of IO::Socket::SSL, Net::SSLeay and openssl used by this build of Perl - see pastebin.com/Y5MD2auR for a script to help you with this.
– Steffen Ullrich
Mar 13 at 23:11
Thanks. I ran your script which gave LWP 6.08 LWP::Protocol::https 6.06 IO::Socket::SSL 1.997. I have reported the bug to ActiveState. I am running Windows 10 with all updates installed.
– Sam Nodes
Mar 14 at 7:15
|
show 3 more comments
I have recently upgraded from ActivePerl v5.20.2 to v5.26.3.
There is now a SSL problem with LWP::Simple::get with some sites
e.g.
#!c:/Perl64/bin/Perl.exe
# test perl scripts
use LWP::Simple;
#
$url = "https://www.bbc.co.uk/sport/rugby-union";
$content = get($url);
print "get succesful - ", length($content), " bytes readn";
$url = "https://www.theguardian.com/cartoons/archive";
$content = get($url);
print "get succesful - ", length($content), " bytes readn";
works fine with the old version but with the new gives
get succesful - 214904 bytes read
Free to wrong pool 977970 not 890014001a5d9a5e at C:/Perl64/lib/IO/Socket/SSL.pm line 2739.
Line 2739 of SSL.pm is
my $certid = eval Net::SSLeay::OCSP_cert2ids($ssl,$cert) ;
so it's something to do with certificate handling.
perl ssl lwp
I have recently upgraded from ActivePerl v5.20.2 to v5.26.3.
There is now a SSL problem with LWP::Simple::get with some sites
e.g.
#!c:/Perl64/bin/Perl.exe
# test perl scripts
use LWP::Simple;
#
$url = "https://www.bbc.co.uk/sport/rugby-union";
$content = get($url);
print "get succesful - ", length($content), " bytes readn";
$url = "https://www.theguardian.com/cartoons/archive";
$content = get($url);
print "get succesful - ", length($content), " bytes readn";
works fine with the old version but with the new gives
get succesful - 214904 bytes read
Free to wrong pool 977970 not 890014001a5d9a5e at C:/Perl64/lib/IO/Socket/SSL.pm line 2739.
Line 2739 of SSL.pm is
my $certid = eval Net::SSLeay::OCSP_cert2ids($ssl,$cert) ;
so it's something to do with certificate handling.
perl ssl lwp
perl ssl lwp
asked Mar 9 at 7:11
Sam NodesSam Nodes
61
61
The problem doesn't have a relation with the module, I think it may be related to your OS that is windows, most of this type of errors are generated when using Windows (mostly when using threads)
– Mobrine Hayde
Mar 9 at 13:03
That message indicates a bug in an XS module such Net::SSLeay. Specifically, it's a bug related to thread support (or lack thereof). Contrary to what the previous comment said, there's no reason to believe it's Windows-specific at this point.
– ikegami
Mar 9 at 20:19
See Using Net::SSLeay in multi-threaded applications.
– ikegami
Mar 9 at 20:20
Please provide the versions of IO::Socket::SSL, Net::SSLeay and openssl used by this build of Perl - see pastebin.com/Y5MD2auR for a script to help you with this.
– Steffen Ullrich
Mar 13 at 23:11
Thanks. I ran your script which gave LWP 6.08 LWP::Protocol::https 6.06 IO::Socket::SSL 1.997. I have reported the bug to ActiveState. I am running Windows 10 with all updates installed.
– Sam Nodes
Mar 14 at 7:15
|
show 3 more comments
The problem doesn't have a relation with the module, I think it may be related to your OS that is windows, most of this type of errors are generated when using Windows (mostly when using threads)
– Mobrine Hayde
Mar 9 at 13:03
That message indicates a bug in an XS module such Net::SSLeay. Specifically, it's a bug related to thread support (or lack thereof). Contrary to what the previous comment said, there's no reason to believe it's Windows-specific at this point.
– ikegami
Mar 9 at 20:19
See Using Net::SSLeay in multi-threaded applications.
– ikegami
Mar 9 at 20:20
Please provide the versions of IO::Socket::SSL, Net::SSLeay and openssl used by this build of Perl - see pastebin.com/Y5MD2auR for a script to help you with this.
– Steffen Ullrich
Mar 13 at 23:11
Thanks. I ran your script which gave LWP 6.08 LWP::Protocol::https 6.06 IO::Socket::SSL 1.997. I have reported the bug to ActiveState. I am running Windows 10 with all updates installed.
– Sam Nodes
Mar 14 at 7:15
The problem doesn't have a relation with the module, I think it may be related to your OS that is windows, most of this type of errors are generated when using Windows (mostly when using threads)
– Mobrine Hayde
Mar 9 at 13:03
The problem doesn't have a relation with the module, I think it may be related to your OS that is windows, most of this type of errors are generated when using Windows (mostly when using threads)
– Mobrine Hayde
Mar 9 at 13:03
That message indicates a bug in an XS module such Net::SSLeay. Specifically, it's a bug related to thread support (or lack thereof). Contrary to what the previous comment said, there's no reason to believe it's Windows-specific at this point.
– ikegami
Mar 9 at 20:19
That message indicates a bug in an XS module such Net::SSLeay. Specifically, it's a bug related to thread support (or lack thereof). Contrary to what the previous comment said, there's no reason to believe it's Windows-specific at this point.
– ikegami
Mar 9 at 20:19
See Using Net::SSLeay in multi-threaded applications.
– ikegami
Mar 9 at 20:20
See Using Net::SSLeay in multi-threaded applications.
– ikegami
Mar 9 at 20:20
Please provide the versions of IO::Socket::SSL, Net::SSLeay and openssl used by this build of Perl - see pastebin.com/Y5MD2auR for a script to help you with this.
– Steffen Ullrich
Mar 13 at 23:11
Please provide the versions of IO::Socket::SSL, Net::SSLeay and openssl used by this build of Perl - see pastebin.com/Y5MD2auR for a script to help you with this.
– Steffen Ullrich
Mar 13 at 23:11
Thanks. I ran your script which gave LWP 6.08 LWP::Protocol::https 6.06 IO::Socket::SSL 1.997. I have reported the bug to ActiveState. I am running Windows 10 with all updates installed.
– Sam Nodes
Mar 14 at 7:15
Thanks. I ran your script which gave LWP 6.08 LWP::Protocol::https 6.06 IO::Socket::SSL 1.997. I have reported the bug to ActiveState. I am running Windows 10 with all updates installed.
– Sam Nodes
Mar 14 at 7:15
|
show 3 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55074946%2fissue-with-lwpsimple-and-https-when-upgrading-to-activeperl-v5-26-3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55074946%2fissue-with-lwpsimple-and-https-when-upgrading-to-activeperl-v5-26-3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The problem doesn't have a relation with the module, I think it may be related to your OS that is windows, most of this type of errors are generated when using Windows (mostly when using threads)
– Mobrine Hayde
Mar 9 at 13:03
That message indicates a bug in an XS module such Net::SSLeay. Specifically, it's a bug related to thread support (or lack thereof). Contrary to what the previous comment said, there's no reason to believe it's Windows-specific at this point.
– ikegami
Mar 9 at 20:19
See Using Net::SSLeay in multi-threaded applications.
– ikegami
Mar 9 at 20:20
Please provide the versions of IO::Socket::SSL, Net::SSLeay and openssl used by this build of Perl - see pastebin.com/Y5MD2auR for a script to help you with this.
– Steffen Ullrich
Mar 13 at 23:11
Thanks. I ran your script which gave LWP 6.08 LWP::Protocol::https 6.06 IO::Socket::SSL 1.997. I have reported the bug to ActiveState. I am running Windows 10 with all updates installed.
– Sam Nodes
Mar 14 at 7:15