sync-engine icon indicating copy to clipboard operation
sync-engine copied to clipboard

Failing UID shouldn't stop account sync

Open thomasst opened this issue 9 years ago • 5 comments

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 avatar Mar 30 '16 11:03 thomasst

@thomasst do you have a fix for this you can PR?

grinich avatar May 19 '16 00:05 grinich

I don't, but I think it's still an issue.

thomasst avatar May 19 '16 00:05 thomasst

Did you work around it or just not sync that account?

grinich avatar May 19 '16 01:05 grinich

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 :)

thomasst avatar May 19 '16 01:05 thomasst

We don't have any accounts experiencing this, so we can't test it.

grinich avatar May 19 '16 01:05 grinich