I setup the calendar synchronization yesterday (personal outlook account, server: eas.outlook.com, period: everything, active sync: best available) and it had worked. I closed the Thunderbird. Today after 10 hours I started Thunderbird again, but the synchronization stopped working. I was asked to enter the password again (getting 401 auth errors) in an infinite loop. I tried to close the Thunderbird and start again, disable/enable the synchronization, nothing helped.
Actual behavior
It is supposed to synchronize. I was able to get it work again by following steps:1. Thunderbird menu bar: Tools | Clear Recent History2. Set time range: Everything, keep all the three checkboxes checked, click Clear now button3. Open TbSync account manager (it shows the last 401 error)4. Click the Account actions button to open the popup menu5. Synchronize all enabled acocunts
EDIT today it happend again and I wasn't able to get it work even by the steps above. It is stuck in the infinite login loop. I removed the account and recreated again. I enabled the server side logging in the Outlook web mail.
I use Thunderbird on two computers. When I got it work on the first one it still didn't work on the second one, so it isn't a server state issue. When copied the content of TbSync folder to the second computer it started to work again too without any password prompt. There must be something wrong in the saved local state (last updated time or so).
Steps to reproduce
Setup the syncronization
Close Thunderbird
Wait at least 10 hours
Start Thunderbird again
Open TbSync account manager
Click Synchronize now button
Note
I enabled the detailed logging, but there was nothing interesting, just the 401 errors. When you get an error, it is good to log the http reply body content too, because sometimes there is an additional information that can help to narrow the issue.
Your environment
Windows 10 22H2
TbSync version: 4.8 Thunderbird version: 115.12.1
Expected behavior
I setup the calendar synchronization yesterday (personal outlook account, server: eas.outlook.com, period: everything, active sync: best available) and it had worked. I closed the Thunderbird. Today after 10 hours I started Thunderbird again, but the synchronization stopped working. I was asked to enter the password again (getting 401 auth errors) in an infinite loop. I tried to close the Thunderbird and start again, disable/enable the synchronization, nothing helped.
Actual behavior
It is supposed to synchronize.
I was able to get it work again by following steps:1. Thunderbird menu bar: Tools | Clear Recent History2. Set time range: Everything, keep all the three checkboxes checked, click Clear now button3. Open TbSync account manager (it shows the last 401 error)4. Click the Account actions button to open the popup menu5. Synchronize all enabled acocuntsEDIT today it happend again and I wasn't able to get it work even by the steps above. It is stuck in the infinite login loop. I removed the account and recreated again. I enabled the server side logging in the Outlook web mail.
I use Thunderbird on two computers. When I got it work on the first one it still didn't work on the second one, so it isn't a server state issue. When copied the content of TbSync folder to the second computer it started to work again too without any password prompt. There must be something wrong in the saved local state (last updated time or so).
Steps to reproduce
Note
I enabled the detailed logging, but there was nothing interesting, just the 401 errors. When you get an error, it is good to log the http reply body content too, because sometimes there is an additional information that can help to narrow the issue.