Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-19-2007, 10:13 PM
New Member
 
Posts: 3
Default Google Calendar Sync

Hi,

I'm having a difficult time creating a calendar to sync with a Google Calendar. When I create a calendar to sync with an external calendar, I can import my 'Public' google calendar that just shows busy/available time. When I try this with my private calendar with full info, I get an error message 'The following URL is not reachable..'. I know it's good as I can download the ical file.

Anyone else experience this or have success?
Reply With Quote
  #2 (permalink)  
Old 01-19-2007, 10:30 PM
Zimbra Employee
 
Posts: 274
Default

full stack traces from the logs, the URL, etc. Not enough info in your report.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 12-19-2007, 07:07 AM
New Member
 
Posts: 4
Default I too can't seem to get Google to accept it...

I've constructed this address to use:

http://user%40company.com:password@z...endar/?fmt=ics

I do NOT have it shared as public, nor do I believe I should have to as I am authenticating and all.

When I enter this in my browser, a proper calendar is downloaded as it should, so I'm convinced that the URL is appropriate.

However, google, after awhile, says: "Could not fetch the url."

I can't see how this is a firewall issue, as I can access my Zimbra server from other places without issue.

Any ideas?
Reply With Quote
  #4 (permalink)  
Old 12-19-2007, 07:09 AM
New Member
 
Posts: 4
Default

I've constructed this address to use:

http://user%40company.com:password@z...endar/?fmt=ics

I do NOT have it shared as public, nor do I believe I should have to as I am authenticating and all.

When I enter this in my browser, a proper calendar is downloaded as it should, so I'm convinced that the URL is appropriate.

However, google, after awhile, says: "Could not fetch the url."

I can't see how this is a firewall issue, as I can access my Zimbra server from other places without issue.

Any ideas?
Reply With Quote
  #5 (permalink)  
Old 01-29-2008, 10:36 AM
Advanced Member
 
Posts: 215
Default Just confirming .....

I'm running into the same thing ... my guess is its on google's side ... no idea how to rectify it though

It seems as though google calendar wont allow you to accept the self signed cert so rather than prompting and allowing you to accept, it just fails ... this blows but I can't find a solution on google either

Last edited by SpEnTBoY : 01-29-2008 at 11:37 AM.
Reply With Quote
  #6 (permalink)  
Old 01-30-2008, 06:41 AM
Advanced Member
 
Posts: 244
Default

I want to make sure I am understanding what you are wanting. Are you wanting to bring your private Google Calendar into your Zimbra Calendar? Here is what I use for my Google Calendar to show in Zimbra.

http://www.google.com/calendar/ical/...889d/basic.ics


I use this and my calendar shows up just fine. I got this by clicking on the private ical button in Google and just adding that link.

jd
Reply With Quote
  #7 (permalink)  
Old 01-30-2008, 07:00 AM
Advanced Member
 
Posts: 215
Default

What I'm trying to do is import my calendars from ZCS to Google. There's a google sync app for smartphone I use to sync to my google calendar. Currently trying to import from ZCS to google gives the posted problems and I'm almost positive it's because of the self signed SSL cert (there's no option to accept the certificate through google).

What I'm doing right now is a cludge involving manually exporting ics files from ZCS to import into Google (which works). WHat doesn't work is adding from URL into Google
Reply With Quote
  #8 (permalink)  
Old 01-30-2008, 08:34 AM
Advanced Member
 
Posts: 244
Default

Ok. Here is the address I use for that.

http://SERVERNAME/home/USERNAME/Calendar?fmt=ics

The only problem I have with that is the fact that Zimbra doesn't update the feed as often as it should. I think it's about once a day. So any updates you make during the day might not show up on Google until the next day.

dj
Reply With Quote
  #9 (permalink)  
Old 01-30-2008, 08:54 AM
Outstanding Member
 
Posts: 596
Default

Original poster NycSmart1 was pulling a Google calendar into Zimbra (which I also saw problems with last year; since resolved at both ends, it seems).

SpEnTBoY and mkoistinen want to go the other way, pulling a Zimbra calendar into Google. Complicating things, they don't want to make their calendar public. 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.

The RFE for Google would be to allow entry of basic auth credentials. The RFE for Zimbra would be to allow permanent preauthentication URLs like Google's.

Zimbra does have a single-signon API, but preauthentication is (quite reasonably) time-bound -- you can create a URL to get you into Zimbra without a password, but it includes a digitally signed timestamp making it good for only +/- 5 minutes.

It might be possible for you to do what you want with a level of indirection: write a PHP or CGI script that computes the single-signon token and redirects Google. Or, simpler, have that custom CGI fetch your calendar on Google's behalf.

It might be a better use of your time to look for something allowing iCal import to your device, without Google as the middleman. With Google in the middle, you're not getting bidirectional sync anyway. Unidirectional sync is a much simpler problem, for which there must be some more direct solution for you somewhere.
Reply With Quote
  #10 (permalink)  
Old 01-30-2008, 09:00 AM
Advanced Member
 
Posts: 215
Default

That's pretty close ... with mine I have mine publicly viewable (read only) so I do not pass any username and password. Here's my link:

https://mail.bangtherockstogether.ne...lonny/Calendar

If you go to that URL it'll probably ask you to accept the source (cert) and then gladly give you the ics file ... with Google calendar, there's no prompt to accept the certificate so it fails. If I could just have the Google side accept or let me cache my cert somehow I think I'd be ok
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0