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.

Problem connecting to CalDAV

Discussion in 'General Discussion' started by exekutive, Jul 18, 2017.

Tags:
  1. exekutive

    exekutive Member

    Joined:
    Jul 18, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    cyberspace
    cPanel Access Level:
    Website Owner
    I'm using the provided Calendar app on my Mac to sync up to my hosted calendar via CalDAV, but I'm getting an exclamation mark icon next to the calendar name. When clicked, I get a dialog saying "The server responded with an error. The request for account xxxxxx failed. The server responded with "500" to operation CalDAVAddCalendarQueueableOperation.

    I set up the account per the documentation. Server path is
    /rpc/principals/userxxxxxx
    port 2080
    In preferences, I have the "Use SSL" box ticked. "Use Kerberos v5 for authentication" is unticked.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you notice any output to the /usr/local/cpanel/logs/cpdavd_error_log file when attempting to make the connection?

    Additionally, could you try opening the Horde webmail client for the corresponding email account, creating the calendar in Horde, and then reloading the Calendar application on your Mac to see if that fixes the issue?

    Thank you.
     
  3. exekutive

    exekutive Member

    Joined:
    Jul 18, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    cyberspace
    cPanel Access Level:
    Website Owner
    I don't have shell access and I don't see the usr directory in file manager.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    That's actually not something you can check without root access to the system. Were you able to try the instructions related to Horde from my last response?

    Thank you.
     
  5. exekutive

    exekutive Member

    Joined:
    Jul 18, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    cyberspace
    cPanel Access Level:
    Website Owner
    I tried creating another calendar in Horde, but the error remains. But the error is for the entire account, not just one calendar.

    I searched my console for anything with "com.apple.calendar" and here's the output.
     

    Attached Files:

    #5 exekutive, Jul 22, 2017
    Last edited: Jul 22, 2017
  6. exekutive

    exekutive Member

    Joined:
    Jul 18, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    cyberspace
    cPanel Access Level:
    Website Owner
    I think I fixed it. I removed the account from my computer, and deleted the ~/Library/Calendars directory, which contained caches and other things. I re-added the account, and it seems to be synchronizing without error now.

    While adding the account, the Calendar app behaves very strangely. The calendar account doesn't show up, and it clears configuration fields after you fill them, so it took many attempts. It might have been rebuilding in the background though, so it's best to just let it simmer a while, or try disabling/enabling the account a few times, or relaunching. Would be nice if there were some kind of progress indicator.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Note that we do have an internal case open (CPANEL-7505) to track reports of this issue. I'll monitor the case and update this thread with new information as it becomes available.

    Thank you.
     
  8. exekutive

    exekutive Member

    Joined:
    Jul 18, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    cyberspace
    cPanel Access Level:
    Website Owner
    The error is back again today.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    If you create the new calendar in Horde, and then reload the Calendar application, does the issue persist?

    Thank you.
     
  10. exekutive

    exekutive Member

    Joined:
    Jul 18, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    cyberspace
    cPanel Access Level:
    Website Owner
    I think I got the error after either duplicating an event, or set up a recurring one. After I deleted the offending event, the error went away. I just avoid duplicating events, and I haven't had the error since.
     
Loading...

Share This Page