TbSync icon indicating copy to clipboard operation
TbSync copied to clipboard

TBSync EAS not working since 2-3 days

Open oe3gwu opened this issue 1 year ago • 15 comments

Your environment

Kubuntu 23.10 Thunderbird from Repos with installed TBSync

TbSync + EAS Provider version: 4.8 Thunderbird version: 115.6.0

Expected behavior

TBSync should sync my Hotmail Account

Actual behavior

Not working. Always get the error to enter my password.

Steps to reproduce

Use an Hotmail Account with TBSync

Logs:

** Thu Jan 25 2024 18:38:19 GMT+0100 (Mitteleuropäische Normalzeit) **
[setSyncState] : State: prepare.request.options, Account: [email protected]

** Thu Jan 25 2024 18:38:19 GMT+0100 (Mitteleuropäische Normalzeit) **
[Sending] : OPTIONS https://eas.outlook.com/Microsoft-Server-ActiveSync

** Thu Jan 25 2024 18:38:19 GMT+0100 (Mitteleuropäische Normalzeit) **
[setSyncState] : State: send.request.options, Account: [email protected]

** Thu Jan 25 2024 18:38:19 GMT+0100 (Mitteleuropäische Normalzeit) **
[setSyncState] : State: eval.request.options, Account: [email protected]

** Thu Jan 25 2024 18:38:19 GMT+0100 (Mitteleuropäische Normalzeit) **
[EAS OPTIONS with response (status: 200)] : 
responseText: 
responseHeader(MS-ASProtocolVersions): 2.5,14.0,14.1,16.0,16.1
responseHeader(MS-ASProtocolCommands):
Sync,SendMail,SmartForward,SmartReply,GetAttachment,FolderSync,FolderCreate,FolderD
lete,FolderUpdate,MoveItems,GetItemEstimate,MeetingResponse,Search,Settings,Ping,Ite
Operations,ResolveRecipients,Find

** Thu Jan 25 2024 18:38:19 GMT+0100 (Mitteleuropäische Normalzeit) **
[setSyncState] : State: prepare.request.setdeviceinfo, Account:
[email protected]

** Thu Jan 25 2024 18:38:19 GMT+0100 (Mitteleuropäische Normalzeit) **
[setSyncState] : State: send.request.setdeviceinfo, Account: [email protected]

** Thu Jan 25 2024 18:38:19 GMT+0100 (Mitteleuropäische Normalzeit) **
[Sending (EAS v14.0)] : POST https://eas.outlook.com/Microsoft-Server-ActiveSync
Cmd=Settings&User=rainer_weninger%40hotmail.com&DeviceType=TbSync&DeviceId=MZ
B559bf278587b0b4abbdbb92cb4ec

** Thu Jan 25 2024 18:38:19 GMT+0100 (Mitteleuropäische Normalzeit) **
[setSyncState] : State: passwordprompt, Account: [email protected]

** Thu Jan 25 2024 18:38:21 GMT+0100 (Mitteleuropäische Normalzeit) **
[setSyncState] : State: send.request.setdeviceinfo, Account: [email protected]

** Thu Jan 25 2024 18:38:21 GMT+0100 (Mitteleuropäische Normalzeit) **
[Sending (EAS v14.0)] : POST https://eas.outlook.com/Microsoft-Server-ActiveSync
Cmd=Settings&User=rainer_weninger%40hotmail.com&DeviceType=TbSync&DeviceId=MZB559bf278587b0b4abbdbb92cb4ec

** Thu Jan 25 2024 18:38:21 GMT+0100 (Mitteleuropäische Normalzeit) **
[setSyncState] : State: passwordprompt, Account: [email protected]

** Thu Jan 25 2024 18:38:23 GMT+0100 (Mitteleuropäische Normalzeit) **
[EventLog] : 401


** Thu Jan 25 2024 18:38:23 GMT+0100 (Mitteleuropäische Normalzeit) **
[EventLog] : 401


** Thu Jan 25 2024 18:38:23 GMT+0100 (Mitteleuropäische Normalzeit) **
[setSyncState] : State: accountdone, Account: [email protected]

oe3gwu avatar Jan 25 '24 17:01 oe3gwu

Is there any way to roll this back? I have the same issue for the same time period.

Debug: ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [TbSync init] : Start (4.8) ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Thunderbird] : 115.6.0 on Linux ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module <passwordManager>] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loading module ] : OK ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : <passwordManager> ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Initializing module] : ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [TbSync init] : Done ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : Default timezone has been found. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <America/Ciudad_Juarez> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <Antarctica/Troll> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <CET> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <Factory> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/AST4> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/AST4ADT> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/CST6> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/CST6CDT> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/EST5> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/EST5EDT> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/HST10> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/MST7> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/MST7MDT> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/PST8> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/PST8PDT> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/YST9> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [EventLog] : The IANA timezone <SystemV/YST9YDT> cannot be mapped to any Exchange timezone. ** Fri Jan 26 2024 00:29:35 GMT-0600 (Central Standard Time) ** [Loaded provider] : eas::Exchange ActiveSync (4.8) ** Fri Jan 26 2024 00:30:35 GMT-0600 (Central Standard Time) ** [setSyncState] : State: prepare.request.options, Account: outlook ** Fri Jan 26 2024 00:30:35 GMT-0600 (Central Standard Time) ** [Sending] : OPTIONS https://eas.outlook.com/Microsoft-Server-ActiveSync ** Fri Jan 26 2024 00:30:35 GMT-0600 (Central Standard Time) ** [setSyncState] : State: send.request.options, Account: outlook ** Fri Jan 26 2024 00:30:35 GMT-0600 (Central Standard Time) ** [setSyncState] : State: eval.request.options, Account: outlook ** Fri Jan 26 2024 00:30:35 GMT-0600 (Central Standard Time) ** [setSyncState] : State: passwordprompt, Account: outlook ** Fri Jan 26 2024 00:30:44 GMT-0600 (Central Standard Time) ** [EventLog] : 401 ** Fri Jan 26 2024 00:30:44 GMT-0600 (Central Standard Time) ** [EventLog] : 401

Jumpiebeen avatar Jan 26 '24 06:01 Jumpiebeen

Microsoft apparently dropped support for plain password auth. You need to use the OAUTH option (3rd option when creating an EAS account).

jobisoft avatar Jan 26 '24 07:01 jobisoft

I am having the same problem - my password is not being accepted but I can read/send email via IMAP. I think I have changed server authentication to OAUTH2 (5 th option) but it is still prompting me for the password. The third option is Kerberos

jcs0596223 avatar Jan 27 '24 14:01 jcs0596223

As John said, you should delete the TBSync account and re-create it using the OATH option for authentication. On my version the OATH is labled Office365. Screenshot from 2024-01-27 08-25-32

Jumpiebeen avatar Jan 27 '24 14:01 Jumpiebeen

Thanks - that appears to have done the trick. It was not at all obvious!

jcs0596223 avatar Jan 27 '24 15:01 jcs0596223

Deleting/re-creating as the Microsoft Office 365 setting worked for 1 of my 3 outlook.com accounts. The other 2 fail with:

The server does not provide information about the supported ActiveSync versions....

Setting the account to a specific AS version results in "Communication error (HTTP status 503)." Caching issue maybe?

Dave-Lowndes avatar Jan 27 '24 16:01 Dave-Lowndes

It works for me to use TBSync with OAuth2. To all that read this and have IMAP issues too, you need to use OAuth2 also on the IMAP Settings.

oe3gwu avatar Jan 27 '24 21:01 oe3gwu

Hello. I recently had the same problem for my mail account and found this, posting it hoping it will be helpful to understand the issue.

So it doesn't seems to be a TbSync issue.

hugo-b-r avatar Jan 28 '24 15:01 hugo-b-r

Deleting/re-creating as the Microsoft Office 365 setting worked for 1 of my 3 outlook.com accounts. The other 2 fail with:

The server does not provide information about the supported ActiveSync versions....

Today, 2 of 3 work with TbSync. Maybe the third will tomorrow!

Dave-Lowndes avatar Jan 28 '24 16:01 Dave-Lowndes

Today, 2 of 3 work with TbSync. Maybe the third will tomorrow!

Just a few hours later - and now the 3'rd account is fine with TbSync too.

Dave-Lowndes avatar Jan 28 '24 18:01 Dave-Lowndes

Microsoft apparently dropped support for plain password auth. You need to use the OAUTH option (3rd option when creating an EAS account).

Hi all, A quick question, which of the following steps should I do when I am changing the OAUTH ? See attached photos Screenshot from 2024-01-29 16-57-41 Screenshot from 2024-01-29 16-58-46

CharalamposKarampasis avatar Jan 29 '24 17:01 CharalamposKarampasis

SSL/TLS is what I'm using (successfully)

Dave-Lowndes avatar Jan 29 '24 17:01 Dave-Lowndes

SSL/TLS is what I'm using (successfully)

You had right , all done and sync!! At the beginning a had a message ''error''again but no matter I just click to continue and fixed.

CharalamposKarampasis avatar Jan 29 '24 17:01 CharalamposKarampasis

I have 3 Outlook accounts configured and I'm finding that only the first synchronizes OK, others have failures (HTTP 503).

However, if I close Thunderbird, re-open it and then quickly open TbSync and use "Synchronize now" on say the 3'rd account it works, and now the first and second have the failures. I can now repeatedly use "Synchronize now" OK on the 3'rd account, and the other 2 repeatedly fail the same way.

Is something from the initial sync connection being held open so the others then fail?

Dave-Lowndes avatar Feb 29 '24 23:02 Dave-Lowndes

That is related to a missing cookie implementation/support in TbSync. I somehow need to give all connections an independent cookie stores, otherwise they all try to use the same and that does not work. I am looking into this.

jobisoft avatar Mar 01 '24 06:03 jobisoft

I couldn't get it working since January, but I finally succeeded. I was connecting to outlook.com and the primary alias of my Microsoft account wasn't the one with outlook.com address. When I made that primary, TB sync has been able to connect. It's looks weird to me that I suddenly had to change the primary alias (to a different one than I actually want and used for years), but at least there is a solution. This doesn't seem to be an issue with TbSync as such; I was unable to connect to the new Outlook either.

goshoom avatar Mar 20 '24 10:03 goshoom

The remaining issue is the cookie issue for more than one OAUTH account. Closing this as a dupe of https://github.com/jobisoft/TbSync/issues/713

jobisoft avatar Apr 01 '24 09:04 jobisoft