Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DAViCal: General

CardDav + iPhone Contacts = Problems

 

 

DAViCal general RSS feed   Index | Next | Previous | View Threaded


Axel.Rau at Chaos1

May 25, 2011, 11:34 PM

Post #1 of 5 (306 views)
Permalink
CardDav + iPhone Contacts = Problems

Am 25.05.2011 um 12:19 schrieb Jerahmy Pocott:

> I know something to this effect was posted some time ago, but I couldn't find the relevant
> message thread.
Here it is, I think:
http://sourceforge.net/mailarchive/forum.php?thread_name=7D089E23-5503-4AD2-A004-3F8DF8749510%40chaos1.de&forum_name=davical-general
In short, Andrew needs a tcpdump from the session to find out, what's wrong.
As my productive server uses SSL, I would need to setup a test server to provide a cleartext dump.
Can you do the tcpdump?

Axel
---
PGP-Key:29E99DD6 ? +49 151 2300 9283 ? computing @ chaos claudius


quakenet1 at optusnet

May 25, 2011, 3:19 AM

Post #2 of 5 (321 views)
Permalink
CardDav + iPhone Contacts = Problems [In reply to]

Hello,

I know something to this effect was posted some time ago, but I couldn't find the relevant
message thread. Any way I'm trying to use davical-0.9.9.4 on FreeBSD 8.1 with iPhone
as CardDav client. It seems to work fine for small contact lists but once you get over a
thousand or so the iPhone contacts app will hang in some cases and it never gets the full
contact list.

I have a contact list with 2360 entries, the iPhone gets 1,351 of them but no more and will
start to hang/crash the contacts app on the phone when it tries to query things (like incoming
call numbers can result in blank screen).

I'm not sure if this is an issue with the iPhones CardDav implementation or with davical handling
large contact lists, but the result is the same on multiple iPhone versions with various iOS versions
installed on them when using davical.


quakenet1 at optusnet

May 26, 2011, 12:29 AM

Post #3 of 5 (299 views)
Permalink
CardDav + iPhone Contacts = Problems [In reply to]

On 26/05/2011, at 4:34 PM, Axel Rau wrote:

>
> Am 25.05.2011 um 12:19 schrieb Jerahmy Pocott:
>
>> I know something to this effect was posted some time ago, but I couldn't find the relevant
>> message thread.
> Here it is, I think:
> http://sourceforge.net/mailarchive/forum.php?thread_name=7D089E23-5503-4AD2-A004-3F8DF8749510%40chaos1.de&forum_name=davical-general
> In short, Andrew needs a tcpdump from the session to find out, what's wrong.
> As my productive server uses SSL, I would need to setup a test server to provide a cleartext dump.
> Can you do the tcpdump?

Yeah I can get a dump of it..

So long as I can send it directly to the developer and have some guarantee of the data
being deleted once the issue is found =p


andrew at morphoss

May 27, 2011, 7:52 AM

Post #4 of 5 (299 views)
Permalink
CardDav + iPhone Contacts = Problems [In reply to]

On Thu, 2011-05-26 at 17:29 +1000, Jerahmy Pocott wrote:
> On 26/05/2011, at 4:34 PM, Axel Rau wrote:
>
> >
> > Am 25.05.2011 um 12:19 schrieb Jerahmy Pocott:
> >
> >> I know something to this effect was posted some time ago, but I couldn't find the relevant
> >> message thread.
> > Here it is, I think:
> > http://sourceforge.net/mailarchive/forum.php?thread_name=7D089E23-5503-4AD2-A004-3F8DF8749510%40chaos1.de&forum_name=davical-general
> > In short, Andrew needs a tcpdump from the session to find out, what's wrong.
> > As my productive server uses SSL, I would need to setup a test server to provide a cleartext dump.
> > Can you do the tcpdump?
>
> Yeah I can get a dump of it..
>
> So long as I can send it directly to the developer and have some guarantee of the data
> being deleted once the issue is found.

It's probably going to be pretty hard to track down, but just seeing a
database of 2-3000 contacts is going to help out debugging. If you can
send me the contacts I can guarantee to get rid of the data afterwards.
It's also possible that the iOS app is the thing having trouble coping
with the numbers, I guess - not that I'd rule out DAViCal until I see
some more of what goes on.

A tcpdump of the process will probably also be useful. Do all of the
cards have images with them?

My general testing process only has around 30 vcards in it, so it would
be good to test some scalability.

Cheers,
Andrew.
--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
I'm wearing PAMPERS!!
------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.davical.org/pipermail/davical-users/attachments/20110527/6f419803/attachment.pgp>
-------------- next part --------------


quakenet1 at optusnet

May 28, 2011, 12:34 AM

Post #5 of 5 (304 views)
Permalink
CardDav + iPhone Contacts = Problems [In reply to]

On 28/05/2011, at 12:52 AM, Andrew McMillan wrote:

> On Thu, 2011-05-26 at 17:29 +1000, Jerahmy Pocott wrote:
>> On 26/05/2011, at 4:34 PM, Axel Rau wrote:
>>
>>>
>>> Am 25.05.2011 um 12:19 schrieb Jerahmy Pocott:
>>>
>>>> I know something to this effect was posted some time ago, but I couldn't find the relevant
>>>> message thread.
>>> Here it is, I think:
>>> http://sourceforge.net/mailarchive/forum.php?thread_name=7D089E23-5503-4AD2-A004-3F8DF8749510%40chaos1.de&forum_name=davical-general
>>> In short, Andrew needs a tcpdump from the session to find out, what's wrong.
>>> As my productive server uses SSL, I would need to setup a test server to provide a cleartext dump.
>>> Can you do the tcpdump?
>>
>> Yeah I can get a dump of it..
>>
>> So long as I can send it directly to the developer and have some guarantee of the data
>> being deleted once the issue is found.
>
> It's probably going to be pretty hard to track down, but just seeing a
> database of 2-3000 contacts is going to help out debugging. If you can
> send me the contacts I can guarantee to get rid of the data afterwards.
> It's also possible that the iOS app is the thing having trouble coping
> with the numbers, I guess - not that I'd rule out DAViCal until I see
> some more of what goes on.
>
> A tcpdump of the process will probably also be useful. Do all of the
> cards have images with them?
>
> My general testing process only has around 30 vcards in it, so it would
> be good to test some scalability.

Sure. How would you like to get the contacts?

I'v tracked down at least part of the issue, some of the contacts had invalid vCard data
(created by SOGo connector). Where it would put something like the following:

..normal vcard stuff..
NOTE: blah blah blah/r/n
/r/n
more blah blah/r/n
even more blah/r/n
..normal vcard ending stuff..

The lines on their own after NOTE were being seen as invalid vCard fields, which seems
to confuse the iPhone a lot, such that it seems to not download other valid cards past the
first broken one perhaps? Difficult to tell, but there were only around 100 with these invalid
cards and the phone was missing around 1000. Once correcting these the phone did
download the full contact list.

Perhaps DAViCal needs to validate the vCards?

There still seems to be a problem in that it takes an excessive amount of time for the phone
to refresh the contacts. Maybe that is something to do with the iOS app, but none of the cards
have images, there should be very little data to transfer really, and once downloaded it
should only be checking for updates?

Any way while its checking it seems the contacts app will not start up and I think choosing to
add a contact from data in another app (like messages) will also not work, it just hangs.

I guess I can try to get a dump of what it actually does when updating..

DAViCal general RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.