Problem
Roughly every day I get a red square telling me that outlook.com could not sync anymore and I have to reconnect. From memory this only started happening a few months ago as initially with MailSpring I don’t remember seeing this. Also, previously with Mac Mail and Thunderbird I never saw this issue.
Suddenly my email @outlook.com cannot synchronize anymore seems similar but not identical to my issue.
Context
No.
outlook.com
Setup
- OS and Version: Sonoma 14.8.5
- Installation Method: default
- Mailspring Version: 1.26.0
Just happened again.
“Authentication Error - Check your username and password. (IMAP)”
Quite odd since nothing in user or pw changed.
I have two email adresses at hotmail, every other day I have to reconnect. I solved it to forward these emails to another email address.
@LesPaul1962 how long has this been happening for you? For me it only started recently. Microsoft changed something?
—
Update (Oct 16): More occurrences, and one failed auto-reconnect. Logs from mailsync for the live.nl Outlook account, Oct 10–16, local time (CEST).
-
6 ErrorAuthentication episodes (Oct 12 11:43 and 18:46, Oct 14 17:47 and 19:56, Oct 15 03:35 and 04:35). Five recovered after the automatic worker restart. On Oct 15 at 04:35 there were 5 consecutive failures in 15 s (04:35:29–04:35:44), after which the app stopped restarting the worker. The account had no sync until I re-authenticated on Oct 16 at 08:03.
-
In two cases (Oct 12 11:43 and 18:46) the background worker’s login succeeded about 1 s before the idle worker’s login was rejected. No token-refresh errors appear in any log.
-
Reading the source (Mailspring master as of Oct 15, not necessarily my installed version): a rejected AUTHENTICATE becomes ErrorAuthentication, which exits the worker. The app then restarts it without backoff and stops after 5 exits in 5 minutes, marking the account as needing re-auth.
-
A Gmail account in the same profile also got ErrorAuthentication at 04:35:32 and 07:38:32 on Oct 15 and recovered on restart.
Open questions: What does Outlook’s IMAP server actually reply to the rejected AUTHENTICATE? The normal log doesn’t record it. Why do the idle and background workers get different results within 1 s? Is the rejection tied to wake-from-sleep? I haven’t confirmed that. Same account works fine in Mail.app and Thunderbird. Mailspring version 1.26.0.