Emails Synchronize Correctly But 'Sync Error' Still Shown

REPRODUCIBILITY (% or how often): 50%
BUILD ID = OS VERSION (Settings > About product): 4.0.1.48
HARDWARE (XA2, Xperia 10…): XA2
UI LANGUAGE: ENGLISH
REGRESSION: (compared to previous public release: Yes, No, ?): Yes

DESCRIPTION:

I have 5 email accounts configured on my phone - two are imap (apple mail and google mail) and three are Exchange (Office365). All are set to sync every 5 minutes.

When you load the email app or ‘Update’ emails from inside the app, or let the timed sync happen the accounts sychronize in sequence one after another rippling down the list of account. After each account is synchronized its status is changed to ‘Just now’ and the next account starts to synchronize.

More often than not one of the Exchange accounts will fail to synchronize (see other bugs) and the ‘Sync Error’ message appears next to it with the triangle icon.

However ALL the previous accounts that have synchronized correctly will now have their ‘Just Now’ statuses changed to ‘Sync Error’. It is easily checked that these accounts did in fact synchronize correctly as all new emails have been successfully received in the inbox (checked with my iphone 12) and all emails waiting to be sent in the outbox or moved to folders have done what they were supposed to do.

Exiting the email app and then restarting it also then shows the correct status against these acoounts ‘A Minute ago’ or whatever.

PRECONDITIONS:

Multiple email accounts configured with at least one Exchange Account

STEPS TO REPRODUCE:

  1. Synchronise Email and wait for an Exchange account to fail to synchronise
  2. All accounts now display ‘Sync Error’ when this is not the case
  3. Exit email app
  4. Restart email app
  5. All accounts now display the correct Sync status

EXPECTED RESULT:

All accounts should display their correct synchronization status, whether ‘Sync Error’ or ‘Just Now’

ACTUAL RESULT:

All accounts display ‘Sync Error’

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

1 Like

Exactly the same here with an IMAP account on a Dovecot server.
Sailfish 4.1.0.24, started to display “synchronization error” two days ago, but mails are still always up to date.

Deleting and re-creating the mail account on the phone helped as a workaround.

Just had this in 4.4.

It wasn’t necessary to recreate the account, simply doing a disable->enable->sync sequence in the account section of the settings cleared it.

Reading qmf.log, what seems to happen is the client logs out and immediatrly after wants to use the connection again.

This is the venerable UW imapd (chappa version).

RECV: <2477 literal bytes received>
[26517] Jun 03 07:14:21 [Debug] IMAP :  "1" RECV: )
[26517] Jun 03 07:14:21 [Debug] IMAP :  "1" RECV: * 141 FETCH (UID 125532 FLAGS () RFC822.SIZE 33357 BODY[] {
33357}
[26517] Jun 03 07:14:21 [Debug] IMAP :  "1" RECV: <33357 literal bytes received>
[26517] Jun 03 07:14:21 [Debug] IMAP :  "1" RECV: )
[26517] Jun 03 07:14:21 [Debug] IMAP :  "1" RECV: a009 OK UID FETCH completed
[26517] Jun 03 07:14:21 [Debug] IMAP :  void ImapClient::onAccountsUpdated(const QMailAccountIdList&) "nephro
s"
[26517] Jun 03 07:14:21 [Debug] IMAP :  void ImapClient::onAccountsUpdated(const QMailAccountIdList&) "nephro
s"
[26517] Jun 03 07:14:30 [Debug] IMAP :  "1" SEND a010 LOGOUT
[26517] Jun 03 07:14:30 [Debug] IMAP :  "1" RECV: * BYE chalice.crownest.nephros.org IMAP4rev1 server termina
ting connection
[26517] Jun 03 07:14:30 [Debug] IMAP :  "1" RECV: a010 OK LOGOUT completed
[26517] Jun 03 07:17:48 [Debug] IMAP :  "1" About to open connection "nephros" "public.nephros.org"
[26517] Jun 03 07:18:19 [Warning] socketError: 1 : "Remote host closed"
[26517] Jun 03 07:18:19 [Debug] IMAP :  "1" About to open connection "nephros" "public.nephros.org"
[26517] Jun 03 07:18:49 [Warning] socketError: 1 : "Remote host closed"
[26517] Jun 03 07:18:49 [Debug] ExchangeActive