Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^8: LWP Can't POST to HTTPS

by Anonymous Monk
on Sep 12, 2012 at 19:13 UTC ( #993284=note: print w/ replies, xml ) Need Help??


in reply to Re^7: LWP Can't POST to HTTPS
in thread LWP Can't POST to HTTPS

Looks to me like you edited that. I get

DEBUG: .../IO/Socket/SSL.pm:354: ssl handshake not started DEBUG: .../IO/Socket/SSL.pm:1555: ok=1 cert=18003144 DEBUG: .../IO/Socket/SSL.pm:1555: ok=1 cert=18832752 DEBUG: .../IO/Socket/SSL.pm:1555: ok=1 cert=18830608 DEBUG: .../IO/Socket/SSL.pm:1555: ok=1 cert=18829200 DEBUG: .../IO/Socket/SSL.pm:1170: scheme=www cert=18829200 DEBUG: .../IO/Socket/SSL.pm:1177: identity=webcourses.ucf.edu cn=webco +urses.ucf.edu alt=2 webcourses.ucf.edu DEBUG: .../IO/Socket/SSL.pm:414: Net::SSLeay::connect -> 1

Sure I'm using an older version of IO::Socket::SSL ( 1.58 ) compiled against older version of OpenSSL , but I doubt that makes a difference


Comment on Re^8: LWP Can't POST to HTTPS
Download Code
Re^9: LWP Can't POST to HTTPS
by dorko (Parson) on Sep 12, 2012 at 19:36 UTC
    I can't think of a reason why I would edit my response.

    It seems to me the main difference between your output and mine is that your output looks like it worked, and mine failed. After all, I'm asking for help because it doesn't work.

    Thanks again for your time.

    Cheers,

    Brent

    -- Yeah, I'm a Delt.

      I can't think of a reason why I would edit my response.

      :) Well, you did remove webcourses, so it was a possibility

      It seems to me the main difference between your output and mine is that your output looks like it worked, and mine failed. After all, I'm asking for help because it doesn't work.

      Well, I think there really ought to be some output in there. But since you say it doesnt, and it looks kinda like what you get in Re^2: LWP Can't POST to HTTPS, I think we've reached the end of our investigation

      I think its time to go to rt.cpan.org and report this to maintainers of LWP-Protocol-https/IO-Socket-SSL/Net-SSLeay

      At the very least there should be more debugging output with a more useful error message , something like you get with openssl client

      Or, maybe you want to provide openssl with certificate file, might get something different?

        OpenSSL> s_client -connect webcourses.ucf.edu:443 -state -nbio Loading 'screen' into random state - done CONNECTED(0000007C) turning on non blocking io SSL_connect:before/connect initialization SSL_connect:SSLv2/v3 write client hello A SSL_connect:error in SSLv2/v3 read server hello A write R BLOCK SSL_connect:error in SSLv2/v3 read server hello A read:errno=10054 --- no peer certificate available --- No client certificate CA names sent --- SSL handshake has read 0 bytes and written 321 bytes --- New, (NONE), Cipher is (NONE) Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE --- error in s_client

        Cheers,

        Brent

        -- Yeah, I'm a Delt.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993284]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2014-09-17 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (87 votes), past polls