You set $wsr as an instance of LWP::UserAgent and set the proxy server on this instance but you don't use it. You then set $useragent as another instance of LWP::UserAgent, don't set the proxy server and use this latter instance to submit your request.
Does it work if you set the proxy server on the $useragent instance?
In reply to Re: LWP for URL monitoring - 500 connect timeout errors
by ig
in thread LWP for URL monitoring - 500 connect timeout errors
by oalvi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |