Have you tried to subscribe with the unencoded google url ?
André Am 03.03.2011 21:45, schrieb Corrado Fiore:
Dear All, I'm trying to subscribe one of the public calendars provided by Google (Italian holidays), at the following URL: http://www.google.com/calendar/ical/it.italian%23holiday%40group.v.calendar.google.com/public/basic.ics If I call that URL from a browser or from iCal.app, it works fine. SOGo will refuse to subscribe it ("Error during import"). Here you are the relevant log lines: Mar 03 21:41:47 sogod [26045]: |SOGo| version 1.3.5 (build r...@vizzini.inverse.ca 201102070652) -- starting Mar 03 21:41:47 sogod [26045]: |SOGo| vmem size check enabled: shutting down app when vmem> 384 MB 2011-03-03 21:42:37.873 sogod[26045] Note: Using UTF-8 as URL encoding in NGExtensions. Mar 03 21:42:38 sogod [26045]: |SOGo| starting method 'POST' on uri '/SOGo/so/myu...@corradofiore.it/Calendar//addWebCalendar?url=http%3A//www.google.com/calendar/ical/it.italian%2523holiday%2540group.v.calendar.google.com/public/basic.ics' Mar 03 21:42:38 sogod [26045]:<0x0x8db9878[SOGoCache]> Cache cleanup interval set every 300.000000 seconds Mar 03 21:42:38 sogod [26045]:<0x0x8db9878[SOGoCache]> Using host(s) 'localhost' as server(s) Mar 03 21:42:38 sogod [26045]: |SOGo| traverse(acquire): myu...@corradofiore.it => Calendar => addWebCalendar Mar 03 21:42:38 sogod [26045]: |SOGo| do traverse name: 'myu...@corradofiore.it' 2011-03-03 21:42:38.103 sogod[26045] Note(SoObject): SoDebugKeyLookup is enabled! 2011-03-03 21:42:38.103 sogod[26045] Note(SoObject): SoDebugBaseURL is enabled! 2011-03-03 21:42:38.103 sogod[26045] Note(SoObject): relative base URLs are enabled. Mar 03 21:42:38 sogod [26045]: |SOGo| do traverse name: 'Calendar' Mar 03 21:42:38 sogod [26045]:<<0x09084A78[SOGoUserFolder]:myu...@corradofiore.it>>D traverse key 'Calendar' (acquire=yes) .. Mar 03 21:42:38 sogod [26045]: [WARN]<0x0x908f5b8[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists in DAV permissions table Mar 03 21:42:38 sogod [26045]: [WARN]<0x0x908f5b8[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' already exists in DAV permissions table Mar 03 21:42:38 sogod [26045]: [WARN]<0x0x908f5b8[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already exists in DAV permissions table Mar 03 21:42:38 sogod [26045]:<<0x09084A78[SOGoUserFolder]:myu...@corradofiore.it>>D key 'Calendar' resolved:<0x0908C1C0[SOGoAppointmentFolders]: name=Calendar container=0x09084A78/myu...@corradofiore.it> Mar 03 21:42:38 sogod [26045]: |SOGo| do traverse name: 'addWebCalendar' Mar 03 21:42:38 sogod [26045]:<<0x0908C1C0[SOGoAppointmentFolders]:Calendar>>D traverse key 'addWebCalendar' (acquire=yes) .. Mar 03 21:42:38 sogod [26045]:<<0x0908C1C0[SOGoAppointmentFolders]:Calendar>>D key 'addWebCalendar' resolved:<0x0x8f3e8d0[SoActionInvocation]: class=UIxCalMainActions action=addWebCalendar> Mar 03 21:42:38 sogod [26045]: |SOGo| set clientObject:<0x0908C1C0[SOGoAppointmentFolders]: name=Calendar container=0x09084A78/myu...@corradofiore.it> 2011-03-03 21:42:40.475 sogod[26045] WOCompoundElement: pool embedding is on. 2011-03-03 21:42:40.475 sogod[26045] WOCompoundElement: id logging is on. 2011-03-03 21:42:40.477 sogod[26045] Note: using 'UCS-2LE' on Linux. C: connect to<0x0x906bfc0[NGInternetSocketAddress]: host=MYHOST.com not-filled> ...smtp stuff here... S:<SMTP-Reply: code=250 line='2.0.0 Ok: queued as 53FB5A6784B3'> C: QUIT S:<SMTP-Reply: code=221 line='2.0.0 Bye'> Mar 03 21:42:41 sogod [26045]: |SOGo| request took 3.582545 seconds to execute 127.0.0.1 - - [03/Mar/2011:21:42:41 GMT] "POST /SOGo/so/myu...@corradofiore.it/Calendar//addWebCalendar?url=http%3A//www.google.com/calendar/ical/it.italian%2523holiday%2540group.v.calendar.google.com/public/basic.ics HTTP/1.0" 200 16/0 3.715 - - 3M --- The first thing I notice is that the URL provided by Google is already encoded. SOGo does double encoding in the url parameter (%23 becomes %2523): url=http%3A//www.google.com/calendar/ical/it.italian%2523holiday%2540group.v.calendar.google.com/public/basic.ics Is this a bug in SOGo? Thanks, Corrado Fiore
-- users@sogo.nu https://inverse.ca/sogo/lists