in reply to Occasional Read Timeout with Mech
I run a lot of http requests to pull web pages. Errors in connecting (for me) occur in two ways: 1, to get the dns, and 2, to the host. Looking at line 268 of Methods.pm, it *seems* that the connection has already been established and there is an error reading the contents of the response. I say seems, because that's a sub that could be called from anywhere, including a DNS lookup.
Do you have any other information about what else has happened prior to the error? Does this happen all 5 times of your loop, and that's when there's a problem? Or does it just happen randomly and kill the script? And what percentage of the time does it happen that the script errors out like this?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Occasional Read Timeout with Mech
by pirkil (Beadle) on Dec 19, 2014 at 07:59 UTC | |
by benwills (Sexton) on Dec 20, 2014 at 19:58 UTC | |
by benwills (Sexton) on Dec 20, 2014 at 20:10 UTC | |
by noxxi (Pilgrim) on Dec 20, 2014 at 23:19 UTC | |
by Anonymous Monk on Dec 20, 2014 at 20:32 UTC | |
by benwills (Sexton) on Dec 20, 2014 at 20:49 UTC | |
by Anonymous Monk on Dec 20, 2014 at 23:02 UTC | |
Re^2: Occasional Read Timeout with Mech
by noxxi (Pilgrim) on Dec 20, 2014 at 23:15 UTC |