Project

General

Profile

Defect #104

Temporary failure in name resolution

Added by Deoren Moor almost 5 years ago. Updated over 4 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
Scraping
Target version:
Start date:
09/25/2012
Due date:
% Done:

0%

Affected Version:
Resolution:

Description

Traceback (most recent call last):
  File "/usr/local/bin/email_ebook_deals.py", line 513, in <module>
    main()
  File "/usr/local/bin/email_ebook_deals.py", line 472, in main
    site_content = fetch_page(site)
  File "/usr/local/bin/email_ebook_deals.py", line 200, in fetch_page
    response = urllib2.urlopen(request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 394, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 412, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1201, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1171, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

This could be handled by time/retry settings (I just ran it manually a few moments after it failed via cron and it worked fine).

History

#1 Updated by Deoren Moor over 4 years ago

  • Project changed from Email Updates to Deal Mailer
  • Category set to Scraping
  • Target version changed from 0.2 to 0.2

Also available in: Atom PDF