Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thunderbird 52.1.1 and EWS 3.9.0 : Client Error 401 #595

Open
LordSnyder opened this issue May 19, 2017 · 36 comments
Open

Thunderbird 52.1.1 and EWS 3.9.0 : Client Error 401 #595

LordSnyder opened this issue May 19, 2017 · 36 comments

Comments

@LordSnyder
Copy link

Dear developers and supports,

first, I want to thank you for this nice plugin which supported me for the last three years. But since three days, I have a problem with synchronising my server:
Here, I cannot connect to an Exchange 2010 server anymore since Thunderbird was updated. The server setup was not changed, confirmed by the local administrator.

I always get the error line: aCode:-19, aMsg:HTTP Client error 401: Unauthorized My password is still correct and I deleted my complete profile and setup everything from scratch. It does not help yet. I attached the log file below.

I appreciate and would thank you in advance for any help.

Best regards,

LordSnyder

1st-setup:2017-4-5 8:49:43.388:[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-4-5 8:49:43.397:Exchange EWS Provider is installed.
1st-setup:2017-4-5 8:49:43.398:Exchange EWS Provider is installed from:file:///home/Downloads/exchangecalendar-v3.9.0.xpi
1st-setup:2017-4-5 8:49:43.398:Exchange EWS Provider is version:3.9.0
1st-setup:2017-4-5 8:49:43.399:Exchange EWS Provider is active.
1st-setup:2017-4-5 8:49:53.821: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53})
1st-setup:2017-4-5 8:49:53.822: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7})
1st-setup:2017-4-5 8:49:53.822: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279})
1st-setup:2017-4-5 8:49:53.928: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53})
1st-setup:2017-4-5 8:49:53.929: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7})
1st-setup:2017-4-5 8:49:53.930: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279})
1st-setup:2017-4-5 8:49:53.946:sendAutodiscoverySOAP.onSendError: aCode:-9, aMsg:Error resolving hostname 'autodiscover

'. Did you type the right hostname. (STATUS_RESOLVED)
1st-setup:2017-4-5 8:49:53.946:ecAutodiscoveryError. aCode:-9, aMsg:Error resolving hostname 'autodiscover'. Did you type the right hostname. (STATUS_RESOLVED)
1st-setup:2017-4-5 8:49:53.946:exchWebServicesAutodiscoveryError: Going to try old POX autodiscovery as SOAP autodiscovery did not succeed.
1st-setup:2017-4-5 8:49:53.947:autodiscover email:, domain:

1st-setup:2017-4-5 8:49:53.950:sendAutodiscover.execute:

http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a

1st-setup:2017-4-5 8:49:53.952: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53})
1st-setup:2017-4-5 8:49:53.953: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7})
1st-setup:2017-4-5 8:49:53.953: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279})
1st-setup:2017-4-5 8:50:12.175:exchWebServicesConvertIDOK: user:DOMAIN\NAME, mailbox:


1st-setup:2017-4-5 8:50:12.188: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53})
1st-setup:2017-4-5 8:50:12.189: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7})
1st-setup:2017-4-5 8:50:12.189: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279})
1st-setup:2017-4-5 8:50:12.425:exchWebServicesCheckServerAndMailboxError: aCode:-19, aMsg:HTTP Client error 401: Unauthorized
URL:https:///ews/exchange.asmx

1st-setup:2017-4-5 8:51:42.990: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53})
1st-setup:2017-4-5 8:51:42.991: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7})
1st-setup:2017-4-5 8:51:42.991: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279})
1st-setup:2017-4-5 8:51:43.23: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({70d2b4fe-a552-48cd-8d93-1d8437a56b53})
1st-setup:2017-4-5 8:51:43.24: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({1040ebe3-6ed1-45a6-8587-995e082518d7})
1st-setup:2017-4-5 8:51:43.24: >>>>>>>>>>> SUBMIT THIS LINE TO https://github.com/Ericsson/exchangecalendar/issues: ecnsIAuthPrompt2.getInterface({0d6ce59c-ad5d-4520-b4d3-09664868f279})
1st-setup:2017-4-5 8:51:43.43:sendAutodiscover.onSendError: aCode:-9, aMsg:Error resolving hostname 'autodiscover

'. Did you type the right hostname. (STATUS_RESOLVED)
1st-setup:2017-4-5 8:51:43.43:ecAutodiscoveryError. aCode:-9, aMsg:Error resolving hostname 'autodiscover'. Did you type the right hostname. (STATUS_RESOLVED)

@LordSnyder LordSnyder changed the title Thunderbird 52.1.1 and EWS 3.9.0 Thunderbird 52.1.1 and EWS 3.9.0 : Client Error 401 May 19, 2017
@mverouden
Copy link

As you will see, when searching the internet concerning this issue, a lot of users are experiencing the same issue. The Exchange EWS provider add-on for Thunderbird is very highly used add-on, therefore, I expect that the community will quickly resolve this issue.

The following link, https://mesquilla.net/betas/exchangecalendar-4.0.1002.xpi, provides a temporary solution, although not all features are working. At least you will be able to see your calendar again.

Regards,

@LordSnyder
Copy link
Author

Dear mverouden,

Thank you very much for the quick solution. At least I can see the calender now, but still inserting new appointments is not possible. But therefore I wait for the next beta-version.

Best regards,

@tikkav
Copy link

tikkav commented May 19, 2017

#580

@ppoilbarbe
Copy link

Same issue. It seems that password is not sent if already registered in Thunderbird or asked to user when needed.

@phvajjha
Copy link

phvajjha commented May 19, 2017

I have the same issue. Got locked out of my corporate account twice this morning while I was trying to fix this. Looks like a wrong/old password is cached somewhere? I checked and deleted all saved passwords from the Mozilla preferences screen, still no luck. Will get the beta for now.

@iaean
Copy link

iaean commented May 19, 2017

Same issue here. After TB update to 52.1.1...

  • No password prompt
  • HTTP Client error 401
  • No access to Exchange
  • at least EWS 3.8.0 and EWS 3.9.0 affected

@havatv
Copy link

havatv commented May 19, 2017

Same issue here. Through #580 I found a version (exchangecalendar-4.0.1003.xpi) that works for me.
TB 52.1.1, Lightning 5.4, Ubuntu 14.04.

@ghost
Copy link

ghost commented May 22, 2017

Thank you @mverouden - that gives me enough (can see meetings, get reminders, not tested other stuff) functionality :-)

@mverouden
Copy link

Hi all,

Somewhere in the other issues I found the following update: https://drive.google.com/open?id=0B83tjEuIQ0gDREdDWkJodE1Bb2c it contains exchangecalendar-4.0.1003.xpi (see issue #580)

@lpesek
Copy link

lpesek commented May 23, 2017

The calendar function quit working. It is showing a lock next to the network icon and it never asks me for my calendar password. When I try to create a new calendar I get to the point where you select the "Check server and mailbox" I get the message: Error during checking of server and mailbox: HTTP Client error 401: Unauthorized URL:https//outlook.office365.com/EWS/Exchange.asmx, (Code: -19). My thunderbird version is 52.1.1, my lightning version is 5.4.1.1 and my Exchange EWS version is 3.9.0 Also email is working just fine so I don't understand why it's having trouble with the calendar.

Any help would be appreciated.

Larry Pesek

@ds2k5
Copy link

ds2k5 commented May 26, 2017

Hi mverouden,
tryed the Version 4.0.1003 but got the same Error: 401

Thunderbird: 52.1.1
Lightning 5.4.1.1

@RVetschera
Copy link

I had the same problem on one machine with the German version of Thunderbird installed, but not on another machine where I have the English version of Thunderbird. it seems that in the "EWS Calender and Mail settings" tab of EWS properties, the dropdown list for "Folder base" is present in the English version, but not in the German version, that probably caused it to refer to the wrong folder. The list is back in 4.0.1002 beta

@ds2k5
Copy link

ds2k5 commented May 29, 2017

Hi RVetschera,
i tryed with German and English Version of
Thunderbird: 52.1.1
Lightning 5.4.1.1
But did not work.

Exchange Server 2010

@RVetschera
Copy link

Can you set the "Folder base" in either version?

@ds2k5
Copy link

ds2k5 commented May 29, 2017

Can you set the "Folder base" in either version?

hmmm... dont know how

@ds2k5
Copy link

ds2k5 commented May 29, 2017

001_create_cal
002_create_cal
003_create_cal
004_create_cal
005_create_cal
006_create_cal

But if i open the URL an enter the same accout data the login did not fail

https://mailserver.doamin.de/EWS/Exchange.asmx

@RVetschera
Copy link

It seems the list is not present in the pictures you sent. In the version I am using it is right below he "Share folder Id" field.

@ds2k5
Copy link

ds2k5 commented May 29, 2017

Using 4.0.1003
plugin

@martok
Copy link

martok commented May 29, 2017

The working version I'm currently using (4.0.1003 de-DE) does not have this dropdown in the setup screen either - it only appears later when modifying an existing calendar.

@RVetschera
Copy link

I just had 4.0.1002 installed, there it is present also in the German version (and it was present in the English version with 3.9.0), I am not familiar with the code, so I have no idea what causes this erratic behavior. I was hoping it was a localization issue, bu it now seems it is not.

@ds2k5
Copy link

ds2k5 commented May 29, 2017

Tryed now with 4.0.1002 ... but the same

001_create_cal_v2

002_create_cal_v2

@ds2k5
Copy link

ds2k5 commented Jun 1, 2017

With Version: 4.0.0-beta 1
and Username: @domain.tld it work, insted of username and domain separately

https://github.com/ExchangeCalendar/exchangecalendar/releases/tag/v4.0.0-beta1

@Timberwolf76275
Copy link

Timberwolf76275 commented Jul 25, 2017

I have found a fix for this
1.sudo apt-get purge thunderbird*
2. sudo apdatedb
3. restart pc
4. reinstall thunderbird & setup email USE CARE DO NOT LET THUNDERBIRD SAVE PASSWORD YOU WILL END UP WITH SAME ERROR
5. Install addons lightning and .xpi ver 4.0.1002
6. Setup up exchange cal. with server http & all relavent info again DO NOT LET THUNDERBIRD SAVE PASSWORD
It is a little nerving that you must type password everytime but security comes first

DO NOT LET THUNDERBIRD SAVE THE PASSWORD THE SAME F+#ẞ89ẞ ERROR WILL COME UP

@ppoilbarbe
Copy link

ppoilbarbe commented Jul 25, 2017

For us, TB 52.2.1 + EWS 4.0.0-beta1 + Exchange 2013 it works perfectly.
Whether we enter password each time or register it in Thunderbird

@Timberwolf76275
Copy link

maybe the problem is with my employers system & exchange server I cannot let thunderbird save password or the error pops up

@TypedLambda
Copy link

I got Offic365 working with a workaround:

@kev-bo
Copy link

kev-bo commented Aug 2, 2017

TypedLambda - what versions of Thunderbird and what addons (and versions) are you using to make it work.

@Timberwolf76275
Copy link

ver 52.2.1 64bit

@TypedLambda
Copy link

TypedLambda commented Aug 3, 2017

Its 52.21 64bit on TrueOS/FreeBSD
git commit bedeb68
from https://github.com/ExchangeCalendar/exchangecalendar/commits/master
(the maintained version of this repository)

@OSguard
Copy link

OSguard commented Sep 5, 2017

i have the same problem that i get no popup for the password. Exchange forces me to change the password webinterface. I removed it from thunderbird passwort manager but this also not helped. I guess somewhere old authentication is still cached.

@enozkan
Copy link

enozkan commented Sep 7, 2017

Have you tried, as mentioned above, the maintained fork at https://github.com/ExchangeCalendar/exchangecalendar/releases

@dustinboston
Copy link

@enozkan That worked! Thanks!

@flod1
Copy link

flod1 commented Oct 17, 2017

Works, thanks

@suikula
Copy link

suikula commented Nov 29, 2017

Im still having problems with exchange calendar. Stopped working. I updated to https://github.com/ExchangeCalendar/exchangecalendar/releases and thunderbird is 52.4.0 (64-bit).

When I add the calendar to my thunderbird this is the error I get..
serverQueue: notify: err:TypeError: this.jobs[this.calendars[this.calendarIndex]] is undefined
serverQueue: notify: err:TypeError: this.jobs[this.calendars[this.calendarIndex]] is undefined
serverQueue: notify: err:TypeError: this.jobs[this.calendars[this.calendarIndex]] is undefined
serverQueue: notify: err:TypeError: this.jobs[this.calendars[this.calendarIndex]] is undefined

and the calendar remains empty.. Any help ?

@Timberwolf76275
Copy link

I had this problem also. the work around I found was not let Thunderbird save the password but now the problem has rose again I have deleted t-bird with terminal using purge found the .thunderbird folder and deleted it. restarted pc ran purge again re-installed t-bird via terminal all ok no saving password, reinstalled Lightning & xpi a no go. The only thing I can think of that it does not like symbols in password I had the problem with another software.

@jolyont
Copy link

jolyont commented Feb 6, 2018

I had this problem with version 3.9.0 but happily the v4.0.0 Beta 5 fixed it immediately. Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests