No such thing as a small change | |
PerlMonks |
Re: GD and LWP giving 500 errorsby huck (Prior) |
on Mar 16, 2017 at 20:39 UTC ( [id://1184928]=note: print w/replies, xml ) | Need Help?? |
im not sure why GD is involved, but for the calls using LWP::UserAgent i have a few suggestions. Lets assume you code looks like have you inspected $request->content and $request->status_line for further info like That may help you identify what is going on. ssl problems can also case a 500. if you change the line to and it starts working it means you probably have outdated certificates. rather than to continue to skip ssl verification there are modules to update. Mozilla::CA IO::Socket::SSL Net::SSLeay come to mind. if those dont seem to identify the problem add this That will dump the entire request hash, and inspecting it may provide further insight one more thought. There may be some sort of blocking base on the agent. If you change the line to and it starts working someone is filtering lwp. another agent you could try is something like
In Section
Seekers of Perl Wisdom
|
|