Description
Mailspring can’t connect with my registered Gmail account. In the accounts tab, the error reads: “Mailspring can no longer authenticate with xanthopoulos.vassilis@gmail.com. The password or authentication may have changed”.
When this error first occurred I tried changing my google password but it didn’t fix things. When I reconnect the account it works fine, but it loses connection as soon as I restart the computer. If I just restart the app the account stays connected though.
Setup
- OS and Version: Windows 10 Home, version 21H1 (dual boot with Ubuntu 20.04)
- Installation Method: installer
- Mailspring Version: 1.9.1-30ef802f
Error Details
Mailspring Version: 1.9.1-30ef802f
Platform: win32
Account State: invalid
Account Provider: gmail
IMAP Server: imap.gmail.com
SMTP Server: smtp.gmail.com
4348 [2021-07-16 13:11:54.818] [metadata] [info] Metadata delta stream starting…
4348 [2021-07-16 13:11:56.831] [background] [info] Fetching XOAuth2 access token (gmail) for 4528b24d
4348 [2021-07-16 13:11:57.172] [background] [critical]
*** Mailspring Sync
*** An exception occurred during program execution:
*** {“debuginfo”:“https://www.googleapis.com/oauth2/v4/token RETURNED {\n “error”: “invalid_grant”,\n “error_description”: “Bad Request”\n}”,“key”:“Invalid Response Code: 400”,“retryable”:false,“what”:“Unknown exception”}
1836 [2021-07-16 13:11:57.911] [main] [info] Identity created at 1587975070 - using ID Schema 1
1836 [2021-07-16 13:11:57.912] [main] [info] ------------- Starting Sync (xanthopoulos.vassilis@gmail.com) ---------------
1836 [2021-07-16 13:11:57.916] [metadata] [info] Metadata delta stream starting…
1836 [2021-07-16 13:11:59.929] [background] [info] Fetching XOAuth2 access token (gmail) for 4528b24d
1836 [2021-07-16 13:12:00.272] [background] [critical]
*** Mailspring Sync
*** An exception occurred during program execution:
*** {“debuginfo”:“https://www.googleapis.com/oauth2/v4/token RETURNED {\n “error”: “invalid_grant”,\n “error_description”: “Bad Request”\n}”,“key”:“Invalid Response Code: 400”,“retryable”:false,“what”:“Unknown exception”}
2076 [2021-07-16 13:12:01.058] [main] [info] Identity created at 1587975070 - using ID Schema 1
2076 [2021-07-16 13:12:01.059] [main] [info] ------------- Starting Sync (xanthopoulos.vassilis@gmail.com) ---------------
2076 [2021-07-16 13:12:01.063] [metadata] [info] Metadata delta stream starting…
2076 [2021-07-16 13:12:03.077] [background] [info] Fetching XOAuth2 access token (gmail) for 4528b24d
2076 [2021-07-16 13:12:03.697] [background] [critical]
*** Mailspring Sync
*** An exception occurred during program execution:
*** {“debuginfo”:“https://www.googleapis.com/oauth2/v4/token RETURNED {\n “error”: “invalid_grant”,\n “error_description”: “Bad Request”\n}”,“key”:“Invalid Response Code: 400”,“retryable”:false,“what”:“Unknown exception”}
9780 [2021-07-16 13:12:04.502] [main] [info] Identity created at 1587975070 - using ID Schema 1
9780 [2021-07-16 13:12:04.503] [main] [info] ------------- Starting Sync (xanthopoulos.vassilis@gmail.com) ---------------
9780 [2021-07-16 13:12:04.510] [metadata] [info] Metadata delta stream starting…
9780 [2021-07-16 13:12:06.507] [background] [info] Fetching XOAuth2 access token (gmail) for 4528b24d
9780 [2021-07-16 13:12:06.856] [background] [critical]
*** Mailspring Sync
*** An exception occurred during program execution:
*** {“debuginfo”:“https://www.googleapis.com/oauth2/v4/token RETURNED {\n “error”: “invalid_grant”,\n “error_description”: “Bad Request”\n}”,“key”:“Invalid Response Code: 400”,“retryable”:false,“what”:“Unknown exception”}