exchangecalendar icon indicating copy to clipboard operation
exchangecalendar copied to clipboard

Logging error

Open marcindabrowski opened this issue 8 years ago • 18 comments

I've switched from Windows 7 to Windows 10, and on new computer I can't log into my account. When switching I've just copy my Thunderbird profile.

On new computer I have: Thunderbird: 38.6.0 Lightning: 4.0.6 Exchange EWS Provider: 3.6.0-beta1

No when I try to connect to my calendar I recive: Error during checking of server and mailbox: HTTP Client error 401: Unauthorized URL:https://mydomain.pl/EWS/Exchange.asmx (Code: -19)

In my password i have two chars '%' - but I think that on old computer it dosen't bother.

Ntlm-v1 Preferences is Enable.

marcindabrowski avatar Feb 26 '16 11:02 marcindabrowski

Password could be creating issues. Please clear saved password and try to login..

On Fri, Feb 26, 2016, 17:08 marcindabrowski [email protected] wrote:

I've switched from Windows 7 to Windows 10, and on new computer I can't log into my account. When switching I've just copy my Thunderbird profile.

On new computer I have: Thunderbird: 38.6.0 Lightning: 4.0.6 Exchange EWS Provider: 3.6.0-beta1

No when I try to connect to my calendar I recive: Error during checking of server and mailbox: HTTP Client error 401: Unauthorized URL:https://mydomain.pl/EWS/Exchange.asmx (Code: -19)

In my password i have two chars '%' - but I think that on old computer it dosen't bother.

Ntlm-v1 Preferences is Enable.

— Reply to this email directly or view it on GitHub https://github.com/Ericsson/exchangecalendar/issues/434.

bavincen avatar Feb 26 '16 11:02 bavincen

Password could be creating issues. Please clear saved password and try to login..

I've try it before, and it didn't work.

marcindabrowski avatar Feb 26 '16 12:02 marcindabrowski

It is definitely password issue - when it contains % character you can't log in. When I changed password, everything work ok again.

marcindabrowski avatar Mar 16 '16 08:03 marcindabrowski

Confirm that it's related to % symbol present in password. After replacing it the bug disappeared. But needs fixing anyway.

roman-parkhunovskyi avatar Feb 24 '17 13:02 roman-parkhunovskyi

Ah, true, the issue is caused by the % in the password!

mephinet avatar May 11 '17 08:05 mephinet

I'm having this problem and i only have alphanum in my password. I can try changing though, I don't see any saved passwords in my seahorse keychain for this and don't seem to be able to set it up. I did get an upgrade alert for Lightning to version 5.4, it broke after that.

I get this error trying to connect to EWS calendar and receive an unauthorised 401 error. I can login to Outlook Web Access and access the Calendar on my Android device without the 401. This would indicate there is parsing my credentials with the plugin to the server. I didn't have any password field prompt when attempting to establish a connection, so I'm guessing it's just trying to by my username without any password.

FWIW, I'm running Thunderbird 52.1.1 with Exchange EWS at version 3.9.0. I tried to downgrade to Lightning version 4.7.4, but my Thunderbird version is too new to do so.

Update: Even with a fresh Thundbird profile, I'm experiencing the same issue.

berglh avatar May 17 '17 23:05 berglh

I also am getting this error after updating to thunderbird 52.1.1 which forced lightning to upgrade to version 5.4. EWS version 3.9.0

rford avatar May 18 '17 17:05 rford

Same problem here. After upgrading lightning to version 5.4. (EWS 3.9.0)

tikkav avatar May 19 '17 06:05 tikkav

Same problem for me: "HTTP Client error 403: Forbidden URL:http://autodiscover.xxxxxxxxxxx.be/autodiscover/autodiscover.xml" or "HTTP Client error 401: Unauthorized URL:https://xxx.yyy.zzz/EWS/exchange.asmx" with Thunderbird 52.1.1, Lightning 5.4 and Exchange EWS Provider 3.9.0 and no '%' in my password.

ghost avatar May 19 '17 07:05 ghost

Same problem, no % in password. Worked fine before Thunderbird 52.1.1 upgrade (Lightning 5.4 EWS Provider 3.9.0).

matgerard avatar May 22 '17 11:05 matgerard

I can also confirm the issue. No % in password, but I get this error with Thunderbird 52.1.1 and EWS Provider 3.9.0 and 3.8.0 as well. It works in older versions of Thunderbird.

golanv avatar May 22 '17 16:05 golanv

So I had previously documented the ntlmv1 config setting because I'm using HTTPS (so it's ok, right?). Unfortunately, I can also report that on Thunderbird 52.1.0 and EWS Provider 3.9.0, I also get the 401 message now. I don't really know much about how an NTLM header should look in HTTP but I setup a somewhat insecure reverse proxy to test capturing this in both a browser and in Thunderbird. In the instance of my working browser session, I see the Authentication header passing my username and password in cleartext. However, in the instance of Thunderbird, I don't see the password in the Authentication header at all. I assume it is supposed to be there? I'm going to continue to research but I'm not certain this is the same issue that I saw previously that forced me to start using the ntlmv1 config setting.

haljhon avatar May 24 '17 03:05 haljhon

Greetings!

I've been experiencing the same problems on Thunderbird: 52.1.1 Ubuntu 16.04 Exchange Provider 3.9.0

I turned on logging, and see the following (username/exchange provider url changed) while attempting to create a new network calendar:

1st-setup:2017-4-4 10:9:15.165:mivExchangeAuthPrompt2: getPassword: A realm was specified:Exchange Web Service (_getPassword in mivExchangeAuthPrompt2.js:122)
1st-setup:2017-4-4 10:9:15.165:mivExchangeAuthPrompt2: getPassword: There is no password in the passwordCache[my-username|https://ews.my-exhange-provider.com/ews/exchange.asmx|Exchange Web Service] (_getPassword in mivExch 
angeAuthPrompt2.js:140)
1st-setup:2017-4-4 10:9:15.166:mivExchangeAuthPrompt2: getPassword: password(1)=undefined (_getPassword in mivExchangeAuthPrompt2.js:143)
1st-setup:2017-4-4 10:9:15.166: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-4-4 10:9:15.167:mivExchangeAuthPrompt2: passwordManagerGet: username=my-username, aURL=https://ews.my-exhange-provider.com/ews/exchange.asmx, aRealm=Exchange Web Service (_passwordManagerGet in mivExchangeAu
thPrompt2.js:621)
1st-setup:2017-4-4 10:9:15.168:mivExchangeAuthPrompt2: getPassword: There is no password stored in the passwordManager. (_getPassword in mivExchangeAuthPrompt2.js:159)
1st-setup:2017-4-4 10:9:15.168:mivExchangeAuthPrompt2: getPassword: password(2)=undefined (_getPassword in mivExchangeAuthPrompt2.js:163)
1st-setup:2017-4-4 10:9:15.168: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)

I never receive a password prompt. Password IS stored in thunderbird password manager. (NTLM enable/disable makes no difference.)

Everything was working just fine until I updated thunderbird earlier this week.

ECoulter avatar May 25 '17 14:05 ECoulter

I have the same Issue here.

Thunderbird: 52.1.1 Ubuntu 16.04 Exchange Provider 3.9.0 Lightning 5.4.1

Is the first time that i use Exchange Provider, so the password not saved. The prompt not appears when i click in "Check server and mailbox", and after show me Unauthorized.

deividfg avatar Jun 07 '17 13:06 deividfg

Same here, Calendar stopped working after last thunderbird update to 52.1.1 (64-Bit) with forced Lightning update to 5.4 , but gave no errors or what was wrong at all. So I setup a fresh profile and installed Lightning 5.4 and EWS Provider 3.9.0. Upon creating a new EWS Calender I get the 401 error, but there are no passwords stored, since I set up a totally new profile.

ghost avatar Jul 27 '17 09:07 ghost

I have the same problem as deividfg and mondjunge and was looking at this page since some weeks now hoping there would be a fix.

Ubuntu 16.04 Thunderbird 52.4.0 Exchange Provider 3.9.0 Lightning 5.4

SusanneX avatar Oct 26 '17 06:10 SusanneX

Hello SusanneX,

try using the latest beta release under https://github.com/ExchangeCalendar/exchangecalendar/releases, this should fix your problems, it did for me (ubuntu 16.04, Thunderbird 52.3.0, Lightning 5.4, Exchange EWS Provider 4.0.0-beta4)

Cheers mondjunge

ghost avatar Oct 26 '17 09:10 ghost

Thanks a lot mondjunge. You made my day, everything works again.

SusanneX avatar Oct 27 '17 05:10 SusanneX