[Owncloud] Problem to sync Contacts and Calendar via IPhone 5

Thomas Tanghus thomas at tanghus.net
Thu Mar 28 14:37:13 UTC 2013


On Thursday 28 March 2013 10:07 Christian Pfarr wrote:
> Ok, good News.
> Sync from CardDAV and CalDAV with and  without SSL works with Macbook. I
> just have to ignore every alerts and simply save the options. My Macbook
> Yells "Connection over SSL impossible" and "Account Verification failed"
> but if you ignore this, everything work fine. No idea why…

Self-signed certificate maybe? I have no idea.

> Sync from my iPhone with CalDAV with and without SSL works also fine, with
> the same solution. I just have to ignore every alerts and simply save the
> options.
> 
> Sync from my iPhone with CardDAV wit and without SSL failes. Simply ignoring
> the alerts doesn't help. I configure Charles to log my iPhone connection.

It is possible but unlikely, that a change I made for checking privileges 
causes this. Some clients didn't parse privileges correctly. I have modified 
it for oC 5.0.1 in 
https://github.com/owncloud/apps/commit/682c3d92b97ccee5eac1398401a31e38511591a5 
so it should only rarely be an issue with shared, read-only address books.

On the good side my change has already prompted two clients to implement 
better privilege handling ;)

I'm not that good at reading DAV responses, so I have CC'd Evert, but my guess 
is that the excerpt below isn't enough to determine the issue.

Please use pastebin.com or something similar for such things as mentioned in 
previous mail.

> Request from my iPhone:
> 
> <A:propfind xmlns:A="DAV:">
> 	<A:prop>
> 		<A:current-user-principal />
> 		<A:principal-URL />
> 		<A:resourcetype />
> 	</A:prop>
> </A:propfind>
> 
> Response from my Server:
> 
> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"
> xmlns:card="urn:ietf:params:xml:ns:carddav"> <d:response>
> 		<d:href>/owncloud/remote.php/carddav/principals/christian/</d:href>
> 		<d:propstat>
> 			<d:prop>
> 				<d:principal-URL>
> 					
<d:href>/owncloud/remote.php/carddav/principals/christian/</d:href>
> 				</d:principal-URL>
> 				<d:current-user-principal>
> 					
<d:href>/owncloud/remote.php/carddav/principals/christian/</d:href>
> 				</d:current-user-principal>
> 				<d:resourcetype>
> 					<d:collection />
> 					<d:principal />
> 				</d:resourcetype>
> 			</d:prop>
> 			<d:status>HTTP/1.1 200 OK</d:status>
> 		</d:propstat>
> 	</d:response>
> </d:multistatus>
> 
> For my understanding everything looks fine, but i can't see my owncloud
> contacts on my iPhone. Any ideas?
> ---
> Freundliche Grüße
> 
> Webmaster von ITNoobz (Christian Pfarr)
> 
> 
> E-Mail:	webmaster at itnoobz.org
> Internet:	http://www.itnoobz.org
> 
> Hinweis:
> Diese E-Mail und/oder die Anhänge sind vertraulich und ausschließlich für
> den bezeichneten Adressaten bestimmt. Die Weitergabe oder Kopieren dieser
> E-Mail ist strengstens verboten. Wenn Sie diese E-Mail irrtümlich erhalten
> haben, informieren Sie bitte unverzüglich den Absender und vernichten Sie
> die Nachricht und alle Anhänge. Vielen Dank.
> 
> Am 27.03.2013 um 23:57 schrieb Thomas Tanghus <thomas at tanghus.net>:
> > On Wednesday 27 March 2013 20:24 Christian Pfarr wrote:
> >> ok, installed charlesproxy on my macbook.
> >> What do u want to see?
> > 
> > I found an article on how to set iOS up with charles
> > http://blog.cloudfour.com/using-charles-proxy-to-examine-ios-apps/
> > 
> > I'm not that familiar with charles myself, but you will have to capture
> > the
> > requests sent from iOS and the responses from ownCloud/SabreDAV. Save the
> > capture and mail a link to pastebin.com or the like.
-- 
Med venlig hilsen / Best Regards

Thomas Tanghus



More information about the Owncloud mailing list