Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Google Calendar Sync

  1. #11
    Join Date
    Sep 2007
    Posts
    37
    Rep Power
    8

    Default

    I'm having trouble sharing a public calendar from Zimbra to Google. I was able to get an initial calendar out and displayed on Google but when a new event is added on the Zimbra side, it isn't visible on Google. What is going on here? Am I missing something?

  2. #12
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    8

    Default

    Quote Originally Posted by hchan View Post
    I'm having trouble sharing a public calendar from Zimbra to Google. I was able to get an initial calendar out and displayed on Google but when a new event is added on the Zimbra side, it isn't visible on Google. What is going on here? Am I missing something?
    No. If you go back and look at my earlier post you will see that I mentioned that. I have seen where it will take about a day and it will finally update. If I remember right, you can vote for this bug for them to fix that issue so it will update more often.

    dj

  3. #13
    Join Date
    Feb 2008
    Posts
    1
    Rep Power
    7

    Default Workaround

    I use this as a quick and crude workaround to use a Zimbra calendar with a self-signed SSL certificate and HTTP authentication in Google Calendar:
    Code:
    <?php
    header('Content-Type: text/calendar; charset=utf-8');
    header('Content-Disposition: attachment; filename="calendar.ics"; ');
    print file_get_contents("https://myuser:mypass@myserver/zimbra/home/myuser/calendar.ics");
    ?>
    Last edited by hba; 02-14-2008 at 04:59 AM.

  4. #14
    Join Date
    Jan 2007
    Posts
    4
    Rep Power
    8

    Thumbs up

    Quote Originally Posted by hba View Post
    I use this as a quick and crude workaround to use a Zimbra calendar with a self-signed SSL certificate and HTTP authentication in Google Calendar:
    Code:
    <?php
    header('Content-Type: text/calendar; charset=utf-8');
    header('Content-Disposition: attachment; filename="calendar.ics"; ');
    print file_get_contents("https://myuser:mypass@myserver/zimbra/home/myuser/calendar.ics");
    ?>

    Very nice! Elegant, yet hackish - I love it. For myself, I need to access several different calendars on a server, so added a get variable for the name thusly:

    Code:
    <?php
    header('Content-Type: text/calendar; charset=utf-8');
    header('Content-Disposition: attachment; filename="calendar.ics"; ');
    print file_get_contents("https://myuser:mypass@myserver/zimbra/home/".$_GET['user']."/calendar.ics");
    ?>
    ... and set the calendar URL in google like:

    Code:
    http://my.private.com/ical.php?user=joeuser


    Sean P. O. MacCath-Moran (Welcome | emanaton.com)
    Triskele Media (Welcome to Triskele Media Internet Solutions | Triskele Media Internet Solutions)
    Last edited by emanaton; 04-02-2008 at 01:04 PM.

  5. #15
    Join Date
    Feb 2008
    Location
    Easton PA
    Posts
    63
    Rep Power
    7

    Default

    I found that google calendar doesn't give the "couldn't fetch URL" error, if you substitute "http://" with "webcal://" and then remove the "?fmt=ics". I.e.

    webcal://user%40server.comasswd@my.zimbra.server.com/path/

    I found that Zimbra insisted that the external user be an email address so the %40 work around also had to be used. The above works well on Apple iCal. Google accepts it, but now I'm waiting for my content. If Google accepts it, then that should make debugging easier. I'm using a valid cert on my Zimbra server.

  6. #16
    Join Date
    Feb 2010
    Posts
    14
    Rep Power
    5

    Default

    Quote Originally Posted by Rich Graves View Post
    [...] So Google would have to authenticate to Zimbra.

    As far as I've been able to determine, Google doesn't send authentication in external iCal URLs (the user%40company.comassword@ bit), nor would Zimbra accept those parameters if sent. So you can only share your calendar to Google if it's configured to be completely public.
    [...]
    Sorry for the bump, this is the best thread I found.

    In the first place, thank you Rich for the insight about authentication. It's a real pain, I still do not understand why every browser will hand out the ics file with no complaints but google will not import the data this way.

    Anyone has found a solution? (I forgot to point out that the php script poses a security risk I'd rather not take)

    Thanks again,

    Joe
    Last edited by Josef; 07-18-2013 at 12:51 AM.

Similar Threads

  1. Hangs on "Loading" screen
    By gbr in forum General Questions
    Replies: 16
    Last Post: 06-19-2008, 02:01 PM
  2. Zimbra Mobile fails with Java Exception
    By JasonChase in forum Zimbra Mobile
    Replies: 7
    Last Post: 01-21-2008, 07:25 PM
  3. ZCS 4.5.4 Mobile - No Multiple Calendar Sync?
    By dlbewley in forum Zimbra Mobile
    Replies: 9
    Last Post: 07-08-2007, 10:13 PM
  4. [SOLVED] iSync issues (calendar sync hangs)
    By mbd in forum CalDAV / CardDAV / iSync
    Replies: 17
    Last Post: 06-11-2007, 12:36 PM
  5. Outlook connector sync fails for shared calendar -- release 4.03GA
    By nyamada in forum Zimbra Connector for Outlook
    Replies: 13
    Last Post: 11-21-2006, 02:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •