quakenet1 at optusnet
May 28, 2011, 12:34 AM
Post #5 of 5
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:
>>> 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
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..