go ahead... be a heretic | |
PerlMonks |
Re: 500 error with LWP:UserAgentby Loops (Curate) |
on Nov 04, 2014 at 10:16 UTC ( [id://1106005]=note: print w/replies, xml ) | Need Help?? |
Hi there! Would like to help, but this is not a Perl question. As you said, changing the URL to another site, it-just-works. The problem is knowing what that payment system company expects; unfortunately their documentation seems to be private. You'll need a peek at the documentation or some help from them directly. Update: Okay, have to apologize I guess, since I decided to try your code here anyway. It turns out with v5.18.4, i get your 500 error, and with v5.20.0 i get web content back saying that an error occurred (in Spanish). With the exact same copy of your code. Odd. Update2: Wireshark revealed it was an SSL error causing the problem. Something must have changed in the Perl SSL module between v18 and v20. Anyway, if you change the ssl_opt to that given below, the code works in either version:
You may want to look at the other SSL options as listed in the IO::Socket::SSL docs. HTH
In Section
Seekers of Perl Wisdom
|
|