Closed Bug 721013 Opened 12 years ago Closed 10 years ago

password check window for "provider for google calendar" plugin keeps popping up

Categories

(Calendar :: Provider: GData, defect)

Lightning 1.0b7
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jeroen, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0) Gecko/20100101 Firefox/7.0
Build ID: 20110922153450

Steps to reproduce:

I have Lightning 1.0b7 and Provider for Google Calendar 0.8. It works correctly with the Google Calendars from my colleagues, which I can all access and their password has been stored in the saved password list. 


Actual results:

But my own Google Calendar won't show up. It keeps asking me for a password. When i enter it correctly, it never saves it, and won't even accept it.


Expected results:

It should save my password in the saved passwords list and should show my calendar in Lightning.
Component: Security → Provider: GData
Product: Thunderbird → Calendar
QA Contact: thunderbird → gdata-provider
Version: 7 → Trunk
Is the password correct? Do you need to use a different password because of Google 2-step verification? Any error messages in Tools > Error Console?
Version: Trunk → Lightning 1.0b7
Password is correct, No Google 2-step verification active. Error message in console:

Fout: Assert failed: replay action failed: null, uri=https://www.google.com/calendar/ical/jeroen.watte%40gmail.com/private-70c7a13d500ddf7d91e9893b9302d7ac/basic.ics, result=null, op=[xpconnect wrapped calIOperation]
2: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCachedCalendar.js:236] null
3: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleCalendar.js:1258] cGC_syncItems_response
4: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleCalendar.js:1096] cGC_syncItems_response_onResult
5: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleRequest.js:268] cGR_fail
6: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleSession.js:245] cGS_failQueue_failInQueue
7: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleSession.js:252] cGS_failQueue
8: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleSession.js:386] cGS_loginAndContinue
9: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleSession.js:467] cGS_onResult
10: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleRequest.js:268] cGR_fail
11: [resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleRequest.js:420] cGR_onStreamComplete

Bronbestand: resource://calendar/modules/calUtils.jsm -> file:///home/jeroen/.thunderbird/Profiles/mailprofiel/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Regel: 982
I am having what appears to be the same or similar issue.

Thunderbird 15.0.1
Lightning 1.7b1
Provider For Google Calendar 0.16

I tick 'save password' option but each time I restart Thunderbird I am prompted for Google Calendar password again.

I noticed the following error in the Error Console:
Timestamp: 09/25/12 14:41:23
Error: Assert failed: [Exception... "User canceled master password entry"  nsresult: "0x80004004 (NS_ERROR_ABORT)"  location: "JS frame :: resource:///components/crypto-SDR.js :: <TOP_LEVEL> :: line 115"  data: no]
2: [null:0] null
3: [resource://calendar/modules/calAuthUtils.jsm:100] calPasswordManagerSave
4: [null:0] null
5: [resource://calendar/modules/calUtils.jsm -> file:///home/avg/.thunderbird/475hreqq.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleUtils.js:181] passwordManagerSave
6: [resource://calendar/modules/calUtils.jsm -> file:///home/avg/.thunderbird/475hreqq.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleSession.js:444] cGS_onResult
7: [resource://calendar/modules/calUtils.jsm -> file:///home/avg/.thunderbird/475hreqq.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleRequest.js:229] cGR_fail
8: [resource://calendar/modules/calUtils.jsm -> file:///home/avg/.thunderbird/475hreqq.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleRequest.js:241] cGR_succeed
9: [resource://calendar/modules/calUtils.jsm -> file:///home/avg/.thunderbird/475hreqq.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleRequest.js:363] cGR_onStreamComplete
10: [null:0] null
11: [null:0] null

Source File: resource://calendar/modules/calUtils.jsm -> file:///usr/local/lib/thunderbird/extensions/lightning@thunderbird.mozilla.org/calendar-js/calUtils.js
Line: 1122

Note that despite "User canceled master password entry" I did not cancel anything.
I correctly entered master password.
(In reply to Jeroen Watté from comment #2)
> Password is correct, No Google 2-step verification active. Error message in
> console:
> 
> Fout: Assert failed: replay action failed: null,
> uri=https://www.google.com/calendar/ical/jeroen.watte%40gmail.com/private-
> 70c7a13d500ddf7d91e9893b9302d7ac/basic.ics, result=null, op=[xpconnect
> wrapped calIOperation]

Jeroen, this appears to be an iCal calendar (.ics) and not a calendar normally accessed via the GData provider. It is no surprise then, that the authentication is failing.


(In reply to Andriy Gapon from comment #3)
> I am having what appears to be the same or similar issue.
> 
> Thunderbird 15.0.1
> Lightning 1.7b1
> Provider For Google Calendar 0.16
 
Andriy, this may or may not be the same issue. Can you confirm that your calendar really *is* not set up as an iCal url (i.e., the url should *not* end in ".ics")?

Also, just for clarity, do you happen to get multiple master password prompts when starting Thunderbird, perhaps as described in bug 584014?
Really, I should have also referenced bug 682474, Andriy. Both deal with multiple master password prompts, however, this one in particular deals with calendars being involved.
Sorry to post in an old bug, but I think this one applies to me.
Another data point here.
Thunderbird 21.0, Lightning 2.3b1, GData Provider 0.18.
GMail account (not google apps), with 2-step authentication. Using application-specific password for auth in Thunderbird (works for IMAP)

I too get repeated requests for my password, with no successful calendar load. There are two interesting lines out of the log (usernames redacted for privacy):

[calGoogleCalendar] Adding item https://www.google.com/calendar/feeds/username.redacted%40gmail.com/private/full to queue
[calGoogleCalendar] Logging in to username.redacted@gmail.com
[calGoogleCalendar] Got the pw from the calendar credentials: username.redacted@gmail.com
[calGoogleCalendar] Logging in to username.redacted@gmail.com
[calGoogleCalendar] Could not get any credentials for username.redacted@gmail.com (username.redacted@gmail.com)
[calGoogleCalendar] Recieved response for https://www.google.com/calendar/feeds/username.redacted%40gmail.com/private/full (full sync)
[calGoogleCalendar] Error syncing items:
[Exception... "null"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///home/user/.thunderbird/00byjptx.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/js/calGoogleCalendar.js :: cGC_syncItems_response :: line 1018"  data: no]

I tried this with another gmail account, this time without 2-step, and got the same results.
The "Got pw" and "Logging in" lines repeat each time I enter my password, but there's no progress past that point.

I'll also confirm that in both cases I'm using the XML, not iCal link, from my google calendar.
Don, I think you are combining wrong versions. Please try Provider for Google Calendar Beta together with Thunderbird Beta and Lightning Beta: https://addons.mozilla.org/en-US/thunderbird/addon/provider-for-google-calendar/#beta-channel
There has been a major rewrite of the Provider for Google Calendar between version 0.32 and 1.0. A vast number of bugs have been fixed during this rewrite, therefore I am closing lots of old bugs that I think might either be fixed or no longer apply to the latest version.

Please read the updated FAQ [1] for details on known issues. If you can reproduce your issue with the latest version of the Provider for Google Calendar and you can't find an existing bug that handles your case, please reopen this issue.

Thank you for your understanding.

[1] https://wiki.mozilla.org/Calendar:GDATA_Provider
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.