This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
Replies: 1 comment
-
The error is pretty clear, Paperless can't connect to your mail server. Check your network setup. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using always most recent docker-container for paperless incl. Tika. Since 15th March 2021 Mail-consumption did not work anymore (no changes on my side or eMail-Side, worked 2 Months without any problems before).
Following Error occurs:
[Errno 111] Connection refused : Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/django_q/cluster.py", line 436, in worker
res = f(*task["args"], **task["kwargs"])
File "/usr/src/paperless/src/paperless_mail/tasks.py", line 15, in process_mail_accounts
account)
File "/usr/src/paperless/src/paperless_mail/mail.py", line 159, in handle_mail_account
account.imap_security) as M:
File "/usr/src/paperless/src/paperless_mail/mail.py", line 97, in get_mailbox
mailbox = MailBox(server, port)
File "/usr/local/lib/python3.7/site-packages/imap_tools/mailbox.py", line 259, in init
super().init()
File "/usr/local/lib/python3.7/site-packages/imap_tools/mailbox.py", line 27, in init
self.box = self._get_mailbox_client()
File "/usr/local/lib/python3.7/site-packages/imap_tools/mailbox.py", line 274, in _get_mailbox_client
return imaplib.IMAP4_SSL(self._host, self._port, self._keyfile, self._certfile, self._ssl_context)
File "/usr/local/lib/python3.7/imaplib.py", line 1288, in init
IMAP4.init(self, host, port)
File "/usr/local/lib/python3.7/imaplib.py", line 198, in init
self.open(host, port)
File "/usr/local/lib/python3.7/imaplib.py", line 1301, in open
IMAP4.open(self, host, port)
File "/usr/local/lib/python3.7/imaplib.py", line 299, in open
self.sock = self._create_socket()
File "/usr/local/lib/python3.7/imaplib.py", line 1291, in _create_socket
sock = IMAP4._create_socket(self)
File "/usr/local/lib/python3.7/imaplib.py", line 289, in _create_socket
return socket.create_connection((host, self.port))
File "/usr/local/lib/python3.7/socket.py", line 728, in create_connection
raise err
File "/usr/local/lib/python3.7/socket.py", line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
Any Idea?
Beta Was this translation helpful? Give feedback.
All reactions