havardgulldahl / jottalib

A library to access files stored at jottacloud.com.
GNU General Public License v3.0
83 stars 19 forks source link

Read timed out when downloading big files #128

Open antonhagg opened 8 years ago

antonhagg commented 8 years ago

Still having trouble with timeout when downloading big files

Downloading: CIMG0889.AVI, Size:325.9M[################################] 340131840/341698120 - 00:31:26
Traceback (most recent call last):
  File "C:\Python27\Scripts\jotta-download-script.py", line 9, in <module>
    load_entry_point('jottalib==0.4.1.post1', 'console_scripts', 'jotta-download')()
  File "c:\python27\lib\site-packages\jottalib\cli.py", line 351, in download
  File "c:\python27\lib\site-packages\jottalib\JFS.py", line 907, in stream
  File "c:\python27\lib\site-packages\requests\models.py", line 667, in generate
    raise ConnectionError(e)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.jottacloud.com', port=443): Read timed out.
havardgulldahl commented 8 years ago

Hi @antonhagg - Am I reading it correctly, you've been waiting 31 minutes before timeout?

havardgulldahl commented 8 years ago

On closer look, it would seem you are running an old install of jottalib here?

load_entry_point('jottalib==0.4.1.post1', 'console_scripts', 'jotta-download')()