"Cannot authenticate with ..." due to id.getmailspring.com 401

Description

Today I started getting a “Cannot authenticate with …” error:
image

However, it looks like the Mailspring server is the one returning an auth error, not my mail server. I’m not sure how to fix it as I don’t see a “re-authenticate with Mailspring ID” button anywhere in the UI.

28100 [2021-05-12 11:24:42.755] [main] [info] ------------- Starting Sync (d@d.sb) ---------------
28100 [2021-05-12 11:24:42.760] [background] [info] Marking all folders as `busy`
28100 [2021-05-12 11:24:42.760] [metadata] [info] Metadata delta stream starting...
28100 [2021-05-12 11:24:42.766] [background] [info] Syncing folder list...
28100 [2021-05-12 11:24:43.130] [metadata] [info] Metadata delta stream closed.
28100 [2021-05-12 11:24:43.431] [metadata] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"https://id.getmailspring.com/deltas/fbe53803/streaming?p=win32&ih=&cursor=87652173 RETURNED ","key":"Invalid Response Code: 401","retryable":false,"what":"Unknown exception"}
***


To Reproduce…

Steps to reproduce the behavior:

Not really sure what caused it.

  1. Add an account to Mailspring
  2. ???
  3. Get this error

Expected Behavior

It syncs

Screenshots

As above

Setup

  • OS and Version: Windows 10
    • Installation Method: Installer
  • Mailspring Version: 1.9.1
  1. Unauthorized. Hmm, that’s odd. I’ll loop @bengotow in on this.

Hey @Daniel! That’s super interesting - any chance you deleted your Mailspring ID? If you go to the Preferences > Subscription tab in Mailspring and sign out / sign back in to your Mailspring ID, that should fix it.

1 Like

Nope. The subscription tab still showed me as logged in, too

I logged out and back in, and that seems to have fixed it. Thanks for the pointer - I wouldn’t have thought to look there, since I don’t have a paid subscription yet.

I spoke too soon… I just got the error again today.

21984 [2021-05-14 10:22:46.814] [main] [info] Identity created at 1614599515 - using ID Schema 1
21984 [2021-05-14 10:22:46.816] [main] [info] ------------- Starting Sync (d@d.sb) ---------------
21984 [2021-05-14 10:22:46.819] [background] [info] Marking all folders as `busy`
21984 [2021-05-14 10:22:46.819] [metadata] [info] Metadata delta stream starting...
21984 [2021-05-14 10:22:46.826] [background] [info] Syncing folder list...
21984 [2021-05-14 10:22:47.209] [metadata] [info] Metadata delta stream closed.
21984 [2021-05-14 10:22:47.518] [metadata] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"https://id.getmailspring.com/deltas/fbe53803/streaming?p=win32&ih=&cursor=87747856 RETURNED ","key":"Invalid Response Code: 401","retryable":false,"what":"Unknown exception"}
***

15096 [2021-05-14 10:22:48.616] [main] [info] Identity created at 1614599515 - using ID Schema 1
15096 [2021-05-14 10:22:48.618] [main] [info] ------------- Starting Sync (d@d.sb) ---------------
15096 [2021-05-14 10:22:48.623] [metadata] [info] Metadata delta stream starting...
15096 [2021-05-14 10:22:48.623] [background] [info] Marking all folders as `busy`
15096 [2021-05-14 10:22:48.632] [background] [info] Syncing folder list...
15096 [2021-05-14 10:22:49.003] [metadata] [info] Metadata delta stream closed.
15096 [2021-05-14 10:22:49.368] [metadata] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"https://id.getmailspring.com/deltas/fbe53803/streaming?p=win32&ih=&cursor=87747856 RETURNED ","key":"Invalid Response Code: 401","retryable":false,"what":"Unknown exception"}
***

12364 [2021-05-14 10:22:50.501] [main] [info] Identity created at 1614599515 - using ID Schema 1
12364 [2021-05-14 10:22:50.503] [main] [info] ------------- Starting Sync (d@d.sb) ---------------
12364 [2021-05-14 10:22:50.509] [metadata] [info] Metadata delta stream starting...
12364 [2021-05-14 10:22:50.509] [background] [info] Marking all folders as `busy`
12364 [2021-05-14 10:22:50.515] [background] [info] Syncing folder list...
12364 [2021-05-14 10:22:50.889] [metadata] [info] Metadata delta stream closed.
12364 [2021-05-14 10:22:51.246] [metadata] [critical] 
***
*** Mailspring Sync 
*** An exception occurred during program execution: 
*** {"debuginfo":"https://id.getmailspring.com/deltas/fbe53803/streaming?p=win32&ih=&cursor=87747856 RETURNED ","key":"Invalid Response Code: 401","retryable":false,"what":"Unknown exception"}
***