eikek / eikek/docspell

Random email scan timeouts

Open
#1,676 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
2.3k
Forks
184
Avg merge
8h 2m
Merged PRs (30d)
4

Description

I setup IMAP authentication with gmail and it works... most of the time.
There are periods of time I get random timeouts. Today I received an email and triggered scan manually from the UI and got his error:
```
Mon, August 1st, 2022, 15:14: === Start importing mails for user USERNAME
Mon, August 1st, 2022, 15:14: Settings: {"account":"Personal/USER","imapConnection":"EMAIL@gmail.com","scanRecursively":true,"folders":["Inbox"],"receivedSince":null,"targetFolder":null,"deleteMail":false,"direction":null,"itemFolder":null,"fileFilter":null,"tags":null,"subjectFilter":null,"language":null,"postHandleAll":false,"attachmentsOnly":false}
Mon, August 1st, 2022, 15:14: Reading mails for user USERNAME from EMAIL@gmail.com/Inbox
Mon, August 1st, 2022, 15:14: Job ECdzwdudV.../Personal/scan-mailbox/Low execution failed. Retrying later.: * BYE Jakarta Mail Exception: java.net.SocketTimeoutException: Read timed out
```
Though the scheduled scan: `Mon, August 1st, 2022, 0:01: Job execution successful`

Some time passes and it starts working again. There are only 18 emails in that inbox so it should not be due to long time due to amount of emails. There are some emails that I deleted after importing, so some may need to get skipped and there is a variety of file attachments (.doc .pdf .docx)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.