Ericsson / exchangecalendar

Exchange 2007/2010/2013 Calendar, Tasks, Contacts and GAL Provider.
GNU General Public License v3.0
925 stars 112 forks source link

Logging error #434

Open marcindabrowski opened 8 years ago

marcindabrowski commented 8 years ago

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.

bavincen commented 8 years ago

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

On Fri, Feb 26, 2016, 17:08 marcindabrowski notifications@github.com 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.

marcindabrowski commented 8 years ago

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

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

marcindabrowski commented 8 years ago

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

roman-parkhunovskyi commented 7 years ago

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

mephinet commented 7 years ago

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

berglh commented 7 years ago

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.

rford commented 7 years ago

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

tikkav commented 7 years ago

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

ghost commented 7 years ago

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.

matgerard commented 7 years ago

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

golanv commented 7 years ago

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.

haljhon commented 7 years ago

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.

ECoulter commented 7 years ago

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.

deividfg commented 7 years ago

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.

ghost commented 7 years ago

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.

SusanneX commented 7 years ago

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

ghost commented 7 years ago

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

SusanneX commented 7 years ago

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