-
Notifications
You must be signed in to change notification settings - Fork 57
HTTP Basic Authentication error (was: Repeating issues with the extension) #148
Comments
Hello, Thanks for the report. I'll try to explain what I've seen while trying to debug the "password shown in dialog box". To get a password, ExchangeCalendar does this step (I'm writting what I remember, that's the overall idea):
So, yes, you need to provide just a password, maybe there's a bug in these parts:
The workaround provided by 4.0.0-beta5 for the issue "password shown in dialog box" fixes the way the password is given to the HTTP channel: Thunderbird chanel API give us a way to update the password simply with So, now we use another way from the channel API: To summary, I think we could have bugs in these parts (starting with the most probable):
For thoes who are interested to view this codes: HTTP requests are handled in There's also two ways to get the password:
That's just an overall summary of the overall process. I need to read your logs (thank you!). I don't know exactly what are the options provided by the ExchangeCalendar extension, but can you tell us if the extension password cache is enabled (not sure if there's an option) and if your are using the Thunderbird password manager ? |
Hi, I am not too sure what does the first question mean. Is it a separate cache from the application one? I did a bit of searching in the options and could only find Thunderbird's own cache. ul0XXXXX username # ls -lh /home/username/.thunderbird/cw4dpk9x.my.name/exchange-data/ Yes, I am using thunderbird password manager and the password does appear there. |
For the username + domain format, I know that You could use the old (before windows 2003 IIRC) way to format this with The last one caused issues and we so recommand to use the first one. IIRC, the way compatible with pre-2003 servers has some limitations like the username and domain lengths. I've just read the logs and unfortunately, it don't contains the interesting part (authentication log). Could you try again with a more verbose way for the authentication process (you can find it in the exchange settings in Thunderbird properties dialog) ? |
So, I set all the logs to max possible verbosity now I can't change the username since after clicking 'check server and mailbox' it just hangs as if there was no network connection. It appears that there is the very same error (same cause?) when authenticating and also when trying to change the username in EWS settings. 1st-setup:2018-0-2 7:54:33.153:mivExchangeAuthPrompt2: asyncPromptAuthNotifyCallback: Already showing a prompt or trying to get the password for URL 'https://cas.mycompany.com/EWS/Exchange.asmx'. Not going to try again until the active one has finished. (_asyncPromptAuthNotifyCallback in mivExchangeAuthPrompt2.js:265) (removed log) |
Hi, any ideas @Trim ? |
Hello, I've just found these lines in your logs:
I see some bugs with this log:
As your Exchange server seems to support Maybe you'll be able to authenticate with |
After taking some time, I've found an issue in the way the extension tries to authentication with Basic HTTP authentication while reading I believed that my Exchange provider were using it, but I only have the So, I can't test my proposed fixes. Could you try them ? Either by building code from my Trim/exchangecalendar/fix-reading-realm-from-www-authenticate branch either by downloading my build from my cloud. |
Hi, I would like to try it, but thunderbird simply will not turn on. It was similar for the older version as well. beta-4, beta-5. I don't know what causes it, it seems to start working after some time, but now I restarted the machine and TB several times and still can't get it to work. At the moment: There's not much log I can attach, I hope this is enough. #141 seems like the same issue |
For your last issue (Thunderbird hangs up), we'll continue discussion in #141 I'm keeping this bug open to ask community to check if the proposed patch works for a user using HTTP Basic authentication. If someone can confirm this works, it will be easier to take the decision to merge it. |
Hi, |
I just tried v4.0.0-beta5 with 261d3d2 cherry-picked on top and it did not help. I'm not 100% sure if I have the same problem though. Password prompts started popping up 2 or 3 weeks ago and will sometimes accept and other times not accept my password. I've also seen parts of my password being scrambled together with the username in the description of the dialog. Should I try another version? |
Thanks, I'll do a PR with the fix. For the issue with the Personnaly, I think we should find a way to stop customizing the channels by:
@zuckel |
Hi,
Up until recently everything worked pretty much fine, but then came some thunderbird and lighting update (thunderbird wouldn't load correctly). I was waiting for a new version with a hope that it'll fix my issues, but unfortunately it did not.
It seems that the extension is sending bad password and/or username. When I go to the EWS webpage I can authenticate just fine, it only asks me for the password once, but in thunderbird it asks me for password three times. Before the latest release it used to show my password sometimes and it was missing half the characters. My password is over 25 characters long now, and it was always showing the first 11 characters.
Perhaps it is asking for a username first, then for the password while the box is saying 'password' all the time?
In ews settings of calendar I tried
username
domain\username
domain/username
username@domain
OS is Linux Mint 18.2 64
Version 52.6.0
User Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
Exchange Calendar 4.0.0-beta5 true exchangecalendar@extensions.1st-setup.nl
Lightning 5.4.6 true {e2fda1a4-762b-4020-b5ad-a41df1933103}
Manually sort folders 1.1.1 true tbsortfolders@xulforum.org
Provider for Google Calendar 3.3 true {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
ThunderKeepPlus 0.10.0 true thunderkeepplus@gmail.com
Also right now the folder structure when adding a new calendar keeps loading forever and it never works in the end (Check server and mailbox). This was also an issue in previous version.
In logs I tried to obscure sensitive information, so it says like domain.com, or mycompanyemailaddress@domain.com.
Starting from line 387 is right after I input my password to the box. In case of this log it was done 3 times.
thunderbird.log
The text was updated successfully, but these errors were encountered: