Hello. Been using dropbox backup with no issues since v8. Recently i got this notification that it has failed. Can anyone tell me what is wrong? Any fix? I’m currently running v10. Using Dropbox basic account 2GB.
./site1.local/public/files/20462.jpg - Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 148, in upload_from_folder
upload_file_to_dropbox(filepath, dropbox_folder, dropbox_client)
File “/home/administrator/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 169, in upload_file_to_dropbox
dropbox_client.files_upload(f.read(), path, mode)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/base.py”, line 1267, in files_upload
f,
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 239, in request
timeout=timeout)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 330, in request_json_string_with_retry
timeout=timeout)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 414, in request_json_string
timeout=timeout,
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 511, in post
return self.request(‘POST’, url, data=data, json=json, **kwargs)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 468, in request
resp = self.send(prep, **send_kwargs)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 576, in send
r = adapter.send(request, **kwargs)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/adapters.py”, line 449, in send
raise ReadTimeout(e, request=request)
ReadTimeout: HTTPSConnectionPool(host=‘content.dropboxapi.com’, port=443): Read timed out. (read timeout=30)./site1.local/public/files/34571_small.jpg - Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 148, in upload_from_folder
upload_file_to_dropbox(filepath, dropbox_folder, dropbox_client)
File “/home/administrator/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 169, in upload_file_to_dropbox
dropbox_client.files_upload(f.read(), path, mode)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/base.py”, line 1267, in files_upload
f,
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 239, in request
timeout=timeout)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 330, in request_json_string_with_retry
timeout=timeout)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 414, in request_json_string
timeout=timeout,
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 511, in post
return self.request(‘POST’, url, data=data, json=json, **kwargs)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 468, in request
resp = self.send(prep, **send_kwargs)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 576, in send
r = adapter.send(request, **kwargs)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/adapters.py”, line 426, in send
raise ConnectionError(err, request=request)
ConnectionError: (‘Connection aborted.’, timeout())./site1.local/public/files/20190326_154954.jpg - Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 148, in upload_from_folder
upload_file_to_dropbox(filepath, dropbox_folder, dropbox_client)
File “/home/administrator/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 169, in upload_file_to_dropbox
dropbox_client.files_upload(f.read(), path, mode)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/base.py”, line 1267, in files_upload
f,
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 239, in request
timeout=timeout)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 330, in request_json_string_with_retry
timeout=timeout)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 414, in request_json_string
timeout=timeout,
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 511, in post
return self.request(‘POST’, url, data=data, json=json, **kwargs)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 468, in request
resp = self.send(prep, **send_kwargs)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 576, in send
r = adapter.send(request, **kwargs)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/adapters.py”, line 376, in send
timeout=timeout
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py”, line 559, in urlopen
body=body, headers=headers)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py”, line 376, in _make_request
httplib_response = conn.getresponse(buffering=True)
File “/usr/lib/python2.7/httplib.py”, line 1089, in getresponse
response.begin()
File “/usr/lib/python2.7/httplib.py”, line 444, in begin
version, status, reason = self._read_status()
File “/usr/lib/python2.7/httplib.py”, line 400, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File “/usr/lib/python2.7/socket.py”, line 476, in readline
data = self._sock.recv(self._rbufsize)
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/requests/packages/urllib3/contrib/pyopenssl.py”, line 193, in recv
[self.socket], , , self.socket.gettimeout())
File “/home/administrator/frappe-bench/env/local/lib/python2.7/site-packages/rq/timeouts.py”, line 51, in handle_death_penalty
‘value ({0} seconds)’.format(self._timeout))
JobTimeoutException: Job exceeded maximum timeout value (1500 seconds)Traceback (most recent call last):
File “/home/administrator/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 48, in take_backup_to_dropbox
if did_not_upload: raise Exception
Exception