Dears
how can i increase the timeout of (1500 seconds) to get dropbox backup job done ??
Backup Upload Failed
Oops, your automated backup to Dropbox failed.
Error message:
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 45, in take_backup_to_dropbox
did_not_upload, error_log = backup_to_dropbox()
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 98, in backup_to_dropbox
upload_file_to_dropbox(filename, “/database”, dropbox_client)
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 166, in upload_file_to_dropbox
dropbox_client.files_upload_session_append(f.read(chunk_size), cursor.session_id,cursor.offset)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/base.py”, line 1301, in files_upload_session_append
f,
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 239, in request
timeout=timeout)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 330, in request_json_string_with_retry
timeout=timeout)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 414, in request_json_string
timeout=timeout,
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 555, in post
return self.request(‘POST’, url, data=data, json=json, **kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 508, in request
resp = self.send(prep, **send_kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/sessions.py”, line 618, in send
r = adapter.send(request, **kwargs)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/requests/adapters.py”, line 440, in send
timeout=timeout
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/connectionpool.py”, line 601, in urlopen
chunked=chunked)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/connectionpool.py”, line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
File “/usr/lib/python2.7/httplib.py”, line 1017, in request
self._send_request(method, url, body, headers)
File “/usr/lib/python2.7/httplib.py”, line 1051, in _send_request
self.endheaders(body)
File “/usr/lib/python2.7/httplib.py”, line 1013, in endheaders
self._send_output(message_body)
File “/usr/lib/python2.7/httplib.py”, line 864, in _send_output
self.send(msg)
File “/usr/lib/python2.7/httplib.py”, line 840, in send
self.sock.sendall(data)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py”, line 316, in sendall
sent = self._send_until_done(data[total_sent:total_sent + SSL_WRITE_BLOCKSIZE])
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py”, line 306, in _send_until_done
wr = util.wait_for_write(self.socket, self.socket.gettimeout())
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/util/wait.py”, line 40, in wait_for_write
return _wait_for_io_events(socks, EVENT_WRITE, timeout)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/util/wait.py”, line 26, in _wait_for_io_events
selector.select(timeout) if key[1] & events]
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/util/selectors.py”, line 438, in select
maxevents=max_events)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/util/selectors.py”, line 94, in _syscall_wrapper
result = func(*args, **kwargs)
File “/home/frappe/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)
Please contact your system manager for more information.