Open jlcenter opened 7 years ago
I'm having the same problem. TB52.0, EWS 3.9.0, under Debian Linux. Creating a new calendar for Office 365, when I click the "Check Server and Mailbox" button, it does not ask for a password but instead returns with an error message: "Error during checking of server and mailbox: HTTP Client error 401: Unauthorized URL:https://outlook.office365.com/EWS/Exchange.asmx (Code: -19)". Odd because the same process worked fine on two other computers with the same software and same calendar account.
Hello,
where do you get TB 52.0 and EWS 3.9.0 from?
If you use Debian 8.0 stable you have Icedove and EWs from Jessie- Backports.
Kind regards
Mechtilde
Am 04.04.2017 um 19:16 schrieb andrewperrin:
I'm having the same problem. TB52.0, EWS 3.9.0, under Debian Linux. Creating a new calendar for Office 365, when I click the "Check Server and Mailbox" button, it does not ask for a password but instead returns with an error message: "Error during checking of server and mailbox: HTTP Client error 401: Unauthorized URL:https://outlook.office365.com/EWS/Exchange.asmx (Code: -19)". Odd because the same process worked fine on two other computers with the same software and same calendar account.
Both of them are downloaded directly (not from Debian archives).
Here is the log from attempting to create the calendar connection: `1st-setup:2017-3-3 13:19:58.741:[null] We are not going to perform a startup because we do not have a name yet and the calendar is probably still created. (set uri in mivExchangeCalendar.js:598) 1st-setup:2017-3-3 13:19:58.762:Exchange EWS Provider is installed. 1st-setup:2017-3-3 13:19:58.763:Exchange EWS Provider is installed from:file:///home/aperrin/Downloads/exchangecalendar-v3.9.0.xpi 1st-setup:2017-3-3 13:19:58.764:Exchange EWS Provider is version:3.9.0 1st-setup:2017-3-3 13:19:58.765:Exchange EWS Provider is active. 1st-setup:2017-3-3 13:20:16.471:exchWebServicesConvertIDOK: user:aperrin@ad.unc.edu, mailbox:andrew_perrin@unc.edu 1st-setup:2017-3-3 13:20:16.498:mivExchangeAuthPrompt2: getPassword: A realm was specified:Exchange Web Service (_getPassword in mivExchangeAuthPrompt2.js:122) 1st-setup:2017-3-3 13:20:16.498:mivExchangeAuthPrompt2: getPassword: There is no password in the passwordCache[aperrin@ad.unc.edu|https://outlook.office365.com/EWS/Exchange.asmx|Exchange Web Service] (_getPassword in mivExchangeAuthPrompt2.js:140) 1st-setup:2017-3-3 13:20:16.498:mivExchangeAuthPrompt2: getPassword: password(1)=**** (_getPassword in mivExchangeAuthPrompt2.js:146) 1st-setup:2017-3-3 13:20:16.499:mivExchangeAuthPrompt2: getPassword: There is no password in the cache. Going to see if there is one in the passwordManager. (_getPassword in mivExchangeAuthPrompt2.js:151) 1st-setup:2017-3-3 13:20:16.499:mivExchangeAuthPrompt2: passwordManagerGet: username=aperrin@ad.unc.edu, aURL=https://outlook.office365.com/EWS/Exchange.asmx, aRealm=Exchange Web Service (_passwordManagerGet in mivExchangeAuthPrompt2.js:621) 1st-setup:2017-3-3 13:20:16.501:mivExchangeAuthPrompt2: getPassword: There is no password stored in the passwordManager. (_getPassword in mivExchangeAuthPrompt2.js:159) 1st-setup:2017-3-3 13:20:16.501:mivExchangeAuthPrompt2: getPassword: password(2)=**** (_getPassword in mivExchangeAuthPrompt2.js:166) 1st-setup:2017-3-3 13:20:16.501:mivExchangeAuthPrompt2: getPassword: First request for a password. Not going to ask user for it because we want to see if we need a password. For Kerberos for example we do not need a password. (_getPassword in mivExchangeAuthPrompt2.js:205) 1st-setup:2017-3-3 13:20:16.502:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:16.503:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:16.503:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:16.504:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:16.504:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:16.504:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:16.504: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53}) 1st-setup:2017-3-3 13:20:16.505:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:16.505:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:16.505:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:16.506: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7}) 1st-setup:2017-3-3 13:20:16.506:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsIApplicationCacheContainer 1st-setup:2017-3-3 13:20:16.507: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279}) 1st-setup:2017-3-3 13:20:16.507:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:17.172:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsIProgressEventSink 1st-setup:2017-3-3 13:20:17.173:eeea6506-5e85-44e5-9ce8-83355b8482bc: --- ecnsIAuthPrompt2.onStatus: STATUS_SENDING_TO of outlook.office365.com 1st-setup:2017-3-3 13:20:17.173:eeea6506-5e85-44e5-9ce8-83355b8482bc: --- ecnsIAuthPrompt2.onProgress: this is a nsIChannel 1st-setup:2017-3-3 13:20:17.173:eeea6506-5e85-44e5-9ce8-83355b8482bc: --- ecnsIAuthPrompt2.onProgress:2596 of 2596 1st-setup:2017-3-3 13:20:17.173:eeea6506-5e85-44e5-9ce8-83355b8482bc: --- ecnsIAuthPrompt2.onStatus: STATUS_WAITING_FOR of outlook.office365.com 1st-setup:2017-3-3 13:20:17.404:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:17.404: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279}) 1st-setup:2017-3-3 13:20:17.405:eeea6506-5e85-44e5-9ce8-83355b8482bc: --- ecnsIAuthPrompt2.onStatus: STATUS_SENDING_TO of outlook.office365.com 1st-setup:2017-3-3 13:20:17.406:eeea6506-5e85-44e5-9ce8-83355b8482bc: --- ecnsIAuthPrompt2.onProgress: this is a nsIChannel 1st-setup:2017-3-3 13:20:17.406:eeea6506-5e85-44e5-9ce8-83355b8482bc: --- ecnsIAuthPrompt2.onProgress:2647 of 2647 1st-setup:2017-3-3 13:20:17.406:eeea6506-5e85-44e5-9ce8-83355b8482bc: --- ecnsIAuthPrompt2.onStatus: STATUS_WAITING_FOR of outlook.office365.com 1st-setup:2017-3-3 13:20:23.53:eeea6506-5e85-44e5-9ce8-83355b8482bc: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:23.54:exchWebServicesCheckServerAndMailboxError: aCode:-19, aMsg:HTTP Client error 401: Unauthorized URL:https://outlook.office365.com/EWS/Exchange.asmx
1st-setup:2017-3-3 13:20:26.322:exchWebServicesConvertIDOK: user:aperrin@ad.unc.edu, mailbox:andrew_perrin@unc.edu 1st-setup:2017-3-3 13:20:26.364:mivExchangeAuthPrompt2: getPassword: A realm was specified:Exchange Web Service (_getPassword in mivExchangeAuthPrompt2.js:122) 1st-setup:2017-3-3 13:20:26.365:mivExchangeAuthPrompt2: getPassword: There is no password in the passwordCache[aperrin@ad.unc.edu|https://outlook.office365.com/EWS/Exchange.asmx|Exchange Web Service] (_getPassword in mivExchangeAuthPrompt2.js:140) 1st-setup:2017-3-3 13:20:26.366:mivExchangeAuthPrompt2: getPassword: password(1)=**** (_getPassword in mivExchangeAuthPrompt2.js:146) 1st-setup:2017-3-3 13:20:26.367:mivExchangeAuthPrompt2: getPassword: There is no password in the cache. Going to see if there is one in the passwordManager. (_getPassword in mivExchangeAuthPrompt2.js:151) 1st-setup:2017-3-3 13:20:26.368:mivExchangeAuthPrompt2: passwordManagerGet: username=aperrin@ad.unc.edu, aURL=https://outlook.office365.com/EWS/Exchange.asmx, aRealm=Exchange Web Service (_passwordManagerGet in mivExchangeAuthPrompt2.js:621) 1st-setup:2017-3-3 13:20:26.370:mivExchangeAuthPrompt2: getPassword: There is no password stored in the passwordManager. (_getPassword in mivExchangeAuthPrompt2.js:159) 1st-setup:2017-3-3 13:20:26.371:mivExchangeAuthPrompt2: getPassword: password(2)=**** (_getPassword in mivExchangeAuthPrompt2.js:166) 1st-setup:2017-3-3 13:20:26.372:mivExchangeAuthPrompt2: getPassword: First request for a password. Not going to ask user for it because we want to see if we need a password. For Kerberos for example we do not need a password. (_getPassword in mivExchangeAuthPrompt2.js:205) 1st-setup:2017-3-3 13:20:26.375:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.375:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.376:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.376:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.377:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.377:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.377: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53}) 1st-setup:2017-3-3 13:20:26.378:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.378:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.379:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.380: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7}) 1st-setup:2017-3-3 13:20:26.380:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsIApplicationCacheContainer 1st-setup:2017-3-3 13:20:26.380: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279}) 1st-setup:2017-3-3 13:20:26.381:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.384:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsIProgressEventSink 1st-setup:2017-3-3 13:20:26.385:df3ce191-2559-46fe-9841-8efa8f9e5df8: --- ecnsIAuthPrompt2.onStatus: STATUS_SENDING_TO of outlook.office365.com 1st-setup:2017-3-3 13:20:26.385:df3ce191-2559-46fe-9841-8efa8f9e5df8: --- ecnsIAuthPrompt2.onProgress: this is a nsIChannel 1st-setup:2017-3-3 13:20:26.385:df3ce191-2559-46fe-9841-8efa8f9e5df8: --- ecnsIAuthPrompt2.onProgress:2596 of 2596 1st-setup:2017-3-3 13:20:26.385:df3ce191-2559-46fe-9841-8efa8f9e5df8: --- ecnsIAuthPrompt2.onStatus: STATUS_WAITING_FOR of outlook.office365.com 1st-setup:2017-3-3 13:20:26.559:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:26.560: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279}) 1st-setup:2017-3-3 13:20:26.560:df3ce191-2559-46fe-9841-8efa8f9e5df8: --- ecnsIAuthPrompt2.onStatus: STATUS_SENDING_TO of outlook.office365.com 1st-setup:2017-3-3 13:20:26.561:df3ce191-2559-46fe-9841-8efa8f9e5df8: --- ecnsIAuthPrompt2.onProgress: this is a nsIChannel 1st-setup:2017-3-3 13:20:26.561:df3ce191-2559-46fe-9841-8efa8f9e5df8: --- ecnsIAuthPrompt2.onProgress:2647 of 2647 1st-setup:2017-3-3 13:20:26.561:df3ce191-2559-46fe-9841-8efa8f9e5df8: --- ecnsIAuthPrompt2.onStatus: STATUS_WAITING_FOR of outlook.office365.com 1st-setup:2017-3-3 13:20:31.846:df3ce191-2559-46fe-9841-8efa8f9e5df8: ecnsIAuthPrompt2.getInterface: Ci.nsILoadContext 1st-setup:2017-3-3 13:20:31.847:exchWebServicesCheckServerAndMailboxError: aCode:-19, aMsg:HTTP Client error 401: Unauthorized URL:https://outlook.office365.com/EWS/Exchange.asmx
`
FWIW copying the profile from a different computer where the calendar was working makes this installation work fine too.
I'm trying to add calendar and address book and I have the same error "Error during checking of server and mailbox: HTTP Client error 401: Unauthorized URL:https://outlook.office365.com/EWS/Exchange.asmx (Code: -19)". TB52.1.0, EWS 3.9.0, Ubuntu 16.04.
Same for me. Checked with EWS 3.9.0 and 3.7.0 on Thunderbird 52.1.0/Arch Linux. Also, I'm using the xmonad tiling window manager with which Thunderbird doesn't always work well.
1st-setup:2017-4-1 8:49:28.376:exchWebServicesConvertIDOK: user:k.baxmann@example.com, mailbox:k.baxmann@example.com
1st-setup:2017-4-1 8:49:28.402: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53})
1st-setup:2017-4-1 8:49:28.403: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7})
1st-setup:2017-4-1 8:49:28.403: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279})
1st-setup:2017-4-1 8:49:28.438: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({b18782c0-6557-4e8e-931d-4bf052f0a31e})
1st-setup:2017-4-1 8:49:28.439: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279})
1st-setup:2017-4-1 8:49:33.594: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({b18782c0-6557-4e8e-931d-4bf052f0a31e})
1st-setup:2017-4-1 8:49:33.597:exchWebServicesCheckServerAndMailboxError: aCode:-19, aMsg:HTTP Client error 401: Unauthorized
URL:https://outlook.office365.com/EWS/Exchange.asmx
Thanks for all your work so far.
Please follow this thread:
https://github.com/Ericsson/exchangecalendar/issues/580
In particular, try the potential solution here http://mesquilla.net/betas/exchangecalendar-3.9.0y.xpi and report if it works for you.
On 5/7/2017 11:55 PM, Kevin Baxmann wrote:
Same for me. Checked with EWS 3.9.0 and 3.7.0 on Thunderbird 52.1.0/Arch Linux. Also, I'm using the xmonad tiling window manager with which Thunderbird doesn't always work well.
|1st-setup:2017-4-1 8:49:28.376:exchWebServicesConvertIDOK: user:k.baxmann@example.com, mailbox:k.baxmann@example.com 1st-setup:2017-4-1 8:49:28.402: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53}) 1st-setup:2017-4-1 8:49:28.403: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7}) 1st-setup:2017-4-1 8:49:28.403: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279}) 1st-setup:2017-4-1 8:49:28.438: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({b18782c0-6557-4e8e-931d-4bf052f0a31e}) 1st-setup:2017-4-1 8:49:28.439: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279}) 1st-setup:2017-4-1 8:49:33.594: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({b18782c0-6557-4e8e-931d-4bf052f0a31e}) 1st-setup:2017-4-1 8:49:33.597:exchWebServicesCheckServerAndMailboxError: aCode:-19, aMsg:HTTP Client error 401: Unauthorized URL:https://outlook.office365.com/EWS/Exchange.asmx |
Thanks for all your work so far.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Ericsson/exchangecalendar/issues/578#issuecomment-299787756, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPNo5ZLI1yOBdLLF-vJ5CXBhyP4aV0Yks5r3rxsgaJpZM4MqvzH.
@rkent This works for me. Tks!
I'm using EWS 3.9.0 & TB 53.0b1 (64-bit). I'm trying to create a new Office 365 profile, but whenever I do it, I never get prompted for the password. This causes it to fail since it is an unauthorized action. How do I fix this? Sending & receiving mail is fine, just trying to create a new calendar doesn't work.