SPQR Inc.

Q: Contacts.app asks for CalDAV-password 2-3 times before it works

Hallo there,

 

 

I configured OS X Server.app with the following services:

 

 

-> VPN

-> Calendar

-> Contacts

-> DNS

 

 

These settings are enrolled by profile manager. In most cases this works (Calendar, VPN) but using Addressbook (Contacts) I get some problems.

Starting the address book-app on client-side the app asks 2-3 times for password before it works. After giving in the user-password it works fine.

 

 

This is a screenshot: http://d.pr/16QAq

 

 

Basically the message is: Can not connect to macmini-server-address.

 

 

But the domain of macmini-server resolves to 192.168.10.10, which is the internal address of the server.

 

 

What can I do to change this behavior?

Mac mini (Late 2014), OS X Yosemite (10.10.1)

Posted on Aug 10, 2015 7:26 AM

Close

Q: Contacts.app asks for CalDAV-password 2-3 times before it works

  • All replies
  • Helpful answers

  • by John Lockwood,

    John Lockwood John Lockwood Aug 12, 2015 2:29 AM in response to SPQR Inc.
    Level 6 (9,349 points)
    Servers Enterprise
    Aug 12, 2015 2:29 AM in response to SPQR Inc.

    I find that when a Mac client including a Yosemite client connects to the VPN server it takes a little while before the Mac client learns to use the DNS server defined by the VPN server. I see this for example by connecting to the VPN server and then trying to access an internal only File Server via its host name. Initially this will fail while using the IP address works straight away.

     

    Once it is 'learned' the VPN server defined DNS server and is then able to resolve the host name of the File Server then the host name also works.

     

    It maybe something similar is happening when you try access the CardDav server, initially it fails to resolve it but then later can. You could try testing this by doing a fresh VPN connection and rather than trying the Contacts application instead use the Network Utility application to try looking up the host name.

     

    For what its worth I use Kerio Connect as our Mail, Calendar and Contacts server and it can be accessed at least currently without needing to first make a VPN connection. Clients still need to authenticate to access it though. This could avoid your problem.

  • by SPQR Inc.,

    SPQR Inc. SPQR Inc. Aug 12, 2015 2:31 AM in response to John Lockwood
    Level 1 (0 points)
    Aug 12, 2015 2:31 AM in response to John Lockwood

    Hi John,

     

    thank you for your answer.

     

    The problem is: This appears in local area aswell - there is no VPN used and hostname resolves always to 192.168.10.10 .

     

    In CalDAV there are no problems by the way.