The Eternal Sync Bug

The sync bug is unrelated to anti-virus, I am on Linux, and don’t use anti-virus software, yet the eternal sync bug is there.

2 Likes

scanning message…

forever green spinning circle…

ubuntu 20.04

kill the process and re-start mailspring would help.

why this bug is unfixed until now…

1 Like

I have the same issue.

I have a lot of gmail or hotmail accounts in Mailsprings, some with 10 000+ emails, and they all sync fine except one. That one account get stuck while attempting to get my Archive folder, which holds ~975 emails. It’s a Mailo.com account, using IMAP.

I tried Mailspring on Linux and Windows 10 and the issue occurs in both platform.

When using Evolution on Linux, I can sync that account without issues, including the problematic Archive folder and its ~975 emails.

1 Like

Same issue here on macOS (see client and server logs below). Tried from two different computers and one account (the same on both computers) does not sync . It keeps saying “encountered an error while syncing”… I have to manually hit try again every time. I’m attaching some logs. Another account on the same server syncs fine although that one has fewer emails.

22471 [2022-06-17 11:49:00.504] [background] [info] Sync loop deleting unlinked messages with phase 2.
22471 [2022-06-17 11:49:00.505] [background] [info] Sync loop complete.
22471 [2022-06-17 11:50:31.283] [metadata] [info] Metadata delta stream starting...
22471 [2022-06-17 11:50:31.796] [metadata] [info] Metadata delta stream closed.
22471 [2022-06-17 11:50:32.461] [metadata] [info] Will retry in 300 sec.
22471 [2022-06-17 11:50:52.701] [foreground] [info] Idle exited with code 0
22471 [2022-06-17 11:50:52.750] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:50:52.758] [foreground] [info] Idling on folder INBOX
22471 [2022-06-17 11:51:00.507] [background] [info] Syncing folder list...
22471 [2022-06-17 11:51:00.601] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:51:00.647] [background] [info] syncFolderChangesViaCondstore - Sent: modseq 33 to 33, uidnext 104 to 104
22471 [2022-06-17 11:51:00.689] [background] [info] syncFolderChangesViaCondstore - Drafts: modseq 236 to 236, uidnext 55 to 55
22471 [2022-06-17 11:51:00.731] [background] [info] syncFolderChangesViaCondstore - Archive: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:51:00.770] [background] [info] syncFolderChangesViaCondstore - Trash: modseq 2 to 2, uidnext 2 to 2
22471 [2022-06-17 11:51:00.809] [background] [info] syncFolderChangesViaCondstore - Junk: modseq 235 to 235, uidnext 538 to 538
22471 [2022-06-17 11:51:00.850] [background] [info] syncFolderChangesViaCondstore - Elk&APw-ld&APY-tt elemek: modseq 3 to 3, uidnext 3 to 3
22471 [2022-06-17 11:51:00.891] [background] [info] syncFolderChangesViaCondstore - INBOX.backup: modseq 399 to 399, uidnext 487 to 487
22471 [2022-06-17 11:51:00.937] [background] [info] syncFolderChangesViaCondstore - Deleted Messages: modseq 2551 to 2551, uidnext 1694 to 1694
22471 [2022-06-17 11:51:00.975] [background] [info] syncFolderChangesViaCondstore - INBOX.fail2ban: modseq 6046 to 6046, uidnext 6018 to 6018
22471 [2022-06-17 11:51:01.023] [background] [info] syncFolderChangesViaCondstore - INBOX.Nem_Spam: modseq 52 to 52, uidnext 31 to 31
22471 [2022-06-17 11:51:01.062] [background] [info] syncFolderChangesViaCondstore - Lev&AOk-lszem&AOk-t: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:51:01.105] [background] [info] syncFolderChangesViaCondstore - Sent Messages: modseq 108 to 108, uidnext 40 to 40
22471 [2022-06-17 11:51:01.149] [background] [info] syncFolderChangesViaCondstore - T&APY-r&APY-lt elemek: modseq 4 to 4, uidnext 2 to 2
22471 [2022-06-17 11:51:01.200] [background] [info] syncFolderChangesViaCondstore - Mailspring: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:51:01.251] [background] [info] syncFolderChangesViaCondstore - Mailspring.Snoozed: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:51:01.291] [background] [info] syncFolderChangesViaCondstore - INBOX.cron: modseq 1928 to 1928, uidnext 1923 to 1923
22471 [2022-06-17 11:51:01.303] [background] [info] Sync loop deleting unlinked messages with phase 1.
22471 [2022-06-17 11:51:01.306] [background] [info] Sync loop complete.
22471 [2022-06-17 11:52:52.861] [foreground] [info] Idle exited with code 0
22471 [2022-06-17 11:52:52.913] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:52:52.915] [foreground] [info] Idling on folder INBOX
22471 [2022-06-17 11:53:01.308] [background] [info] Syncing folder list...
22471 [2022-06-17 11:53:01.416] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:53:01.479] [background] [info] syncFolderChangesViaCondstore - Sent: modseq 33 to 33, uidnext 104 to 104
22471 [2022-06-17 11:53:01.520] [background] [info] syncFolderChangesViaCondstore - Drafts: modseq 236 to 236, uidnext 55 to 55
22471 [2022-06-17 11:53:01.582] [background] [info] syncFolderChangesViaCondstore - Archive: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:53:01.705] [background] [info] syncFolderChangesViaCondstore - Trash: modseq 2 to 2, uidnext 2 to 2
22471 [2022-06-17 11:53:01.746] [background] [info] syncFolderChangesViaCondstore - Junk: modseq 235 to 235, uidnext 538 to 538
22471 [2022-06-17 11:53:02.064] [background] [info] syncFolderChangesViaCondstore - Elk&APw-ld&APY-tt elemek: modseq 3 to 3, uidnext 3 to 3
22471 [2022-06-17 11:53:02.102] [background] [info] syncFolderChangesViaCondstore - INBOX.backup: modseq 399 to 399, uidnext 487 to 487
22471 [2022-06-17 11:53:02.143] [background] [info] syncFolderChangesViaCondstore - Deleted Messages: modseq 2551 to 2551, uidnext 1694 to 1694
22471 [2022-06-17 11:53:02.184] [background] [info] syncFolderChangesViaCondstore - INBOX.fail2ban: modseq 6046 to 6046, uidnext 6018 to 6018
22471 [2022-06-17 11:53:02.229] [background] [info] syncFolderChangesViaCondstore - INBOX.Nem_Spam: modseq 52 to 52, uidnext 31 to 31
22471 [2022-06-17 11:53:02.269] [background] [info] syncFolderChangesViaCondstore - Lev&AOk-lszem&AOk-t: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:53:02.309] [background] [info] syncFolderChangesViaCondstore - Sent Messages: modseq 108 to 108, uidnext 40 to 40
22471 [2022-06-17 11:53:02.348] [background] [info] syncFolderChangesViaCondstore - T&APY-r&APY-lt elemek: modseq 4 to 4, uidnext 2 to 2
22471 [2022-06-17 11:53:02.387] [background] [info] syncFolderChangesViaCondstore - Mailspring: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:53:02.439] [background] [info] syncFolderChangesViaCondstore - Mailspring.Snoozed: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:53:02.481] [background] [info] syncFolderChangesViaCondstore - INBOX.cron: modseq 1928 to 1928, uidnext 1923 to 1923
22471 [2022-06-17 11:53:02.487] [background] [info] Sync loop deleting unlinked messages with phase 2.
22471 [2022-06-17 11:53:02.488] [background] [info] Sync loop complete.
22471 [2022-06-17 11:54:52.025] [foreground] [info] Idle exited with code 0
22471 [2022-06-17 11:54:52.072] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:54:52.074] [foreground] [info] Idling on folder INBOX
22471 [2022-06-17 11:55:02.490] [background] [info] Syncing folder list...
22471 [2022-06-17 11:55:02.573] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:55:02.615] [background] [info] syncFolderChangesViaCondstore - Sent: modseq 33 to 33, uidnext 104 to 104
22471 [2022-06-17 11:55:02.655] [background] [info] syncFolderChangesViaCondstore - Drafts: modseq 236 to 236, uidnext 55 to 55
22471 [2022-06-17 11:55:02.702] [background] [info] syncFolderChangesViaCondstore - Archive: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:55:02.741] [background] [info] syncFolderChangesViaCondstore - Trash: modseq 2 to 2, uidnext 2 to 2
22471 [2022-06-17 11:55:02.781] [background] [info] syncFolderChangesViaCondstore - Junk: modseq 235 to 235, uidnext 538 to 538
22471 [2022-06-17 11:55:02.820] [background] [info] syncFolderChangesViaCondstore - Elk&APw-ld&APY-tt elemek: modseq 3 to 3, uidnext 3 to 3
22471 [2022-06-17 11:55:02.859] [background] [info] syncFolderChangesViaCondstore - INBOX.backup: modseq 399 to 399, uidnext 487 to 487
22471 [2022-06-17 11:55:02.900] [background] [info] syncFolderChangesViaCondstore - Deleted Messages: modseq 2551 to 2551, uidnext 1694 to 1694
22471 [2022-06-17 11:55:02.940] [background] [info] syncFolderChangesViaCondstore - INBOX.fail2ban: modseq 6046 to 6046, uidnext 6018 to 6018
22471 [2022-06-17 11:55:02.983] [background] [info] syncFolderChangesViaCondstore - INBOX.Nem_Spam: modseq 52 to 52, uidnext 31 to 31
22471 [2022-06-17 11:55:03.023] [background] [info] syncFolderChangesViaCondstore - Lev&AOk-lszem&AOk-t: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:55:03.063] [background] [info] syncFolderChangesViaCondstore - Sent Messages: modseq 108 to 108, uidnext 40 to 40
22471 [2022-06-17 11:55:03.103] [background] [info] syncFolderChangesViaCondstore - T&APY-r&APY-lt elemek: modseq 4 to 4, uidnext 2 to 2
22471 [2022-06-17 11:55:03.144] [background] [info] syncFolderChangesViaCondstore - Mailspring: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:55:03.190] [background] [info] syncFolderChangesViaCondstore - Mailspring.Snoozed: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:55:03.231] [background] [info] syncFolderChangesViaCondstore - INBOX.cron: modseq 1928 to 1928, uidnext 1923 to 1923
22471 [2022-06-17 11:55:03.238] [background] [info] Sync loop deleting unlinked messages with phase 1.
22471 [2022-06-17 11:55:03.240] [background] [info] Sync loop complete.
22471 [2022-06-17 11:55:32.459] [metadata] [info] Metadata delta stream starting...
22471 [2022-06-17 11:55:58.409] [metadata] [info] Metadata delta stream closed.
22471 [2022-06-17 11:55:58.566] [metadata] [info] Will retry in 300 sec.
22471 [2022-06-17 11:56:52.215] [foreground] [info] Idle exited with code 0
22471 [2022-06-17 11:56:52.263] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:56:52.265] [foreground] [info] Idling on folder INBOX
22471 [2022-06-17 11:57:03.242] [background] [info] Syncing folder list...
22471 [2022-06-17 11:57:03.325] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:57:03.368] [background] [info] syncFolderChangesViaCondstore - Sent: modseq 33 to 33, uidnext 104 to 104
22471 [2022-06-17 11:57:03.408] [background] [info] syncFolderChangesViaCondstore - Drafts: modseq 236 to 236, uidnext 55 to 55
22471 [2022-06-17 11:57:03.447] [background] [info] syncFolderChangesViaCondstore - Archive: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:57:03.488] [background] [info] syncFolderChangesViaCondstore - Trash: modseq 2 to 2, uidnext 2 to 2
22471 [2022-06-17 11:57:03.526] [background] [info] syncFolderChangesViaCondstore - Junk: modseq 235 to 235, uidnext 538 to 538
22471 [2022-06-17 11:57:03.578] [background] [info] syncFolderChangesViaCondstore - Elk&APw-ld&APY-tt elemek: modseq 3 to 3, uidnext 3 to 3
22471 [2022-06-17 11:57:03.622] [background] [info] syncFolderChangesViaCondstore - INBOX.backup: modseq 399 to 399, uidnext 487 to 487
22471 [2022-06-17 11:57:03.664] [background] [info] syncFolderChangesViaCondstore - Deleted Messages: modseq 2551 to 2551, uidnext 1694 to 1694
22471 [2022-06-17 11:57:03.703] [background] [info] syncFolderChangesViaCondstore - INBOX.fail2ban: modseq 6046 to 6046, uidnext 6018 to 6018
22471 [2022-06-17 11:57:03.747] [background] [info] syncFolderChangesViaCondstore - INBOX.Nem_Spam: modseq 52 to 52, uidnext 31 to 31
22471 [2022-06-17 11:57:03.787] [background] [info] syncFolderChangesViaCondstore - Lev&AOk-lszem&AOk-t: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:57:03.828] [background] [info] syncFolderChangesViaCondstore - Sent Messages: modseq 108 to 108, uidnext 40 to 40
22471 [2022-06-17 11:57:03.866] [background] [info] syncFolderChangesViaCondstore - T&APY-r&APY-lt elemek: modseq 4 to 4, uidnext 2 to 2
22471 [2022-06-17 11:57:03.906] [background] [info] syncFolderChangesViaCondstore - Mailspring: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:57:03.946] [background] [info] syncFolderChangesViaCondstore - Mailspring.Snoozed: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:57:03.985] [background] [info] syncFolderChangesViaCondstore - INBOX.cron: modseq 1928 to 1928, uidnext 1923 to 1923
22471 [2022-06-17 11:57:03.991] [background] [info] Sync loop deleting unlinked messages with phase 2.
22471 [2022-06-17 11:57:03.992] [background] [info] Sync loop complete.
22471 [2022-06-17 11:58:52.385] [foreground] [info] Idle exited with code 0
22471 [2022-06-17 11:58:52.432] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:58:52.434] [foreground] [info] Idling on folder INBOX
22471 [2022-06-17 11:59:03.995] [background] [info] Syncing folder list...
22471 [2022-06-17 11:59:04.081] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 11:59:04.122] [background] [info] syncFolderChangesViaCondstore - Sent: modseq 33 to 33, uidnext 104 to 104
22471 [2022-06-17 11:59:04.162] [background] [info] syncFolderChangesViaCondstore - Drafts: modseq 236 to 236, uidnext 55 to 55
22471 [2022-06-17 11:59:04.201] [background] [info] syncFolderChangesViaCondstore - Archive: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:59:04.240] [background] [info] syncFolderChangesViaCondstore - Trash: modseq 2 to 2, uidnext 2 to 2
22471 [2022-06-17 11:59:04.280] [background] [info] syncFolderChangesViaCondstore - Junk: modseq 235 to 235, uidnext 538 to 538
22471 [2022-06-17 11:59:04.324] [background] [info] syncFolderChangesViaCondstore - Elk&APw-ld&APY-tt elemek: modseq 3 to 3, uidnext 3 to 3
22471 [2022-06-17 11:59:04.363] [background] [info] syncFolderChangesViaCondstore - INBOX.backup: modseq 399 to 399, uidnext 487 to 487
22471 [2022-06-17 11:59:04.402] [background] [info] syncFolderChangesViaCondstore - Deleted Messages: modseq 2551 to 2551, uidnext 1694 to 1694
22471 [2022-06-17 11:59:04.441] [background] [info] syncFolderChangesViaCondstore - INBOX.fail2ban: modseq 6046 to 6046, uidnext 6018 to 6018
22471 [2022-06-17 11:59:04.485] [background] [info] syncFolderChangesViaCondstore - INBOX.Nem_Spam: modseq 52 to 52, uidnext 31 to 31
22471 [2022-06-17 11:59:04.523] [background] [info] syncFolderChangesViaCondstore - Lev&AOk-lszem&AOk-t: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:59:04.563] [background] [info] syncFolderChangesViaCondstore - Sent Messages: modseq 108 to 108, uidnext 40 to 40
22471 [2022-06-17 11:59:04.601] [background] [info] syncFolderChangesViaCondstore - T&APY-r&APY-lt elemek: modseq 4 to 4, uidnext 2 to 2
22471 [2022-06-17 11:59:04.640] [background] [info] syncFolderChangesViaCondstore - Mailspring: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:59:04.680] [background] [info] syncFolderChangesViaCondstore - Mailspring.Snoozed: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 11:59:04.720] [background] [info] syncFolderChangesViaCondstore - INBOX.cron: modseq 1928 to 1928, uidnext 1923 to 1923
22471 [2022-06-17 11:59:04.724] [background] [info] Sync loop deleting unlinked messages with phase 1.
22471 [2022-06-17 11:59:04.725] [background] [info] Sync loop complete.
22471 [2022-06-17 12:00:52.571] [foreground] [info] Idle exited with code 0
22471 [2022-06-17 12:00:52.618] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 12:00:52.621] [foreground] [info] Idling on folder INBOX
22471 [2022-06-17 12:00:58.565] [metadata] [info] Metadata delta stream starting...
22471 [2022-06-17 12:00:59.095] [metadata] [info] Metadata delta stream closed.
22471 [2022-06-17 12:00:59.216] [metadata] [info] Will retry in 300 sec.
22471 [2022-06-17 12:01:04.727] [background] [info] Syncing folder list...
22471 [2022-06-17 12:01:04.837] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 12:01:04.910] [background] [info] syncFolderChangesViaCondstore - Sent: modseq 33 to 33, uidnext 104 to 104
22471 [2022-06-17 12:01:04.951] [background] [info] syncFolderChangesViaCondstore - Drafts: modseq 236 to 236, uidnext 55 to 55
22471 [2022-06-17 12:01:04.999] [background] [info] syncFolderChangesViaCondstore - Archive: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:01:05.118] [background] [info] syncFolderChangesViaCondstore - Trash: modseq 2 to 2, uidnext 2 to 2
22471 [2022-06-17 12:01:05.157] [background] [info] syncFolderChangesViaCondstore - Junk: modseq 235 to 235, uidnext 538 to 538
22471 [2022-06-17 12:01:05.211] [background] [info] syncFolderChangesViaCondstore - Elk&APw-ld&APY-tt elemek: modseq 3 to 3, uidnext 3 to 3
22471 [2022-06-17 12:01:05.264] [background] [info] syncFolderChangesViaCondstore - INBOX.backup: modseq 399 to 399, uidnext 487 to 487
22471 [2022-06-17 12:01:05.323] [background] [info] syncFolderChangesViaCondstore - Deleted Messages: modseq 2551 to 2551, uidnext 1694 to 1694
22471 [2022-06-17 12:01:05.365] [background] [info] syncFolderChangesViaCondstore - INBOX.fail2ban: modseq 6046 to 6046, uidnext 6018 to 6018
22471 [2022-06-17 12:01:05.409] [background] [info] syncFolderChangesViaCondstore - INBOX.Nem_Spam: modseq 52 to 52, uidnext 31 to 31
22471 [2022-06-17 12:01:05.447] [background] [info] syncFolderChangesViaCondstore - Lev&AOk-lszem&AOk-t: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:01:05.491] [background] [info] syncFolderChangesViaCondstore - Sent Messages: modseq 108 to 108, uidnext 40 to 40
22471 [2022-06-17 12:01:05.566] [background] [info] syncFolderChangesViaCondstore - T&APY-r&APY-lt elemek: modseq 4 to 4, uidnext 2 to 2
22471 [2022-06-17 12:01:05.608] [background] [info] syncFolderChangesViaCondstore - Mailspring: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:01:05.647] [background] [info] syncFolderChangesViaCondstore - Mailspring.Snoozed: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:01:05.687] [background] [info] syncFolderChangesViaCondstore - INBOX.cron: modseq 1928 to 1928, uidnext 1923 to 1923
22471 [2022-06-17 12:01:05.690] [background] [info] Sync loop deleting unlinked messages with phase 2.
22471 [2022-06-17 12:01:05.690] [background] [info] Sync loop complete.
22471 [2022-06-17 12:02:52.754] [foreground] [info] Idle exited with code 0
22471 [2022-06-17 12:02:52.806] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 12:02:52.808] [foreground] [info] Idling on folder INBOX
22471 [2022-06-17 12:03:05.692] [background] [info] Syncing folder list...
22471 [2022-06-17 12:03:05.933] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 12:03:05.976] [background] [info] syncFolderChangesViaCondstore - Sent: modseq 33 to 33, uidnext 104 to 104
22471 [2022-06-17 12:03:06.016] [background] [info] syncFolderChangesViaCondstore - Drafts: modseq 236 to 236, uidnext 55 to 55
22471 [2022-06-17 12:03:06.054] [background] [info] syncFolderChangesViaCondstore - Archive: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:03:06.097] [background] [info] syncFolderChangesViaCondstore - Trash: modseq 2 to 2, uidnext 2 to 2
22471 [2022-06-17 12:03:06.136] [background] [info] syncFolderChangesViaCondstore - Junk: modseq 235 to 235, uidnext 538 to 538
22471 [2022-06-17 12:03:06.176] [background] [info] syncFolderChangesViaCondstore - Elk&APw-ld&APY-tt elemek: modseq 3 to 3, uidnext 3 to 3
22471 [2022-06-17 12:03:06.215] [background] [info] syncFolderChangesViaCondstore - INBOX.backup: modseq 399 to 399, uidnext 487 to 487
22471 [2022-06-17 12:03:06.260] [background] [info] syncFolderChangesViaCondstore - Deleted Messages: modseq 2551 to 2551, uidnext 1694 to 1694
22471 [2022-06-17 12:03:06.300] [background] [info] syncFolderChangesViaCondstore - INBOX.fail2ban: modseq 6046 to 6046, uidnext 6018 to 6018
22471 [2022-06-17 12:03:06.344] [background] [info] syncFolderChangesViaCondstore - INBOX.Nem_Spam: modseq 52 to 52, uidnext 31 to 31
22471 [2022-06-17 12:03:06.388] [background] [info] syncFolderChangesViaCondstore - Lev&AOk-lszem&AOk-t: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:03:06.430] [background] [info] syncFolderChangesViaCondstore - Sent Messages: modseq 108 to 108, uidnext 40 to 40
22471 [2022-06-17 12:03:06.474] [background] [info] syncFolderChangesViaCondstore - T&APY-r&APY-lt elemek: modseq 4 to 4, uidnext 2 to 2
22471 [2022-06-17 12:03:06.513] [background] [info] syncFolderChangesViaCondstore - Mailspring: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:03:06.552] [background] [info] syncFolderChangesViaCondstore - Mailspring.Snoozed: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:03:06.593] [background] [info] syncFolderChangesViaCondstore - INBOX.cron: modseq 1928 to 1928, uidnext 1923 to 1923
22471 [2022-06-17 12:03:06.599] [background] [info] Sync loop deleting unlinked messages with phase 1.
22471 [2022-06-17 12:03:06.601] [background] [info] Sync loop complete.
22471 [2022-06-17 12:04:52.906] [foreground] [info] Idle exited with code 0
22471 [2022-06-17 12:04:52.965] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 12:04:53.001] [foreground] [info] Idling on folder INBOX
22471 [2022-06-17 12:05:06.602] [background] [info] Syncing folder list...
22471 [2022-06-17 12:05:06.718] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 12:05:06.772] [background] [info] syncFolderChangesViaCondstore - Sent: modseq 33 to 33, uidnext 104 to 104
22471 [2022-06-17 12:05:06.810] [background] [info] syncFolderChangesViaCondstore - Drafts: modseq 236 to 236, uidnext 55 to 55
22471 [2022-06-17 12:05:06.860] [background] [info] syncFolderChangesViaCondstore - Archive: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:05:06.913] [background] [info] syncFolderChangesViaCondstore - Trash: modseq 2 to 2, uidnext 2 to 2
22471 [2022-06-17 12:05:06.982] [background] [info] syncFolderChangesViaCondstore - Junk: modseq 235 to 235, uidnext 538 to 538
22471 [2022-06-17 12:05:07.023] [background] [info] syncFolderChangesViaCondstore - Elk&APw-ld&APY-tt elemek: modseq 3 to 3, uidnext 3 to 3
22471 [2022-06-17 12:05:07.067] [background] [info] syncFolderChangesViaCondstore - INBOX.backup: modseq 399 to 399, uidnext 487 to 487
22471 [2022-06-17 12:05:07.115] [background] [info] syncFolderChangesViaCondstore - Deleted Messages: modseq 2551 to 2551, uidnext 1694 to 1694
22471 [2022-06-17 12:05:07.185] [background] [info] syncFolderChangesViaCondstore - INBOX.fail2ban: modseq 6046 to 6046, uidnext 6018 to 6018
22471 [2022-06-17 12:05:07.231] [background] [info] syncFolderChangesViaCondstore - INBOX.Nem_Spam: modseq 52 to 52, uidnext 31 to 31
22471 [2022-06-17 12:05:07.346] [background] [info] syncFolderChangesViaCondstore - Lev&AOk-lszem&AOk-t: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:05:07.385] [background] [info] syncFolderChangesViaCondstore - Sent Messages: modseq 108 to 108, uidnext 40 to 40
22471 [2022-06-17 12:05:07.424] [background] [info] syncFolderChangesViaCondstore - T&APY-r&APY-lt elemek: modseq 4 to 4, uidnext 2 to 2
22471 [2022-06-17 12:05:07.483] [background] [info] syncFolderChangesViaCondstore - Mailspring: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:05:07.524] [background] [info] syncFolderChangesViaCondstore - Mailspring.Snoozed: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:05:07.584] [background] [info] syncFolderChangesViaCondstore - INBOX.cron: modseq 1928 to 1928, uidnext 1923 to 1923
22471 [2022-06-17 12:05:07.592] [background] [info] Sync loop deleting unlinked messages with phase 2.
22471 [2022-06-17 12:05:07.594] [background] [info] Sync loop complete.
22471 [2022-06-17 12:05:59.213] [metadata] [info] Metadata delta stream starting...
22471 [2022-06-17 12:06:30.819] [metadata] [info] Metadata delta stream closed.
22471 [2022-06-17 12:06:30.958] [metadata] [info] Will retry in 300 sec.
22471 [2022-06-17 12:06:52.122] [foreground] [info] Idle exited with code 0
22471 [2022-06-17 12:06:52.170] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 12:06:52.172] [foreground] [info] Idling on folder INBOX
22471 [2022-06-17 12:07:07.598] [background] [info] Syncing folder list...
22471 [2022-06-17 12:07:07.692] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 2119 to 2119, uidnext 2782 to 2782
22471 [2022-06-17 12:07:07.734] [background] [info] syncFolderChangesViaCondstore - Sent: modseq 33 to 33, uidnext 104 to 104
22471 [2022-06-17 12:07:07.778] [background] [info] syncFolderChangesViaCondstore - Drafts: modseq 236 to 236, uidnext 55 to 55
22471 [2022-06-17 12:07:07.818] [background] [info] syncFolderChangesViaCondstore - Archive: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:07:07.932] [background] [info] syncFolderChangesViaCondstore - Trash: modseq 2 to 2, uidnext 2 to 2
22471 [2022-06-17 12:07:07.972] [background] [info] syncFolderChangesViaCondstore - Junk: modseq 235 to 235, uidnext 538 to 538
22471 [2022-06-17 12:07:08.012] [background] [info] syncFolderChangesViaCondstore - Elk&APw-ld&APY-tt elemek: modseq 3 to 3, uidnext 3 to 3
22471 [2022-06-17 12:07:08.051] [background] [info] syncFolderChangesViaCondstore - INBOX.backup: modseq 399 to 399, uidnext 487 to 487
22471 [2022-06-17 12:07:08.100] [background] [info] syncFolderChangesViaCondstore - Deleted Messages: modseq 2551 to 2551, uidnext 1694 to 1694
22471 [2022-06-17 12:07:08.151] [background] [info] syncFolderChangesViaCondstore - INBOX.fail2ban: modseq 6046 to 6046, uidnext 6018 to 6018
22471 [2022-06-17 12:07:08.201] [background] [info] syncFolderChangesViaCondstore - INBOX.Nem_Spam: modseq 52 to 52, uidnext 31 to 31
22471 [2022-06-17 12:07:08.253] [background] [info] syncFolderChangesViaCondstore - Lev&AOk-lszem&AOk-t: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:07:08.302] [background] [info] syncFolderChangesViaCondstore - Sent Messages: modseq 108 to 108, uidnext 40 to 40
22471 [2022-06-17 12:07:08.345] [background] [info] syncFolderChangesViaCondstore - T&APY-r&APY-lt elemek: modseq 4 to 4, uidnext 2 to 2
22471 [2022-06-17 12:07:08.405] [background] [info] syncFolderChangesViaCondstore - Mailspring: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:07:08.456] [background] [info] syncFolderChangesViaCondstore - Mailspring.Snoozed: modseq 1 to 1, uidnext 1 to 1
22471 [2022-06-17 12:07:08.511] [background] [info] syncFolderChangesViaCondstore - INBOX.cron: modseq 1928 to 1928, uidnext 1923 to 1923
22471 [2022-06-17 12:07:08.515] [background] [info] Sync loop deleting unlinked messages with phase 1.
22471 [2022-06-17 12:07:08.516] [background] [info] Sync loop complete.

I also have access to the server on which the account tries to sync, and this is what the server says (I removed the IP addresses and the real email address)

Jun 17 12:10:08 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (UID FETCH finished 0.874 secs ago) in=3359 out=2693300
Jun 17 12:10:08 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (IDLE running for 0.001 + waiting input for 6.655 secs, 2 B in + 10 B out, state=wait-input) in=250 out=1956
Jun 17 12:10:12 emailserver dovecot: imap-login: Login: user=<emailaccount@domain.com>, method=PLAIN, rip=<<IP_REMOVED>>, lip=<<IP_REMOVED>>, mpid=31370, TLS,auth_user=emailaccount@domain.com
Jun 17 12:10:13 emailserver dovecot: imap-login: Login: user=<emailaccount@domain.com>, method=PLAIN, rip=<<IP_REMOVED>>, lip=<<IP_REMOVED>>, mpid=31410, TLS,auth_user=emailaccount@domain.com
Jun 17 12:10:16 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (IDLE running for 0.001 + waiting input for 3.170 secs, 2 B in + 10 B out, state=wait-input) in=130 out=1306
Jun 17 12:10:16 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (UID FETCH finished 0.881 secs ago) in=3189 out=2572929
Jun 17 12:10:21 emailserver dovecot: imap-login: Login: user=<emailaccount@domain.com>, method=PLAIN, rip=<<IP_REMOVED>>, lip=<<IP_REMOVED>>, mpid=31874, TLS,auth_user=emailaccount@domain.com
Jun 17 12:10:22 emailserver dovecot: imap-login: Login: user=<emailaccount@domain.com>, method=PLAIN, rip=<<IP_REMOVED>>, lip=<<IP_REMOVED>>, mpid=31876, TLS,auth_user=emailaccount@domain.com
Jun 17 12:10:25 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (IDLE running for 0.001 + waiting input for 3.442 secs, 2 B in + 10 B out, state=wait-input) in=130 out=1314
Jun 17 12:10:25 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (UID FETCH finished 0.865 secs ago) in=3189 out=2572993
Jun 17 12:10:30 emailserver dovecot: imap-login: Login: user=<emailaccount@domain.com>, method=PLAIN, rip=<<IP_REMOVED>>, lip=<<IP_REMOVED>>, mpid=32422, TLS,auth_user=emailaccount@domain.com
Jun 17 12:10:31 emailserver dovecot: imap-login: Login: user=<emailaccount@domain.com>, method=PLAIN, rip=<<IP_REMOVED>>, lip=<<IP_REMOVED>>, mpid=32428, TLS,auth_user=emailaccount@domain.com
Jun 17 12:10:34 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (UID FETCH finished 0.772 secs ago) in=3189 out=2572961
Jun 17 12:10:34 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (IDLE running for 0.001 + waiting input for 3.346 secs, 2 B in + 10 B out, state=wait-input) in=130 out=1314
Jun 17 12:10:39 emailserver dovecot: imap-login: Login: user=<emailaccount@domain.com>, method=PLAIN, rip=<<IP_REMOVED>>, lip=<<IP_REMOVED>>, mpid=32445, TLS,auth_user=emailaccount@domain.com
Jun 17 12:10:40 emailserver dovecot: imap-login: Login: user=<emailaccount@domain.com>, method=PLAIN, rip=<<IP_REMOVED>>, lip=<<IP_REMOVED>>, mpid=32447, TLS,auth_user=emailaccount@domain.com
Jun 17 12:10:43 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (IDLE running for 0.001 + waiting input for 3.279 secs, 2 B in + 10 B out, state=wait-input) in=130 out=1306
Jun 17 12:10:43 emailserver dovecot: imap(emailaccount@domain.com): Connection closed (UID FETCH finished 0.812 secs ago) in=3189 out=2572945

I’ve got the same issue. Scanning is stuck at 3% on my outlook.com account. The other accounts (gmail, yahoo…) work fine. Recreated cache multiple times, deleted appdata, disabled virus scanning.
On first glance mailspring seems to be much faster than thunderbird in every aspect! Thank you for the great work so far.

Windows 11
Mailspring 1.10.3-a476c230

Thank you!

Same issue here on Ubuntu 22.04 with both my IMAP and Gmail account. The IMAP inbox has 148000 emails and Gmail has 77000.

@CodeMouse92: would you happen to know if there is any development happening to squash this bug? I’d love an update from the developers about when it might be fixed.

I am having the same problem with icloud.com.

It’s been more than 24 hours, I tried to reset the cache to restart the process but all the time it got stuck at 69% for certain folder (INBOX).

Is there any update or an easy fix that I can use?

I’m using the latest macOS version (Apple silicon) and although all my Google accounts are syncing, I do notice sometimes several minutes delays in synchronising emails when they are, for example, marked as read or archived from other apps (or even directly from Gmail in the browser). The other two benchmark apps that I use are Superhuman and Mimestream, and those apps synchronize changes almost right away whenever done from other clients. Restarting Mailspring seems to solve the issue momentarily but after awhile the sync issue reappears.

Any update from the devs on this issue? I stumbled across Mailspring in my search for a better email client on Windows but this is a showstopper for me. The affected account is an iCloud account.

10944 [2023-02-08 11:39:19.939] [background] [info] syncFolderUIDRange for INBOX, UIDs: 8801 - 13801, Heavy: false
10944 [2023-02-08 11:39:20.731] [background] [info] - INBOX: remote=1916, local=0, remoteUID=[redacted]
10944 [2023-02-08 11:39:20.732] [background] [info] - Fetching full headers for 1024 (of 1916 needed)
10944 [2023-02-08 11:39:24.169] [background] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"syncFolderUIDRange - fetchMessagesByUID (heavy)","key":"ErrorParse","retryable":true,"what":"Unknown exception"}
***

10944 [2023-02-08 11:39:24.169] [background] [critical] *** Stack trace (line numbers are approximate):
*** 799  SyncWorker::syncFolderUIDRange()
*** 358  SyncWorker::syncNow()
*** 202  runBackgroundSyncWorker()
*** 692  ::operator()
*** 210  _Pad::_Call_func()
***

Quick update: I have started an investigation and the issue seems to originate in libetpan, which is a low-level mail library used by MailCore2 (which in turn is used by Mailspring).

I opened an issue here and will continue to investigate. Any assistance would be appreciated. I’ll keep you all posted on my progress.

1 Like

Another update: I have a PR ready that solves the issue for me. It now syncs to 100% very quickly. I just need the cooperation of libetpan's owner.

Edit: I have also created an issue on Apple’s developer site since it’s an iCloud issue and eventually, Apple should fix it on their side:

iCloud IMAP server bug

1 Like

Nice sleuthing! I’ve just started using MailSpring, and have hit this issue with my own iCloud account. I’m definitely interested in seeing this fixed, and having followed all the threads related to this, it sure sounds like you’ve figured out the solution. :slightly_smiling_face:

As far as I know, you don’t have to be pre-added as a contributor in order to submit a pull request. (My understanding has always been that you’re added as a contributor once a PR is accepted.) I don’t see a fork of libetpan in your repositories list, nor any open or closed PRs. Is the fork private, by chance, or maybe has it been deleted? Either way, if you have a fork with your changes in it, you should be able to just submit it as a PR.

As for getting the attention of the maintainer, Hoà Dinh’s email address is listed on the etpan.org website. It doesn’t look like he’s active on GitHub anymore, so perhaps emailing him directly is in order.

For the iCloud server bug itself, did you submit a bug report via Apple’s Feedback Assistant website? All I see is that Developer Forum thread, which is mostly for discussing things with other developers, not with Apple themselves. But I don’t think non-Apple-employees are able to view submitted bug reports, so if you have already done so I wouldn’t be able to see it anyway.

Either way, I’m excited to see the fix for this get rolled out! :slightly_smiling_face:

I don’t think this is (just) an iCloud issue. I’m having the same problem when synchronizing with a Groupwise server (I’m embarrassed to admit my university even uses this software, but that’s a problem for another day).

Clicking on the “Checking for mail” button showed that the problem was occurring only for those folders that Mailspring itself created in my Groupwise account. Only next to those folders did the label “Scanning…” appear.

I was able to get rid of some of these problem folders (e.g. Drafts) by mapping them to some other folder that already existed on my Groupwise server and then deleting the Mailspring version. Some others I was able simply to delete outright.

But this strategy doesn’t work for the Mailspring folder and its Snoozed subfolder, since the Mailspring client instantly and automatically re-creates them the moment it logs into my Groupwise server to check for new mail.

As long as the client software recreates those folders I will never be able to get rid of the “Scanning” and “Checking for mail…” messages. But maybe the info that it is only folders created by Mailspring itself that are generating the problem (at least with Groupwise) will allow someone smarter than me to track down the source of the bug.

I’m having continuous sync issues with imap. I’ve been paying for this app pro for 5 years, and I still have the same issues I’ve had for years.

I’m cancelling my subscription,… the fact that these sync issuse remain and the dreaded “database is locked” in the logs remains, it’s unusable for me.

I am still having this issue along with a new bug of crashing.

I was wondering how I can help/test the codebase. I am a programmer as well so I wonder if I can figure out a fix.