YarNik has asked for the wisdom of the Perl Monks concerning the following question:
500 Can not connect to domen: 443 (connect: Network is unreachable); Client-Warning: Internal response
The script is standard, I tried to change the agent and different versions of ssl_opts:P.s. domain example microsoft.com, google.com ( bing - it is OK. )use LWP::UserAgent; $ua = LWP::UserAgent->new( # agent => 'Mozilla/5.0 (X11; U; Linux i686 +; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5', # ssl_opts => { verify_hostname => 0, SSL_verify_mode => 0, + SSL_verifycn_scheme => 'none' }, ); $response = $ua->head("$get_url"); print $response->dump();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Error 500 in LWP
by hippo (Archbishop) on Aug 17, 2017 at 10:53 UTC | |
by YarNik (Sexton) on Aug 17, 2017 at 12:11 UTC | |
by Corion (Patriarch) on Aug 17, 2017 at 12:27 UTC | |
by hippo (Archbishop) on Aug 17, 2017 at 12:42 UTC | |
by YarNik (Sexton) on Aug 17, 2017 at 12:54 UTC | |
by YarNik (Sexton) on Aug 18, 2017 at 09:31 UTC | |
by hippo (Archbishop) on Aug 18, 2017 at 10:11 UTC | |
|