Syncing Error

I have no idea why, but every time I reboot, I get a sync error. It’s resolved if I log in again, but I’m not gonna log in every time I want to use the client. It’s worth noting that the sync issue is occurring on both of my accounts and isn’t an issue specific to one email format.
I think the solution might have something to do with Mailspring ID, but I’ve tried setting it up multiple times before without any improvements.

Mailspring Version: 1.13.3-9a7e1a78
Platform: linux
Account State: sync_error
Account Provider: gmail
IMAP Server: imap.gmail.com
SMTP Server: smtp.gmail.com

296 [2024-07-19 23:37:53.282] [background] [info] - [Gmail]/All Mail: remote=9848, local=9848, remoteUID=ENjRH2rUZhSKWNe9fGD2DQPewe8FNpNNCFkhwXttN
296 [2024-07-19 23:37:53.453] [background] [info] syncFolderUIDRange for [Gmail]/Trash, UIDs: 1 - 0, Heavy: false
296 [2024-07-19 23:37:53.651] [background] [info] - [Gmail]/Trash: remote=9, local=9, remoteUID=JCPN2bALLNPRBzci3LzT3LGR7DAYjyhs7adhWCoTp
296 [2024-07-19 23:37:53.742] [background] [info] syncFolderUIDRange for [Gmail]/Spam, UIDs: 1 - 0, Heavy: false
296 [2024-07-19 23:37:53.943] [background] [info] - [Gmail]/Spam: remote=5, local=5, remoteUID=mGqgx1L6Xoko1WdK7W3pVtqkPVQpPC35CiLkQNz91
296 [2024-07-19 23:37:53.944] [background] [info] Sync loop deleting unlinked messages with phase 2.
296 [2024-07-19 23:37:53.949] [background] [info] Sync loop complete.
296 [2024-07-19 23:39:53.950] [background] [info] Syncing folder list…
296 [2024-07-19 23:39:54.260] [background] [info] syncFolderUIDRange for [Gmail]/All Mail, UIDs: 10715 - 11137, Heavy: false
296 [2024-07-19 23:39:54.608] [background] [info] - [Gmail]/All Mail: remote=400, local=400, remoteUID=ENjRH2rUZhSKWNe9fGD2DQPewe8FNpNNCFkhwXttN
296 [2024-07-19 23:39:54.868] [background] [info] syncFolderUIDRange for [Gmail]/Trash, UIDs: 1 - 293, Heavy: false
296 [2024-07-19 23:39:55.181] [background] [info] - [Gmail]/Trash: remote=9, local=9, remoteUID=JCPN2bALLNPRBzci3LzT3LGR7DAYjyhs7adhWCoTp
296 [2024-07-19 23:39:55.266] [background] [info] syncFolderUIDRange for [Gmail]/Spam, UIDs: 1 - 130, Heavy: false
296 [2024-07-19 23:39:55.591] [background] [info] - [Gmail]/Spam: remote=5, local=5, remoteUID=mGqgx1L6Xoko1WdK7W3pVtqkPVQpPC35CiLkQNz91
296 [2024-07-19 23:39:55.592] [background] [info] Sync loop deleting unlinked messages with phase 1.
296 [2024-07-19 23:39:55.597] [background] [info] Sync loop complete.
296 [2024-07-19 23:41:55.598] [background] [info] Syncing folder list…
296 [2024-07-19 23:41:56.008] [background] [info] syncFolderUIDRange for [Gmail]/All Mail, UIDs: 10715 - 11137, Heavy: false
296 [2024-07-19 23:41:57.739] [background] [info] - [Gmail]/All Mail: remote=400, local=400, remoteUID=ENjRH2rUZhSKWNe9fGD2DQPewe8FNpNNCFkhwXttN
296 [2024-07-19 23:41:57.863] [background] [info] syncFolderUIDRange for [Gmail]/Trash, UIDs: 1 - 293, Heavy: false
296 [2024-07-19 23:41:58.261] [background] [info] - [Gmail]/Trash: remote=9, local=9, remoteUID=JCPN2bALLNPRBzci3LzT3LGR7DAYjyhs7adhWCoTp
296 [2024-07-19 23:41:58.468] [background] [info] syncFolderUIDRange for [Gmail]/Spam, UIDs: 1 - 130, Heavy: false
296 [2024-07-19 23:41:58.771] [background] [info] - [Gmail]/Spam: remote=5, local=5, remoteUID=mGqgx1L6Xoko1WdK7W3pVtqkPVQpPC35CiLkQNz91
296 [2024-07-19 23:41:58.772] [background] [info] Sync loop deleting unlinked messages with phase 2.
296 [2024-07-19 23:41:58.779] [background] [info] Sync loop complete.
296 [2024-07-19 23:56:54.487] [background] [info] Syncing folder list…

Me too…

Mailspring Version: 1.13.3-9a7e1a78
Platform: linux
Account State: sync_error
Account Provider: gmail
IMAP Server: imap.gmail.com
SMTP Server: smtp.gmail.com

But not only gmail, I have 7 accounts manged by Mailspring and they were properly working until yesterday evening. This morning I noticed the sync issue similar to the log reported above by “Deluca”.

For instance with Yandex mail account, and an aruba certified service:

Mailspring Version: 1.13.3-9a7e1a78
Platform: linux
Account State: sync_error
Account Provider: yandex
IMAP Server: imap.yandex.com
SMTP Server: smtp.yandex.com
Mailspring Version: 1.13.3-9a7e1a78
Platform: linux
Account State: sync_error
Account Provider: imap
IMAP Server: imaps.pec.aruba.it
SMTP Server: smtps.pec.aruba.it

After opening Mailspring it tries to sync local folders via IMAP but something go wrong.
The red Info box on bottom right appears and says:

Several of your accounts are having issues

If I try “Check Again” button nothing changes, so by cliccking “Manage” button I noticed all accounts are in a “red status”.

The info box on the right says:

Mailspring encountered errors syncing this account. Crash reports have been sent to the Mailspring team and we’ll work to fix these errors in the next release.

“Rconnect” button doesn’t add any progress…
If I press “Error Details” button, it reports a log, but these records are referred to last night:

10618 [2024-08-29 01:18:27.092] [background] [info] Sync loop complete.

As you can see time is “01:18”, but I’ve just tried to sync, and it’s 12:00 now (on GTM+1, actually CEST UTC+2 due to summer time).
So that log is not referred to my last sync… indeed it doesn’t contain any ERROR message except for the header I reported above “Account State: sync_error”.

The questions:

  • how to solve?
  • what this issue could be caused by?

Thanks in advance!

Seems issue doesn’t appear anymore… even better!