sync-engine
sync-engine copied to clipboard
Failing UID shouldn't stop account sync
A specific UID on a specific Gmail account is consistently causing a System Error when fetching RFC822 or BODY.PEEK[](which I just reported to Google). However, since this error string is not handled in crispin.py's def uids (we don't continue but raise), the account stops syncing. I realize that this is a Google problem, but Nylas should have some mechanism to mark those UIDs as failed and maybe retry them later.
2016-03-30 11:24:59 > PBNG8 UID FETCH 22448 (RFC822)
2016-03-30 11:24:59 < PBNG8 NO System Error (Failure)
@thomasst do you have a fix for this you can PR?
I don't, but I think it's still an issue.
Did you work around it or just not sync that account?
For now the account is broken :( I actually followed up earlier today with someone from the Google IMAP team but no response yet. You guys should push out a fix :)
We don't have any accounts experiencing this, so we can't test it.