zieren / eltern-emailer

Unofficial email interface for *.eltern-portal.org and schulmanager-online.de.
https://zieren.de/software/eltern-emailer
GNU General Public License v3.0
3 stars 2 forks source link

IMAP client can still crash/get stuck #34

Closed zieren closed 1 year ago

zieren commented 1 year ago

It seems the IMAP client can crash with just a warning log:

2023-02-01T17:34:44.280Z warn: IMAP: {"err":{},"cid":"..."}
2023-02-01T17:34:44.774Z warn: IMAP: {"err":{},"cid":"..."}

Should we perform a NOOP operation regularly to check it's working? Or hook into the logger to trigger a retry?

zieren commented 1 year ago

We should find a cleaner solution for this than currently implemented. Interesting question: Does a NOOP success even imply that the (logical) IMAP IDLE connection is working?