Mailspring icon indicating copy to clipboard operation
Mailspring copied to clipboard

Synchronization errors after update to v1.7.1

Open DavidZenz opened this issue 7 years ago • 27 comments

After update to 1.7.1 on Win10 I get synchronization errors, find attached my log.

mailsync-2d004ff5.log

DavidZenz avatar Oct 15 '19 09:10 DavidZenz

I have similar problem on CentOS 7 x86_64. I have sync problems with custom IMAP server.

tukusejssirs avatar Oct 15 '19 11:10 tukusejssirs

The same thing happens to me, I use the client for Windows 10. I've tried everything to try to fix it but nothing. From clearing cache, clearing accounts, uninstalling the program, clearing AppData content and nothing.

I even tried to install the previous version of the program and the program itself is updated, ruining everything.

I've been there all morning but nothing. Needless to say, the update to 1.7.1 does not fix it.

Regards.

jcchaux avatar Oct 15 '19 12:10 jcchaux

Same problem

233mhz avatar Oct 15 '19 14:10 233mhz

Same problem on Ubuntu 18.04. I hope there will be the possibility to disable that annoying button for autotraslation of incoming emails.

marcomaskez avatar Oct 15 '19 15:10 marcomaskez

@marcomaskez, although you might want to disable the autotranslation altogether (i.e. globally), currently you can disable it per language from the autotranslation options (Never translate [lang]):

tukusejssirs avatar Oct 15 '19 16:10 tukusejssirs

I have the same problem.

WebCraftersStudio avatar Oct 15 '19 20:10 WebCraftersStudio

Seams related to the new contacts sync. I'm seeing a critical error in the sync log. Is there a way to turn the new contact sync off as currently email sync is not working for me due to the sync error being 'critical'.

5115 [2019-10-15 08:22:24.841] [calContacts] [critical] 
 ***
 *** An exception occurred during program execution: 
 *** (unknown exception details)
 ***

5115 [2019-10-15 08:22:24.918] [calContacts] [critical]  *** Stack trace (line numbers are approximate):
 *** (unknown)  clone
 ***

angusscown avatar Oct 15 '19 21:10 angusscown

Since the update I cannot sync my Office365 account :-( Sync errors and have tried Re-authentification, Clearing cache, Removing and adding back the O365 account....

athelas64 avatar Oct 15 '19 23:10 athelas64

I back up this issue.

Exaclty the same problem here.

Same log and happen after last update.

mailcow self-hosted webmail here that I could not synchronize anymore with the same log output

shyne99 avatar Oct 16 '19 09:10 shyne99

@Foundry376, @bengotow, are you aware of this issue? We’d like to hear something from the devs. ;)

tukusejssirs avatar Oct 16 '19 10:10 tukusejssirs

Same problem here.. MacOS Mojave 10.14.6. Worked perfectly up till update 1.7.0 when synchronisations issues started with my Outlook (IMAP)-account. 1.7.1 did nothing to resolve it. Log says:

32512 [2019-10-16 16:07:45.397] [] [critical] 
 ***
 *** An exception occurred during program execution: 
 *** (unknown exception details)
 ***

32512 [2019-10-16 16:07:45.545] [] [critical]  *** Stack trace (line numbers are approximate):
 *** in mailsync     DavXML::DavXML(__1::string, __1::string)
 *** in mailsync     DAVWorker::performXMLRequest(__1::string, __1::string, __1::string)
 *** in mailsync     DAVWorker::resolveAddressBook()
 *** in mailsync     DAVWorker::runContacts()
 *** in mailsync     DAVWorker::run()
 *** in mailsync     runCalContactsSyncWorker()
 *** in mailsync     main::$_7::operator()() const
 *** in mailsync     void* __1::__thread_proxy(void*)
 *** 0x7fff587e72eb  _pthread_body
 *** 0x7fff587ea249  _pthread_start
 *** 0x7fff587e640d  thread_start
 ***

mimavox avatar Oct 16 '19 14:10 mimavox

@marcomaskez, although you might want to disable the autotranslation altogether (i.e. globally), currently you can disable it per language from the autotranslation options (Never translate [lang]):

That should be perfect, except that when i click on "Never translate " Mailspring hangs and i must kill the process. But that's another story, maybe related to Ubuntu 18.04, now i'm interested in getting my imap accounts working again, don't want to switch again to Geary.

marcomaskez avatar Oct 16 '19 14:10 marcomaskez

@marcomaskez, not in my case. On CentOS 7, when I click on this option for English, it asked me to confirm it and after confirmation it removed that (let’s say) translation banner from every email in English. And it did it on the fly, that is Mailspring did it without need to restart it.

tukusejssirs avatar Oct 16 '19 14:10 tukusejssirs

Hey folks—thanks for filing this. It looks like there are two things happening here. In the latest version of Mailspring we're attempting to auto-discover CardDav and CalDav services for your email accounts (for contact and calendar sync). It looks like those lookups are failing, which by itself is ok. However, it looks like the mailsync process is crashing trying to generate a stack trace for some reason, which is taking down mail sync in addition to stopping contact sync.

Thankfully, we run part of CardDAV discovery from our servers to avoid pinning to a version of glibc on Linux (it's a long story...) but we can most likely stop these crashes with an update to our web service that stops contact discovery earlier in the process.

I'll take a look and get this fixed ASAP. Also @marcomaskez thanks for calling out that "Never translate" issue - I don't think we saw that in testing so I'll try to reproduce that as well.

Sorry for the hassle folks—if it's any consolation, this release brought most of the code for calendar sync as well, so when we launch the full calendar feature later this year it should go smoothly.

bengotow avatar Oct 16 '19 15:10 bengotow

The "never traslate" problem, i think, is restricted to my enviromnent or to Ubuntu 18.04. I've discovered a pair of minutes ago that when Mailspring got stuck after i've pressed the button, it's only the mouse click that stopped working (across the entire system, not only in Mailspring and only the click). The keyboard was still responding, so i've pressed ENTER with button focused and i've been able to deactivate translation.

marcomaskez avatar Oct 16 '19 15:10 marcomaskez

I had a similar issue causing Mailspring to freeze my entire UI on Ubuntu 19.04 - i wasn't able to reproduce it yet. But probably @marcomaskez will open a dedicated issue? I'd follow up.

florianb avatar Oct 16 '19 15:10 florianb

@bengotow, I believe the issue is also on macOS as @mimavox has reported an issue on macOS Mojave 10.14.6, so I think you should add macos label, too. :)

tukusejssirs avatar Oct 16 '19 15:10 tukusejssirs

Sounds good that you've located the core of the problem! Personally, I'm not at all interested in any calendar sync so to turn it off it sounds fine by me. I just want an email client that handles my email well and nothing more.

mimavox avatar Oct 16 '19 15:10 mimavox

Hey folks—here's a quick update:

  1. I've deployed a server change that will make Mailspring a bit less "adventurous" in trying to find your CardDav / CalDav servers if you do not have SRV records and your domain does not respond to the .well-known URL scheme. This should limit the crashes in the current version 1.7.1 since Mailspring won't go hitting random URLs trying to find your servers and throwing up it's hands when those requests fail in terrible ways.

  2. I've committed a change to make these sort of "critical errors" in contacts / calendar sync not terminate mailsync and raise the "Issue with one or more of your accounts" warning in Mailspring. Calendar and contact sync will just fail quietly and retry later. I think we'll revisit this later this year when Calendar launches but in a more nuanced way.

bengotow avatar Oct 16 '19 16:10 bengotow

Wow, seriously impressed. It is working now! Thank you for pulling out such fast resolution!❤

athelas64 avatar Oct 16 '19 18:10 athelas64