Re: [eGroupWare-users] Iphone calendar and CALDAV

by ctrlaltcaon 2009-06-22T16:35:03+00:00

Re: [eGroupWare-users] Iphone calendar and CALDAV

by Scott Graybanon 2009-06-22T16:47:34+00:00.
Yup that is the same error we get as well... 404 Not Found and we
haven't figured out why.
ctrlaltca said the following on 22/06/09 09:08:
> (Sorry if i'm not following the correct conversation thread, i've just
> joined this ml)
>
> I've read on the web the mailing list conversation about egroupware
> support for iphone3.0/groupdav. I've tried to debug it a bit, but i
> think i miss the basic knowledge about caldav to proceed.
>
> So, i've saved the wireshark textual dumps of an iphone trying to
> connect to egroupware, and attached them to this email.
> Note: 192.168.252.241 is the egroupware server, 192.168.252.170 is the
> iphone.
>
> I'll be glad to help working out this small bug, i'm a professional
> php developer with a some spare time.. just contact me here or on irc:
> CtrlAltCa@freenode
>
> Fabio Bas
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> ------------------------------------------------------------------------
>
> _______________________________________________
> eGroupWare-users mailing list
> eGroupWare-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/egroupware-users
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: [eGroupWare-users] Iphone calendar and CALDAV

by Ralf Beckeron 2009-06-22T17:36:52+00:00.
Hi,
the 404's in a 207 Multistatus are no problem, it just tells the client,
which attributes are not supported by the server.
Here's the interesting part:
REPORT /eg/groupdav.php/calendar/ HTTP/1.1
Host: 192.168.252.241
User-Agent: DAVKit/4.0 (728.3); iCalendar/1 (34); iPhone/3.0 7A341
Authorization: Basic (password_removed)
Content-Type: text/xml
Depth: 1
Content-Length: 347
Connection: close














So the iPhone asks for all calendar events after 21th Mai 2009 22h.
And EGroupware answers there are none.
HTTP/1.1 207 Multi-Status
Date: Mon, 22 Jun 2009 15:27:49 GMT
Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h DAV/2 PHP/5.2.9
SVN/1.4.6
X-Powered-By: PHP/5.2.9
Cache-Control: no-store, no-cache, must-revalidate, post-check=3D0,
pre-check=3D0
Pragma: no-cache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
X-Dav-Powered-By: eGroupWare CalDAV/CardDAV/GroupDAV server
X-WebDAV-Status: 207 Multi-Status
Content-Length: 87
Connection: close
Content-Type: text/xml; charset=3D"utf-8"



Just from looking at the request and response, I can not tell if that's
correct, or if EGw can not parse the query.
One problem could be, that time-range only has a start but no end attribute.
Do you get anything in Apache's error_log like:
- calendar_groupdav::_report_filters(...) unknown filter --> ignored
- calendar_groupdav::_report_filters(...) param-filter=3D'xxxxxxxx' not
(yet) implemented!"
Looking into iPhone problems with our CalDAV is on our (Stylite GmbH)
todo. It will happen in next 1-2 weeks probably.
Ralf
ctrlaltca schrieb:
> (Sorry if i'm not following the correct conversation thread, i've just
> joined this ml)
> =
> I've read on the web the mailing list conversation about egroupware
> support for iphone3.0/groupdav. I've tried to debug it a bit, but i
> think i miss the basic knowledge about caldav to proceed.
> =
> So, i've saved the wireshark textual dumps of an iphone trying to
> connect to egroupware, and attached them to this email.
> Note: 192.168.252.241 is the egroupware server, 192.168.252.170 is the
> iphone.
> =
> I'll be glad to help working out this small bug, i'm a professional php
> developer with a some spare time.. just contact me here or on irc:
> CtrlAltCa@freenode
> =
> Fabio Bas
> =
> =
> ------------------------------------------------------------------------
> =
> -------------------------------------------------------------------------=
-----
> Are you an open source citizen? Join us for the Open Source Bridge confer=
ence!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: =
$250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridg=
e.org
> =
> =
> ------------------------------------------------------------------------
> =
> _______________________________________________
> eGroupWare-users mailing list
> eGroupWare-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/egroupware-users
-- =
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
________________________________________________
Gesch=E4ftsf=FChrer Andre Keller, Gudrun M=FCller,
Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
---------------------------------------------------------------------------=
---
Are you an open source citizen? Join us for the Open Source Bridge conferen=
ce!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $2=
50.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.=
org
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: [eGroupWare-users] Iphone calendar and CALDAV

by Ralf Beckeron 2009-06-22T18:50:02+00:00.
Sending the report request (after fixing the url and adding my user/pw)
to my own egroupware I get the following response:
ralf@boulder:~/tmp> cat egw+iphone5.txt |netcat localhost 80
HTTP/1.1 207 Multi-Status
Date: Mon, 22 Jun 2009 18:41:47 GMT
Server: Apache/2.2.8 (Linux/SUSE)
X-Powered-By: PHP/5.2.9
Set-Cookie: ZDEDebuggerPresent=3Dphp,phtml,php3; path=3D/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
X-Dav-Powered-By: eGroupWare CalDAV/CardDAV/GroupDAV server
X-WebDAV-Status: 207 Multi-Status
Content-Length: 1919
Connection: close
Content-Type: text/xml; charset=3D"utf-8"



http://localhost/egroupware/groupdav.php/calendar/408.ics


408:8:f14272ae40b2e41dcf70f4a401074d86

HTTP/1.1 200 OK





HTTP/1.1 404 Not Found



http://localhost/egroupware/groupdav.php/calendar/415.ics


415:4:f14272ae40b2e41dcf70f4a401074d86

HTTP/1.1 200 OK





HTTP/1.1 404 Not Found



http://localhost/egroupware/groupdav.php/calendar/545.ics


545:1:f14272ae40b2e41dcf70f4a401074d86

HTTP/1.1 200 OK





HTTP/1.1 404 Not Found



http://localhost/egroupware/groupdav.php/calendar/556.ics


556:0:f14272ae40b2e41dcf70f4a401074d86

HTTP/1.1 200 OK





HTTP/1.1 404 Not Found



Which is a correct response with 3 events in it.
Ralf
Ralf Becker schrieb:
> Hi,
> =
> the 404's in a 207 Multistatus are no problem, it just tells the client,
> which attributes are not supported by the server.
> =
> Here's the interesting part:
> =
> REPORT /eg/groupdav.php/calendar/ HTTP/1.1
> Host: 192.168.252.241
> User-Agent: DAVKit/4.0 (728.3); iCalendar/1 (34); iPhone/3.0 7A341
> Authorization: Basic (password_removed)
> Content-Type: text/xml
> Depth: 1
> Content-Length: 347
> Connection: close
> =
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> =
> So the iPhone asks for all calendar events after 21th Mai 2009 22h.
> And EGroupware answers there are none.
> =
> HTTP/1.1 207 Multi-Status
> Date: Mon, 22 Jun 2009 15:27:49 GMT
> Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h DAV/2 PHP/5.2.9
> SVN/1.4.6
> X-Powered-By: PHP/5.2.9
> Cache-Control: no-store, no-cache, must-revalidate, post-check=3D0,
> pre-check=3D0
> Pragma: no-cache
> Expires: Thu, 19 Nov 1981 08:52:00 GMT
> X-Dav-Powered-By: eGroupWare CalDAV/CardDAV/GroupDAV server
> X-WebDAV-Status: 207 Multi-Status
> Content-Length: 87
> Connection: close
> Content-Type: text/xml; charset=3D"utf-8"
> =
>
>
>
> =
> Just from looking at the request and response, I can not tell if that's
> correct, or if EGw can not parse the query.
> =
> One problem could be, that time-range only has a start but no end attribu=
te.
> =
> Do you get anything in Apache's error_log like:
> - calendar_groupdav::_report_filters(...) unknown filter --> ignored
> - calendar_groupdav::_report_filters(...) param-filter=3D'xxxxxxxx' not
> (yet) implemented!"
> =
> Looking into iPhone problems with our CalDAV is on our (Stylite GmbH)
> todo. It will happen in next 1-2 weeks probably.
> =
> Ralf
> =
> ctrlaltca schrieb:
>> (Sorry if i'm not following the correct conversation thread, i've just
>> joined this ml)
>>
>> I've read on the web the mailing list conversation about egroupware
>> support for iphone3.0/groupdav. I've tried to debug it a bit, but i
>> think i miss the basic knowledge about caldav to proceed.
>>
>> So, i've saved the wireshark textual dumps of an iphone trying to
>> connect to egroupware, and attached them to this email.
>> Note: 192.168.252.241 is the egroupware server, 192.168.252.170 is the
>> iphone.
>>
>> I'll be glad to help working out this small bug, i'm a professional php
>> developer with a some spare time.. just contact me here or on irc:
>> CtrlAltCa@freenode
>>
>> Fabio Bas
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------=
------
>> Are you an open source citizen? Join us for the Open Source Bridge confe=
rence!
>> Portland, OR, June 17-19. Two days of sessions, one day of unconference:=
$250.
>> Need another reason to go? 24-hour hacker lounge. Register today!
>> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebrid=
ge.org
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> eGroupWare-users mailing list
>> eGroupWare-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/egroupware-users
> =
-- =
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
________________________________________________
Gesch=E4ftsf=FChrer Andre Keller, Gudrun M=FCller,
Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
---------------------------------------------------------------------------=
---
Are you an open source citizen? Join us for the Open Source Bridge conferen=
ce!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $2=
50.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.=
org
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: [eGroupWare-users] Iphone calendar and CALDAV

by LupoAlbertoon 2009-06-23T14:09:11+00:00.

Hi friends
I have the same problems with syncing my iphone with the egroupware
calendar. I realized, that the iPhone automaticly removes the last "/" when
I insert the eGroupware link. For my config it means, that I write
"http://mysite.com/myegroupware/groupdav.php/calendar/" and the iPhone
removes the last slash. So the url changes to
"http://mysite.com/myegroupware/groupdav.php/calendar" and as I red in some
other threads, this creates problems with syncing.
Could that be the reasen for all of our problems with the iPhone 3.0?
greets
--
View this message in context: http://www.nabble.com/Iphone-calendar-and-CALDAV-tp24082184s3741p24166280.html
Sent from the egroupware-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: [eGroupWare-users] Iphone calendar and CALDAV

by Lannehoa Persoon 2009-06-23T16:25:37+00:00.
Just one question
Is CalDav a real sync or a remote access ?
I mean : for me, sync is a process which takes tada from server and paste
them in the client (the first time) and after compare data in the client and
server and finaly add or remove each side if necessary. With this, in the
client (ie iPhone), you have data independently and you can read / modify
them without connexion to the server. In the case of a remote access, you
need to have access to the server to read or modify data.
This is important, because in the iPhone case, I don't think that remote
access is a good solution, just because i'ts a mobile device and you can't
have the guaranty that you will have an Internet access all the time you
need to. That's why I think thas pure sync like syncml is a better solution.
It's not the case of PC which is allways connected : in this case, remote
access is a better solution.
YL

----------------original message-----------------
De: "LupoAlberto" lupoalberto28@gmail.com
A: egroupware-users@lists.sourceforge.net
Date: Tue, 23 Jun 2009 06:42:16 -0700 (PDT)
-------------------------------------------------


>
> Hi friends
>
> I have the same problems with syncing my iphone with the egroupware
> calendar. I realized, that the iPhone automaticly removes the last "/"
when
> I insert the eGroupware link. For my config it means, that I write
> "http://mysite.com/myegroupware/groupdav.php/calendar/" and the iPhone
> removes the last slash. So the url changes to
> "http://mysite.com/myegroupware/groupdav.php/calendar" and as I red in
> some
> other threads, this creates problems with syncing.
> Could that be the reasen for all of our problems with the iPhone 3.0?
>
> greets
> --
> View this message in context:
> http://www.nabble.com/Iphone-calendar-and-CALDAV-tp24082184s3741p241
> 66280.html
> Sent from the egroupware-users mailing list archive at Nabble.com.
>
>
>
> --------------------------------------------------------------------
> ----------
> Are you an open source citizen? Join us for the Open Source Bridge
conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference:
$250.
> Need another reason to go? 24-hour hacker lounge. Register today!
>
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensource
> bridge.org
> _______________________________________________
> eGroupWare-users mailing list
> eGroupWare-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/egroupware-users
>
>

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: [eGroupWare-users] Iphone calendar and CALDAV

by Ralf Beckeron 2009-06-23T19:06:00+00:00.
Hi Lannehoa,
with CalDAV it depends on the client.
Client can do a PROPFIND to get the etag's of all entries. If the etag
is different from the one he caches, he can use a GET or MULTIGET to
request just the updates.
Ralf
Lannehoa Perso schrieb:
> Just one question
> =
> Is CalDav a real sync or a remote access ?
> =
> I mean : for me, sync is a process which takes tada from server and paste
> them in the client (the first time) and after compare data in the client =
and
> server and finaly add or remove each side if necessary. With this, in the
> client (ie iPhone), you have data independently and you can read / modify
> them without connexion to the server. In the case of a remote access, you
> need to have access to the server to read or modify data.
> =
> This is important, because in the iPhone case, I don't think that remote
> access is a good solution, just because i'ts a mobile device and you can't
> have the guaranty that you will have an Internet access all the time you
> need to. That's why I think thas pure sync like syncml is a better soluti=
on.
> It's not the case of PC which is allways connected : in this case, remote
> access is a better solution.
> =
> YL
> =
> ----------------original message-----------------
> De: "LupoAlberto" lupoalberto28@gmail.com
> A: egroupware-users@lists.sourceforge.net
> Date: Tue, 23 Jun 2009 06:42:16 -0700 (PDT)
> -------------------------------------------------
> =
> =
>> Hi friends
>>
>> I have the same problems with syncing my iphone with the egroupware
>> calendar. I realized, that the iPhone automaticly removes the last "/"
> when
>> I insert the eGroupware link. For my config it means, that I write
>> "http://mysite.com/myegroupware/groupdav.php/calendar/" and the iPhone
>> removes the last slash. So the url changes to
>> "http://mysite.com/myegroupware/groupdav.php/calendar" and as I red in =
>> some
>> other threads, this creates problems with syncing.
>> Could that be the reasen for all of our problems with the iPhone 3.0?
>>
>> greets
>> -- =
>> View this message in context: =
>> http://www.nabble.com/Iphone-calendar-and-CALDAV-tp24082184s3741p241
>> 66280.html
>> Sent from the egroupware-users mailing list archive at Nabble.com.
>>
>>
>>
>> --------------------------------------------------------------------
>> ----------
>> Are you an open source citizen? Join us for the Open Source Bridge
> conference!
>> Portland, OR, June 17-19. Two days of sessions, one day of unconference:
> $250.
>> Need another reason to go? 24-hour hacker lounge. Register today!
>>
>> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensource
>> bridge.org
>> _______________________________________________
>> eGroupWare-users mailing list
>> eGroupWare-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/egroupware-users
>>
>>
> =
> =
> =
> =
> -------------------------------------------------------------------------=
-----
> Are you an open source citizen? Join us for the Open Source Bridge confer=
ence!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: =
$250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridg=
e.org
> _______________________________________________
> eGroupWare-users mailing list
> eGroupWare-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/egroupware-users
-- =
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
________________________________________________
Gesch=E4ftsf=FChrer Andre Keller, Gudrun M=FCller,
Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
---------------------------------------------------------------------------=
---
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users