Rainer Dorsch via Linphone-users <linphone-users@nongnu.org> writes:

> I use davx5 to access CardDAV on my nextcloud server.

I didn't reply to your first message becauae you didn't mention what you
are actually doing in enough detail.   Now we have a clue that you are
using Android.

> If I enter this address in linphone, I get a synchronization error from 
> linphone. If I start linphone with --verbose, I get on the commandline

But it seems that maybe you are not.

> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns";>
>   <s:exception>Sabre\DAV\Exception\NotAuthenticated</s:exception>
>   <s:message>No public access to this resource., AppAPIAuth has not passed, 
> No 
> 'Authorization: Basic' header found. Either the client didn't send one, or 
> the 
> server is misconfigured, No 'Authorization: Bearer' header found. Either the 
> client didn't send one, or the server is mis-configured, No 'Authorization: 
> Basic' header found. Either the client didn't send one, or the server is 
> misconfigured</s:message>
> </d:error>

To debug this, you should begin by understanding how this is supposed to
work:

  nextcloud provides a carddav server, accessed with authentication to
  the nextcloud user

  davx5 on android gets conencted to the carddav server

  davx5 provides a contacts database view to the OS

  programs that can display and use contacts access the contacts api and
  see contacts from the union of the provided views


Step 0 is log into nextcloud as admin and  click around to get it to do
the system selftest and eval.  Or have your admin check that.

Step 1 is log into nextcloud, click settings and look at contacts
URLS, and click contacts app and make sure all is ok.

Step 2 is configure DAVx5 to login.

Step 3 is use the contacts app and see if that is ok.

Only when all of that works should you move on to linphone.

> On the server side, I see that the URL is accessed, but I don't see any error 
> indication.
>
> There is an authentification area field in the linphone DAV settings, I leave 
> that empty, since I have no idea what that is supposed to be.

linphone implementing carddav is an alternate path to linphone using the
android system contacts interface, with that being populated by DAVx5.

(As alawys, follow up on list, not to me directly.  It would be rude of
me to quote private mail on the list, and I don't want to provide
offlist help as that doesn't help the next person.)

_______________________________________________
Linphone-users mailing list
Linphone-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to