Closed Bug 510850 Opened 15 years ago Closed 13 years ago

Failing to configure Google calendar as a CalDAV server

Categories

(Calendar :: Provider: CalDAV, defect)

Lightning 0.9
x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 247486

People

(Reporter: gwlperl, Unassigned)

Details

(Whiteboard: [CalDAV server: Google])

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008103100 SUSE/3.0.4-4.6 Firefox/3.0.4 Build Identifier: 2008091718 I've been able to get this to work a couple of times out of 50. Follow the google instructions for configuring sunbird/lightning. (Sunbird works fine, btw). The CALDAV url looks like this: (for me, as an example) https://www.google.com/calendar/dav/gwlperl@gmail.com/events As per googles instructions. Lightning accepts the calendar, (without ever asking me for my google password) however, this usually results in a little yellow triangle that shows a "hover" message "The calendar is momentarily not availible". Serveral times, it has accepted the calendar, and asked me for my password, and partially (another bug) worked. Sunbird 0.9 works with these settings read/write just fine, from the same computer. Linux Kernel: 2.6.27 -- OpenSuse 11.1 Thunderbird version 20090605 Reproducible: Always Steps to Reproduce: 1. Install thunderbird, add-on lightning (current) 2. Attempt to add google caldav calendar as per above instructions. 3. It may work, most times it does not for me. Actual Results: LIghtning sits with the "momentarily unavailible" icon. Expected Results: I expect it to connect to ask me for my google password and connect to the damn server! As I mentioned -- the settings work fine with Sunbird, every time. On one occasion I got this to work, don't know how, it has not worked since, so yes, I can reproduce this every time now.
Do you want to access multiple calendars from different Google Calendar accounts at the same time? This won't work due to Bug 475188. To get more information for the CalDAV developers I suggest the following: If the issue happens again open Tools > Error Console and check if it contains more information about the reason for the failure. If yes please copy and paste them here. If there is no additional information: Set the advanced preference "calendar.debug.log" to true and restart Thunderbird. Repeat to steps to reproduce the failure and proceed as above.
Component: Lightning Only → Provider: CalDAV
QA Contact: lightning → caldav-provider
Whiteboard: [CalDAV server: Google]
Version: unspecified → Lightning 0.9
Gerry, does this still happen with the latest 1.0b2pre nightlies?
I find this behaviour inconsistently occurs between Sunbird and Lightning, both in 0.9 and 1.0 releases. We are trying to migrate to SeaMonkey+Lightning at work, but we find that this bug is a problem. We also find that it's inconsistent from machine to machine, but always consistent on a particular machine. For example, on my laptop, Sunbird 0.9 and 1.0 both work correctly, but neither version of Lightning does. However, on one of our desktops at work, it is Lightning that works without fail and Sunbird that does not. No amount of uninstalling and/or reinstalling appears to change the behaviour on one particular machine. My personal desktop at home is the only one that seems different; both Sunbirds work, but Lightning 0.9 didn't, while Lightning 1.0 does. No other upgrades seem to have any effect.
Blaine, that's with 1.0b2?
Yes, originally with 0.9, but continues into the newer versions. Note that I've only checked lightning 1.0b1; I wasn't aware of 1.0b2. I'll check that later today and get back to you. It appears that there are frequent times when the Google Calendar is inaccessible from Google's side. If the original configuration is attempted during one of these periods, then the software somehow flags that server as one which does not require a password, and then never requests one, even when the server returns to normal operation. If 1.0b2 (or some other version) keeps track of those remote calendars which have errors on the first attempt and keep checking all aspects of configuration with future updates, this may take care of the problem.
Addendum: I can't check 1.0b2 because it's incompatible with SeaMonkey 2.0.5. (I'm not using Thunderbird.)
Gerry, Blaine, any update on your problem with Lightning using Google Calendar via CalDAV?
Summary: LIghtning fails to configure google calendar as a CALDAV server, most of the time. → Failing to configure Google calendar as a CalDAV server
With lightning 1.2.1 on Thunderbird 10.0.2 I get constant password prompts, it never full activates.
I get this problem all the time in both the latest Sunbird & Lightening versions. When I go to add or edit an event on a google calendar in either programs, it comes up firstly with an error that just says Modify_Fail and nothing more. Then I get the yellow triangle saying the calendar(s) are momentarily not available & even though I wait (for up to a couple of hours sometimes) they never resync. I have to delete them completely and then re-add them to either program to update. This happens every single time I try to add or edit an event. So after reading the above, I am at a loss as to what can be done next to make this work.
I've done several tests inside a clean virtual machine (O/S = XP) with TB 12.0.1 + LT 1.4 and I can *confirm* this problem. However, please note that: 1. This problem ONLY happens when I configure TWO Google calendars. When I configure only one Google calendar, there's no problem. If you go inside Tools > Options > Security > Passwords and have a look at "Saved passwords", you could see that only one Google account is saved! This seems to be bug 247486 but it was closed as RESOLVED on 2011-09-15 !? 2. This problem happens no matter if your calendar account is "linked" to mail account or not. That doesn't make any difference. The only workaround is, unfortunately, to configure only one Google calendar, or to delete all but one Google calendar. Please check if saved password is matching the correct Google account. If not, remove it and restart TB to make it ask you the new credentials again.
Seak, did you enable the pref mentioned in that bug?
That bug has more than 100 comments. You don't really expect me to read them all, do you? :D I just did a quick search on the keyword "resolved" or "closed" to see when it was closed. I've read the last few comments. Are you talking about calendar.network.multirealm? If yes, then the answer is no. My tests are based on default values: installing TB and LT into clean VM and configure like any simple user would do. That's all I did.
OK, I've done this: 1. Set calendar.network.multirealm to true 2. Remove saved password of all Google CALDAV account 3. Restart TB And multiple Google calendars are now supported! Great! So this bug is really a dup of bug 247486 PS: If you ask if steps 2 & 3 are necessary, I have no answer. Since I can't make TB ask me to input the credentials, I figured this is faster.
Resolving as duplicate per Comment 13. Do not forget: if you want to access multiple calendars from different Google Calendar accounts at the same time you have to enable the advanced preference "calendar.network.multirealm" first.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Really, really sorry if I'm being stupid, but surely this isn't resolved? I've tried doing exactly what Teng-Fong suggested in comment #13: 1. Set calendar.network.multirealm to true 2. Deleted all online calendars from Lightning (google calendars) 3. Restarted TB 4. Set up calendars again (and prompted for passwords on all of them) 5. Still cannot access more than one google calendar (others have yellow triangle) I'm running Thunderbird 15.0 (downloading ready-built release version), Lightning 1.7 and Provider for Google Calendar 0.16 on Windows XP. In the bug quoted in comment #14 there is a proposed patch to apply, but I'm not building my own version of TB (so presumably can't do this) and comment #13 seemed to suggest that this isn't necessary.
Hi Charlotte. You steps seem correct. But I see that you're using "Provider for Google Calendar 0.16" but I don't use it. I use Lightning's native support to Google calendar through CalDAV. Maybe your could try it. If you are stuck, write me a private message and I'll try to help in my spare time.
Apologies for the delay in posting and thank you very much Teng-Fong. From what I can see, Lightening doesn't work with multiple Google Calendars when setting them up as 'Google Calendar'. However, using CalDAV and setting calendar.network.multirealm to true works wonderfully! In case anyone comes across this thread and wants to know how to do setup a CalDAV calendar on Lightening, instructions are on http://support.google.com/calendar/bin/answer.py?hl=en&answer=99358 (follow instructions for Sunbird).
Hello Charlotte, I have the same problem as you and I can not find any solutions ... On the link you put, there is no configuration for sunbird. Would you have another link?
(In reply to Antoine from comment #18) > Hello Charlotte, I have the same problem as you and I can not find any > solutions ... > On the link you put, there is no configuration for sunbird. > Would you have another link? The purpose of bugzilla is to track bugs and discuss methods and ways to correct them. It's not really a place to ask for help. A better place, IMO, is to write to newsgroup mozilla.dev.apps.calendar (or write to me and I'll reply in my spare time).
You need to log in before you can comment on or make changes to this bug.