Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary failure in name resolution #7

Open
deoren opened this issue Jan 21, 2018 · 0 comments
Open

Temporary failure in name resolution #7

deoren opened this issue Jan 21, 2018 · 0 comments
Labels

Comments

@deoren
Copy link
Contributor

deoren commented Jan 21, 2018

Traceback (most recent call last):
  File "/usr/local/bin/email_ebook_deals.py", line 513, in 
    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: 

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant