Hello
Emails are pulled from email but still getting this timeout.
Any idea what needs to be done?
{‘retry’: 0, ‘log’: <function log at 0x7f88c5693cf8>, ‘site’: u’erp.grupelectroinstal.com’, ‘event’: u’all’, ‘method_name’: u’pull_from_email_account’, ‘method’: <function pull_from_email_account at 0x7f88c4de7c80>, ‘user’: u’Administrator’, ‘kwargs’: {‘email_account’: u’GrupElectroinstal’}, ‘async’: True, ‘job_name’: u’pull_from_email_account|GrupElectroinstal’}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 66, in execute_job
method(**kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 699, in pull_from_email_account
email_account.receive()
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 249, in receive
email_server = self.get_incoming_server(in_receive=True, email_sync_rule=email_sync_rule)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 163, in get_incoming_server
email_server.connect()
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py”, line 46, in connect
return self.connect_pop()
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py”, line 72, in connect_pop
self.pop = Timed_POP3_SSL(self.settings.host, timeout=frappe.conf.get(“pop_timeout”))
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py”, line 550, in init
self._super.init(self, *args, **kwargs)
File “/usr/lib/python2.7/poplib.py”, line 360, in init
self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile)
File “/usr/lib/python2.7/ssl.py”, line 933, in wrap_socket
ciphers=ciphers)
File “/usr/lib/python2.7/ssl.py”, line 601, in init
self.do_handshake()
File “/usr/lib/python2.7/ssl.py”, line 830, in do_handshake
self._sslobj.do_handshake()
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 (300 seconds)