Marshall has asked for the wisdom of the Perl Monks concerning the following question:
This particular site got hit with a massive ransomware attack some months back. Something subtle could have changed on this site when putting Humpty Dumpty back together again. My code has been working without problems for the last 5 years. Ideas?
Update: Changed the code to not verify_hostname. I guess this is then a non-secure connection? I am not sure exactly what this does.use strict; use warnings; use WWW::Mechanize; $|=1; #my $page = 'https://contests.arrl.org/publiclogs.php?eid=18&iid=1049' +; my $page = 'https://contests.arrl.org/'; my $mech = WWW::Mechanize->new( autocheck => 1 ); $mech->get($page); exit; __END__ Error GETing https://contests.arrl.org/publiclogs.php?eid=18&iid=1049: Can't connect to contests.arrl.org:443 (Bad file descriptor) at test.p +l line 11. Now with just the minimal URL, I get the same error: Error GETing https://contests.arrl.org/: Can't connect to contests.arr +l.org:443 (Bad file descriptor)
my $mech = WWW::Mechanize->new( autocheck => 1, ssl_opts => { verify_hostname => 0}, ) +;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mechanize - Bad File descriptor
by NERDVANA (Priest) on Sep 10, 2024 at 06:08 UTC | |
by cavac (Prior) on Sep 10, 2024 at 10:31 UTC | |
by etj (Priest) on Sep 10, 2024 at 11:45 UTC | |
by hippo (Archbishop) on Sep 10, 2024 at 12:53 UTC | |
|
Re: Mechanize - Bad File descriptor
by choroba (Cardinal) on Sep 09, 2024 at 21:29 UTC | |
|
Re: Mechanize - Bad File descriptor
by hippo (Archbishop) on Sep 09, 2024 at 22:11 UTC |