Re: curl error when hotmail's too busy
Gene Wheelbarger <[email protected]> Fri, 30 Apr 2004 06:36:48 -0500
| Newsgroups | gmane.mail.gotmail |
|---|---|
| Message-ID | <1083325008.40923a5051bf0@seraph> |
I seem to be getting the error fairly regularly. There will be some night= s when cron will email me 3-4 times with that same error. I was thinking that it shouldn't be that hard to check the URL that's being passed to curl for 'toobusy.html' before actually passing it.=20 Maybe if I have some time this weekend, I'll give it a shot. Beware, thou= gh--I never was all that good at perl! There may be some nasty code to follow..= .. Gene Quoting John Fruetel <[email protected]>: > Well, maybe. Since the 'too busy' page is not reproducible, it would b= e > hard to test. >=20 > Thanks! > John Fruetel > [email protected] >=20 > ----- Original Message -----=20 > From: "Gene Wheelbarger" <[email protected]> > To: <[email protected]> > Sent: Wednesday, April 28, 2004 5:20 AM > Subject: [gotmail] curl error when hotmail's too busy >=20 >=20 > I've got gotmail running in a cron job to download my email on a regula= r > basis. > I'm having a problem now and then, though. It appears that Hotmail's > throwing > up it's 'too busy' page and is confusing gotmail. I get the following e= rror: >=20 >=20 > curl: (3) <url> malformed > curl: (3) <url> malformed > curl: (3) <url> malformed > curl: (3) <url> malformed > An error was encountered getting the page. Command was curl > "/toobusy.html/HoTMail" -b /tmp/fileM3xHZzgotmail_cookies -c > /tmp/fileM3xHZzgotmail_cookies -s -S -i -m 600 -D > /tmp/file4J9N4mgotmail_headers -A "Mozilla/4.73 [en] (Win98; I)" at > /usr/bin/gotmail line 551. >=20 >=20 > Is there a chance of recognizing this in the gotmail script and either > ignoring > it or giving a more meaningful message? Maybe even a new configuration > parameter to tell whether or not to report this as an error. If gotmail= runs > into the 'too busy' page, I really don't care to hear about it, since t= he > email > will get picked up in 15 minutes when gotmail runs again. I don't want = to > forward all cron errors to /dev/null because I would still like to know > about > any _real_ errors. >=20 > Thanks, > Gene >=20 >=20 > _______________________________________________ > Gotmail-list mailing list > [email protected] > http://mail.nongnu.org/mailman/listinfo/gotmail-list >=20 >=20 > _______________________________________________ > Gotmail-list mailing list > [email protected] > http://mail.nongnu.org/mailman/listinfo/gotmail-list >=20