ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Error log - Want to know the meaning of this error



{‘retry’: 0, ‘log’: <function log at 0x7fe00b4aa9b0>, ‘site’: u’erpnext’, ‘event’: u’all’, ‘method_name’: u’pull_from_email_account’, ‘method’: <function pull_from_email_account at 0x7fe00b3600c8>, ‘user’: u’Administrator’, ‘kwargs’: {‘email_account’: u’Replies’}, ‘async’: True, ‘job_name’: u’pull_from_email_account|Replies’}
Traceback (most recent call last):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/”, line 97, in execute_job
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/email/doctype/email_account/”, line 707, in pull_from_email_account
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/email/doctype/email_account/”, line 258, in receive
emails = email_server.get_messages()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/email/”, line 105, in get_messages
if not self.connect():
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/email/”, line 44, in connect
return self.connect_imap()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/email/”, line 52, in connect_imap
self.imap = Timed_IMAP4_SSL(, timeout=frappe.conf.get(“pop_timeout”))
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/email/”, line 550, in init
self._super.init(self, *args, **kwargs)
File “/opt/bitnami/python/lib/python2.7/”, line 1168, in init
IMAP4.init(self, host, port)
File “/opt/bitnami/python/lib/python2.7/”, line 202, in init
typ, dat = self.capability()
File “/opt/bitnami/python/lib/python2.7/”, line 376, in capability
typ, dat = self._simple_command(name)
File “/opt/bitnami/python/lib/python2.7/”, line 1090, in _simple_command
return self._command_complete(name, self._command(name, *args))
File “/opt/bitnami/python/lib/python2.7/”, line 914, in _command_complete
raise self.abort(‘command: %s => %s’ % (name, val))
abort: command: CAPABILITY => socket error: EOF



A web search finds this

and this example code

Now follow the call sequence in your error traceback, for eg search on ‘_command_complete’

So your bitnami server and mail service provider connected over the network ok, then next the ERPNext mail client authenticated ok.

But during the mail pull request service capability process, the socket EOF means the mail server process failed to respond. Best check and confirm your mail settings with your mail service provider, the mail provider may not support the capability that you request.