Re: eGroupWare-users - Iphone calendar and CALDAV by Scott Grayban on
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
>
> eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users
Re: eGroupWare-users - Iphone calendar and CALDAV by Ralf Becker on
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
<?xml version=3D"1.0" encoding=3D"utf-8" ?>
<x0:calendar-query xmlns:x0=3D"urn:ietf:params:xml:ns:caldav" xmlns:x1=3D"D=
AV:">
<x1:prop>
<x1:getetag/>
<x1:resourcetype/>
</x1:prop>
<x0:filter>
<x0:comp-filter name=3D"VCALENDAR">
<x0:comp-filter name=3D"VEVENT">
<x0:time-range start=3D"20090521T220000Z"/>
</x0:comp-filter>
</x0:comp-filter>
</x0:filter>
</x0:calendar-query>
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"
<?xml version=3D"1.0" encoding=3D"utf-8"?>
<D:multistatus xmlns:D=3D"DAV:">
</D:multistatus>
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 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
> =
> =
>
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
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.=
org
Re: eGroupWare-users - Iphone calendar and CALDAV by Ralf Becker on
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"
<?xml version=3D"1.0" encoding=3D"utf-8"?>
<D:multistatus xmlns:D=3D"DAV:">
<D:response xmlns:ns0=3D"urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/">
<D:href>http://localhost/egroupware/groupdav.php/calendar/408.ics</D:href>
<D:propstat>
<D:prop>
<D:getetag>408:8:f14272ae40b2e41dcf70f4a401074d86</D:getetag>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:resourcetype/>
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response xmlns:ns0=3D"urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/">
<D:href>http://localhost/egroupware/groupdav.php/calendar/415.ics</D:href>
<D:propstat>
<D:prop>
<D:getetag>415:4:f14272ae40b2e41dcf70f4a401074d86</D:getetag>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:resourcetype/>
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response xmlns:ns0=3D"urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/">
<D:href>http://localhost/egroupware/groupdav.php/calendar/545.ics</D:href>
<D:propstat>
<D:prop>
<D:getetag>545:1:f14272ae40b2e41dcf70f4a401074d86</D:getetag>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:resourcetype/>
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
<D:response xmlns:ns0=3D"urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/">
<D:href>http://localhost/egroupware/groupdav.php/calendar/556.ics</D:href>
<D:propstat>
<D:prop>
<D:getetag>556:0:f14272ae40b2e41dcf70f4a401074d86</D:getetag>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:resourcetype/>
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
</D:multistatus>
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
> =
> <?xml version=3D"1.0" encoding=3D"utf-8" ?>
> <x0:calendar-query xmlns:x0=3D"urn:ietf:params:xml:ns:caldav" xmlns:x1=3D=
"DAV:">
> <x1:prop>
> <x1:getetag/>
> <x1:resourcetype/>
> </x1:prop>
> <x0:filter>
> <x0:comp-filter name=3D"VCALENDAR">
> <x0:comp-filter name=3D"VEVENT">
> <x0:time-range start=3D"20090521T220000Z"/>
> </x0:comp-filter>
> </x0:comp-filter>
> </x0:filter>
> </x0:calendar-query>
> =
> 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"
> =
> <?xml version=3D"1.0" encoding=3D"utf-8"?>
> <D:multistatus xmlns:D=3D"DAV:">
> </D:multistatus>
> =
> 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 > =
> 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
>>
>>
>> [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
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.=
org
Re: eGroupWare-users - Iphone calendar and CALDAV by LupoAlberto on
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
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users
Re: eGroupWare-users - Iphone calendar and CALDAV by Lannehoa Perso on
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
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
Re: eGroupWare-users - Iphone calendar and CALDAV by Ralf Becker on
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
> =
> >> 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
>> >>
>>
>>
>>
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