Problem
There is an email that I have attached to Mailspring that likes to disconnect at some point. I don’t know when, I just know that when I add the email to the app, it works just fine. After some time passes, something happens, and I have to re-enter my password into the configurator. After that, it works again. Clicking “reconnect” opens the configurator with the password fields blank.
I have 4 emails attached to the app. This is the only one that has problems, and whats interesting is, I originally had a different email (same domain and provider) that worked perfectly for the entire time I had it attached. I removed that one, and added a different one (the current email that is having problems) and this one forgets itself.
Context
For me, it is reproducible just by removing the email from the app, and re-adding it. The email will work for about a day, or until something happens that makes the app forget the email credentials, or whatever is happening.
Email Provider
Setup
- OS and Version: Windows 10 Pro Version 10.0.19043 Build 19043
- Installation Method: installer
- Mailspring Version: 1.9.1-30ef802f
This is the log error that occurs.
Mailspring Version: 1.9.1-30ef802f
Platform: win32
Account State: sync_error
Account Provider: imap
IMAP Server: mail.privateemail.com
SMTP Server: mail.privateemail.com
--------------------------------------------
*** 485 SyncWorker::syncFoldersAndLabels()
*** 250 SyncWorker::syncNow()
*** 202 runBackgroundSyncWorker()
*** 691 ::operator()
*** 210 _Pad::_Call_func()
***
12576 [2021-08-14 01:14:27.804] [background] [info] --sleeping
12576 [2021-08-14 01:16:09.169] [foreground] [critical]
***
*** Mailspring Sync
*** An exception occurred during program execution:
*** {"debuginfo":"loginIfNeeded","key":"ErrorConnection","retryable":true,"what":"Unknown exception"}
***
12576 [2021-08-14 01:16:09.169] [foreground] [critical] *** Stack trace (line numbers are approximate):
*** 114 SyncWorker::idleCycleIteration()
*** 143 runForegroundSyncWorker()
*** 190 ::operator()
*** 210 _Pad::_Call_func()
***
12576 [2021-08-14 01:16:09.170] [foreground] [info] --sleeping
12576 [2021-08-14 01:16:27.811] [background] [info] Syncing folder list...
12576 [2021-08-14 01:16:57.996] [background] [critical]
***
*** Mailspring Sync
*** An exception occurred during program execution:
*** {"debuginfo":"syncFoldersAndLabels - fetchAllFolders","key":"ErrorConnection","retryable":true,"what":"Unknown exception"}
***
12576 [2021-08-14 01:16:57.996] [background] [critical] *** Stack trace (line numbers are approximate):
*** 485 SyncWorker::syncFoldersAndLabels()
*** 250 SyncWorker::syncNow()
*** 202 runBackgroundSyncWorker()
*** 691 ::operator()
*** 210 _Pad::_Call_func()
***
12576 [2021-08-14 01:16:57.996] [background] [info] --sleeping
12576 [2021-08-14 01:18:39.364] [foreground] [critical]
***
*** Mailspring Sync
*** An exception occurred during program execution:
*** {"debuginfo":"loginIfNeeded","key":"ErrorConnection","retryable":true,"what":"Unknown exception"}
***
12576 [2021-08-14 01:18:39.364] [foreground] [critical] *** Stack trace (line numbers are approximate):
*** 114 SyncWorker::idleCycleIteration()
*** 143 runForegroundSyncWorker()
*** 190 ::operator()
*** 210 _Pad::_Call_func()
***
12576 [2021-08-14 01:18:39.364] [foreground] [info] --sleeping
12576 [2021-08-14 01:18:58.008] [background] [info] Syncing folder list...
12576 [2021-08-14 01:19:33.039] [background] [info] syncFolderChangesViaCondstore - INBOX: modseq 17 to 17, uidnext 8 to 8
12576 [2021-08-14 01:20:03.048] [background] [warning] SyncNow: unable to get folder status for Sent (ErrorConnection), skipping...
12576 [2021-08-14 01:20:33.054] [background] [warning] SyncNow: unable to get folder status for Drafts (ErrorConnection), skipping...
12576 [2021-08-14 01:20:42.613] [foreground] [critical]
***
*** Mailspring Sync
*** An exception occurred during program execution:
*** {"debuginfo":"loginIfNeeded","key":"ErrorAuthentication","retryable":false,"what":"Unknown exception"}
***
12576 [2021-08-14 01:20:42.613] [foreground] [critical] *** Stack trace (line numbers are approximate):
*** 114 SyncWorker::idleCycleIteration()
*** 143 runForegroundSyncWorker()
*** 190 ::operator()
*** 210 _Pad::_Call_func()
***