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

try to manage booxtream download limits #25

Open
eshellman opened this issue Feb 6, 2017 · 0 comments
Open

try to manage booxtream download limits #25

eshellman opened this issue Feb 6, 2017 · 0 comments

Comments

@eshellman
Copy link

decrement the counts of booxtream so that server will refressh properly; currently, there's a timout generated when send to kindle tries to get an expired file:
Traceback (most recent call last):
File "/opt/regluit/ENV/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, callback_args, *callback_kwargs)
File "/opt/regluit/ENV/local/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner
return func(request, args, *kwargs)
File "/opt/regluit/ENV/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(args, *kwargs)
File "/opt/regluit/frontend/views.py", line 2822, in send_to_kindle
filehandle = urllib.urlopen(ebook_url)
File "/usr/lib/python2.7/urllib.py", line 84, in urlopen
return opener.open(url)
File "/usr/lib/python2.7/urllib.py", line 205, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 342, in open_http
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 951, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 811, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 773, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 754, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
IOError: [Errno socket error] [Errno 110] Connection timed out

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

No branches or pull requests

1 participant