Skip to main content

Thunderbird CalDav not connecting

Comments

13 comments

  • tudorh
    If I attempt to connect to it using the command-line WebDAV client `cadaver`, I get:
    $ cadaver https://mydomain.com:2080/rpc/principals/me@mydomain.com Authentication required for Restricted Area on server `mydomain.com': Username: me@mydomain.com Password: Could not access /rpc/principals/me@mydomain.com/ (not WebDAV-enabled?): 207 Multi-Status Connection to `mydomain.com' closed. dav:!>
    0
  • tudorh
    I noticed what I think is a typo in the documentation. The URL contains 'pricipals' instead of 'principals'. This is the outcome from the documentation:
    $ cadaver https://mydomain.com:2080/rpc/pricipals/me@mydomain.com Authentication required for Restricted Area on server `mydomain.com': Username: me@mydomain.com Password: Could not open collection: 404 Not Found dav:/rpc/pricipals/me@mydomain.com/?
    Neither work, obviously, but I don't know if a 404 is better or worse than a 207 at this point.
    0
  • tudorh
    Upgraded to WHM 54.0 build 21 but the outcomes are still identical to above. Does this work in 56.0?
    0
  • cPanelMichael
    Hello :) Are you able to reproduce the authentication issue when accessing the URL from your web browser? EX:
    https://127.0.0.1:2080/rpc/principals/$cpanelusername
    Thank you.
    0
  • tudorh
    No. I am unable to reproduce it using that URL. That is to say, I get the following. (I presume you didn't really mean 127.0.0.1, tho, because there's no server running on my desktop.)
    0
  • tudorh
    So if https is working and caldav isn't, what does that tell us?
    0
  • cPanelMichael
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • tudorh
    Done. Support request ID is 7537419
    0
  • cPanelMichael
    To update, per the support ticket, the advice was to update to cPanel version 56 due to the implementation of this case:
    Fixed case CPANEL-2013: Add /rpc to calendar and contacts paths.
    Could you verify if that helped? Thank you.
    0
  • tudorh
    Hi Michael, Unfortunately not in my case, it would seem. I have upgraded to 56 built 14 and I'm working with Aaron to see if we can get to the bottom of the issue. At the very least, I believe that the documentation is wrong. It lists: https://example.com:2080/rpc/principals/user@example.com illicits a more DAV-like response. However, it still isn't enough to make CalDAV clients happy. :-( I'll put up a proper answer here if I manage to get it working properly.
    0
  • cPanelMichael
    At the very least, I believe that the documentation is wrong. It lists: https://example.com:2080/rpc/principals/user@example.com

    Thank you for this report. I've opened a case with our documentation team to have this corrected, and I'll update this thread once that happens. Thank you.
    0
  • cPanelMichael
    Hello, The following document is now updated to reflect the correction: How to Set Up Calendars and Contacts - cPanel Knowledge Base - cPanel Documentation Thank you.
    0
  • Akuukis
    Hello, Last few days I struggled to make cPanel direct calendar urls to work with Thunderbird. In the end, the problem was the wrong link under "Direct URLs for Calendars and Contacts" where
    https://:/rpc/calendars//calendar:iBqY_w2g0ENxFcDSzGSKNrT
    the ":" character had to be replaced with "~" character. I came up to this by manually inspecting links in
    https://:/rpc/principals/.
    So, to make multiple cPanel calendars to work with Thunderbird, here are instructions that worked for me: 1. Have an email user in cPanel 2. In Horde, create all calendars and tasklists you need (these are seperated in cPanel in contrast to ownCube where they are bundled). 3. In browser, enter in your Alternate Server URL and look up the correct direct links to your calendars and task lists (that should be prefixed with your
    https://:/
    ) 4. In Thunderbird, add each calendar separately 5. In Thunderbird, add each tasklist just like calendar separately. The trick is that calendars don't support tasks, but tasklists do. 6. If you have to add calendars/tasklists that are owned by different users, then either 6.1. (recommended) log into Horde, share the calendar or tasklist and repeat steps 3-5. 6.2. (desperate) Search and learn about config option "calendar.network.multirealm" in Thunderbird.
    0

Please sign in to leave a comment.