jobisoft / TbSync

[Thunderbird Add-On] Central user interface to manage cloud accounts and to synchronize their contact, task and calendar information with Thunderbird
https://github.com/jobisoft/TbSync/wiki/About:-TbSync
Mozilla Public License 2.0
810 stars 54 forks source link

Thunderbird freezes during sync of O365 Calendars #695

Open gerardcanal opened 1 year ago

gerardcanal commented 1 year ago

Your environment

TbSync version: 4.7 EAS-4-TBSync Version: 4.7 Thunderbird version: 115.3.1 OS: Ubuntu 20.04

Expected behavior

Thunderbird should not freeze during calendar sync.

Actual behavior

Thunderbird keeps freezing when TbSync is syncing. This has happened since Thunerdbird 9x. I experience the same issue in another computer with same OS and accounts. I tried reinstalling TbSync and removing the account with no luck.

I only have an O365 account synced, so unsure if this is on TBSync or on the EAS plugin.

Steps to reproduce

Wait for the sync timeout to happen so that the calendar syncs, or perform a manual sync from the interface. It does not seem to always happen (sometimes manual sync is immediate).

When it happens, I see that one of the calendars says it's "Synchronizing (0/1)". The status is "Waiting for changes", with a countdown. It freezes during this time, also when "Waiting for acknowledgement of local changes".

Debug log sent over email.

Micke3rd commented 1 year ago

Your environment

TbSync version: 4.7 EAS-4-TBSync Version: 4.7 Thunderbird version: 115.3.1 OS: Ubuntu 20.04

last tbsync version is 4.3 last supported TB version is 102

your environment is not part of this

gerardcanal commented 1 year ago

Hi @Micke3rd, Where can I find that those are the latest supported versions?

As far as I can see on the Thunderbird addons page and in the manifest, the latest available version is 4.7, which states it supports until TB 115.*. Therefore, I understand that my environment should work. Even so, this has been happening for a while though (surely before 102 was released), but it seems to be worse lately.

I am unsure if the issue belongs here or in EAS-4-TBsync (as I don't know if the freeze comes from the UI or the sync plugin), this could be moved there if more suitable. The issue may be related to https://github.com/jobisoft/EAS-4-TbSync/issues/245.

Micke3rd commented 1 year ago

sorry, you are absolutely right about the versions. I only looked at the latest release here on the site. I use TB under Windows, where the behavior you describe does not occur.

jobisoft commented 12 months ago

TbSync is trying to be asynchronously, so it surprises me that it can freeze your computer. Servers may not respond directly which forces TbSync to wait for the answer, but it should not "freeze" your computer.

Could you give more details?

gerardcanal commented 11 months ago

Hi @jobisoft, Thanks for the reply. To clarify, what freezes is Thunderbird's GUI, not the whole computer. What happens is that Thunderbird becomes unresponsive every certain time. When this happens, the UI does not update (doesn't show anything if I am writing a new email), clicks don't seem to get registered. After some seconds, it seems to refresh and register some of the keys/clicks.

For instance, the "new message" button will not do anything until some seconds later, and Ubuntu displays the "Thunderbird is not responding" popup. Every time this happens, TBSync is synchronising, though it does not happen every time TBSync syncs (I believe it's only the times when the long wait happens).

I have recorded a video, and I sent it over email.

SirFritz commented 3 weeks ago

This happens to me too. Happens on multiple computers both linux and windows.

Steps to reproduce

  1. Ensure calendar syncing is ticked
  2. Press sync now
  3. Thunderbird freezes few seconds later on "Waiting for remote changes (86s)" and "0/62 items processed".
neidert commented 1 day ago

I have the same Problem: I can synchronize contacts with an Outlook Exchange Server without any problems, but when synchronizing the calendar, TB (only TB, not the entire PC) freezes shortly after synchronization begins: "Waiting for remote changes (84s)" and "27/5822 items processed".

Windows 10 Version 22H2 Thunderbird 128.4.4esr (64-Bit) TbSync Version 4.11 Provider für Exchange ActiveSync Version 4.12

Thank you for any idea or solution!