Problem
Error while syncing my Microsoft accounts (msn.com, outlook.com)
Context
After keep getting errors for over 5 days, and Clear/Rebuild cache didn’t help, I decided to remove both accounts and add them again.
Although they are added initially and I am getting the smtp/test emails, if I try to open them, or delete them, I am getting below message:
“In order to perform actions on this mailbox, you need to resolve the sync issue. Visit Preferences > Accounts for more information”
Email Provider
Outlook/MSN
Setup
- OS and Version: Manjaro KDE Plasma X11. Kernel 6.6.10, KDE 5.27.10
- Installation Method: Via AUR app store
- Mailspring Version: 1.13.3
Error log:
"accounts": [
{
"id": "02f5cb08",
"metadata": [],
"name": "....,
"provider": "outlook",
"emailAddress": "xxxxxx@msn.com",
"settings": {
"imap_host": "imap-mail.outlook.com",
"imap_port": 993,
"imap_username": "xxxxxx@msn.com",
"imap_security": "SSL / TLS",
"imap_allow_insecure_ssl": false,
"smtp_host": "smtp-mail.outlook.com",
"smtp_port": 587,
"smtp_username": "xxxxxxx@msn.com",
"smtp_security": "STARTTLS",
"smtp_allow_insecure_ssl": false,
"container_folder": ""
},
"label": "msn.com",
"autoaddress": {
"type": "bcc",
"value": ""
},
"aliases": [],
"syncState": "ok",
"syncError": {
"code": 134,
"error": {
"stack": "Error: null33941 [2024-01-29 10:50:17.095] [background] [critical] \n***\n*** Mailspring Sync \n*** An exception occurred during program execution: \n*** {\"debuginfo\":\"syncFoldersAndLabels - fetchAllFolders\",\"key\":\"ErrorAuthentication\",\"retryable\":false,\"what\":\"std::exception\"}\n***\n\n33941 [2024-01-29 10:50:17.095] [background] [critical] *** Stack trace (line numbers are approximate):\n*** ??:? SyncWorker::syncFoldersAndLabels()\n*** ??:? runBackgroundSyncWorker()\n*** main.cpp:? main::{lambda()#3}::operator()() const\n*** main.cpp:? _Bind_simple::operator()()\n*** main.cpp:? thread::_Impl::_M_run()\n*** thread.o:? execute_native_thread_routine()\n***\n\n/usr/share/mailspring/resources/app.asar.unpacked/mailsync: line 5: 33941 Aborted (core dumped) SASL_PATH=\"$SCRIPTPATH\" LD_LIBRARY_PATH=\"$SCRIPTPATH;$LD_LIBRARY_PATH\" \"$SCRIPTPATH/mailsync.bin\" \"$@\"\n\n at ChildProcess.onStreamCloseOrExit (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64-6Ns7Ou/resources/app/src/mailsync-process.ts:320:17)\n at ChildProcess.emit (node:events:513:28)\n at ChildProcess.emit (node:domain:489:12)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)",
"message": "null33941 [2024-01-29 10:50:17.095] [background] [critical] \n***\n*** Mailspring Sync \n*** An exception occurred during program execution: \n*** {\"debuginfo\":\"syncFoldersAndLabels - fetchAllFolders\",\"key\":\"ErrorAuthentication\",\"retryable\":false,\"what\":\"std::exception\"}\n***\n\n33941 [2024-01-29 10:50:17.095] [background] [critical] *** Stack trace (line numbers are approximate):\n*** ??:? SyncWorker::syncFoldersAndLabels()\n*** ??:? runBackgroundSyncWorker()\n*** main.cpp:? main::{lambda()#3}::operator()() const\n*** main.cpp:? _Bind_simple::operator()()\n*** main.cpp:? thread::_Impl::_M_run()\n*** thread.o:? execute_native_thread_routine()\n***\n\n/usr/share/mailspring/resources/app.asar.unpacked/mailsync: line 5: 33941 Aborted (core dumped) SASL_PATH=\"$SCRIPTPATH\" LD_LIBRARY_PATH=\"$SCRIPTPATH;$LD_LIBRARY_PATH\" \"$SCRIPTPATH/mailsync.bin\" \"$@\"\n"
},
"signal": null
},
"authedAt": 1706525436.012,
"color": "#0000ff",
"__cls": "Account"
}