Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CardDAV - Cant not edit contacts

Discussion in 'E-mail Discussions' started by A.Chake, Oct 16, 2017.

  1. A.Chake

    A.Chake Member

    Joined:
    Jan 10, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austria
    cPanel Access Level:
    Root Administrator
    Hello,

    I have a serious issue with my CardDAV.

    In some contacts this is not possible to edit some of the contacts.

    Like when I edit it on my iPhone/Mac/Blackberry, the change goes back to the previous status suddenly.

    I tried to remove and add it again and the same thing happened.

    Your help is really appreciated.

    Thank you
     
  2. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    257
    Likes Received:
    27
    Trophy Points:
    103
    Location:
    America
    cPanel Access Level:
    Root Administrator
    Hi @A.Chake,

    It may be difficult to troubleshoot this over the forum. I would recommend opening a ticket with us so we can check the issue for you. With that said, it seems the sqlite database that manages CardDav isn't being updated, which could be permissions related. You can verify permissions as below:
    Code:
    # stat -c '%a %U:%G' /home/$username/ /home/$username/.cphorde/ /home/$username/.cphorde/horde.sqlite
    711 $username:$username
    700 $username:$username
    600 $username:$username
    
    It may also be that the DAV service is not running, or inaccessible. You can check the service is running as below. The :
    Code:
    # /scripts/restartsrv_cpdavd --status
    I would also make sure the DAV ports are accessible:
    How to Configure Your Firewall for cPanel Services - cPanel Knowledge Base - cPanel Documentation

    Finally, there is also the log `/usr/local/cpanel/logs/cpdavd_error_log', which you may monitor while attempting to update a contact.

    Thanks,
     
  3. A.Chake

    A.Chake Member

    Joined:
    Jan 10, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austria
    cPanel Access Level:
    Root Administrator
    Hello Again,

    Finally figured this out, cPanel does not allow custom fields for phones and email.

    You are only able to use certain fields such as mobile, hope and so on.

    Ok now I faced a new issue on my BlackBerry Classic.

    When ever I try to connect my Calendar or Contacts via my BB OS10 or similar Android apps, it returns with an authorization or sometimes unexpected error , here is the log that I have (created by a third part app as I was not able to find any logs in the BBOS)

    Your help is appreciated.


    Code:
    20180115T055306Z I org.dmfs.caldav.autheticator.AuthenticatorActivity calendar discovery log:
    20180115T055356Z V org.dmfs.dav.Dav get principal /rpc/principals/user/
    20180115T055426Z E org.dmfs.dav.Dav connection error - trying again
    org.apache.http.conn.ConnectTimeoutException: Connect to /94.94.96.94:2080 timed out
        at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:121)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)
        at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
        at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:561)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:493)
        at org.dmfs.dav.t.b(Unknown Source)
        at org.dmfs.dav.t.a(Unknown Source)
        at org.dmfs.dav.t.b(Unknown Source)
        at org.dmfs.dav.b.a(Unknown Source)
        at org.dmfs.dav.b.b(Unknown Source)
        at org.dmfs.caldav.authenticator.f.run(Unknown Source)
    
    20180115T055457Z E org.dmfs.dav.Dav connection error - trying again
    org.apache.http.conn.ConnectTimeoutException: Connect to /94.94.96.94:2080 timed out
        at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:121)
        at
    P.S. The IP is not real.
     
  4. cPWilliamL

    cPWilliamL cP Technical Analyst II
    Staff Member

    Joined:
    May 15, 2017
    Messages:
    257
    Likes Received:
    27
    Trophy Points:
    103
    Location:
    America
    cPanel Access Level:
    Root Administrator
    What do you receive when you visit this(https://<ip-address>:2080) in your phone's browser?
     
Loading...

Share This Page