dengste / org-caldav

Caldav sync for Emacs orgmode
GNU General Public License v3.0
724 stars 105 forks source link

My Kolab HTTP/1.0 500 Internal Server Erro #160

Closed pauljamesharper closed 6 years ago

pauljamesharper commented 6 years ago

I am getting the following error with MyKolab. Any suggestion for troubleshooting?:

HTTP/1.0 500 Internal Server Error
Date: Sun, 02 Sep 2018 19:14:12 GMT
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Security-Policy: connect-src 'self';             child-src 'self';             font-src 'self';             form-action 'self' data:;             frame-ancestors 'self';             frame-src 'self';             img-src data: 'self';             media-src 'self';             object-src 'self';             script-src 'self' 'unsafe-inline' 'unsafe-eval';             style-src 'self' 'unsafe-eval' 'unsafe-inline';             default-src 'none';             reflected-xss block;             referrer no-referrer;
Strict-Transport-Security: max-age=16070400; includeSubDomains
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Connection: keep-alive

My config:

Org-Caldav

+BEGIN_SRC emacs-lisp

(use-package org-caldav :ensure t :config (setq org-caldav-url "https://apps.kolabnow.com/calendars/username%40mykolab.com/26df37ad-2345-4bfe-1976-ac115abeb8fd" org-caldav-calendar-id "Calendar" org-caldav-inbox (concat org-directory "/gtd.org") org-icalendar-timezone "Africa/Juba" org-caldav-files nil)

pauljamesharper commented 6 years ago

Found the problem. In my case I had to use my full username@mykolab.com as the password.

I also had to put the link to the calendar as per the first example:

;; The CalDAV URL with your full and primary email address at the end. (setq org-caldav-url "https://apps.kolabnow.com/calendars/username%40kolabnow.com")

And NOT as per Step 4 and 5 of the Show Calendar URL in the Emacs Client Configuration.