emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: org-caldav-sync hanging
Date: Tue, 12 May 2020 09:29:57 +0200	[thread overview]
Message-ID: <87lflxr4p6.fsf@hornfels.zedat.fu-berlin.de> (raw)

Hi,

For a couple of years I have had the following in my init.el to sync an
org calendar with a Nextcloud instance:

  (defun lb/caldav-sync-work ()
    (interactive)
    (let ((org-caldav-inbox "~/org/calendar_work.org")
	  (org-caldav-url "https://nextcloud.work.de/remote.php/dav/calendars/loris")
	  (org-caldav-calendar-id "work")
	  (org-caldav-files nil))
      (call-interactively 'org-caldav-sync)))
  (setq org-caldav-debug-level 0)
  (setq org-caldav-show-sync-results nil)
  (run-with-timer 0 (* 240 60) 'lb/caldav-sync-work)

Recently, the call to 

  lb/caldav-sync-work

has stopped working - Emacs hangs and uses 100% of one core.  I have an
analogous function to sync to my home instance of Nextcloud 18 and that
works fine.

The Nextcloud instance at work is version 15 and is accessible via the
browser, but there was some outage recently and some server-side
tweakage may also have occurred while things were being fixed.

Any ideas what the problem might be or how I can debug it?

Cheers,

Loris

-- 
This signature is currently under construction.



             reply	other threads:[~2020-05-12  7:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12  7:29 Loris Bennett [this message]
2020-05-12 10:33 ` org-caldav-sync hanging Eric S Fraga
2020-05-12 10:59   ` Loris Bennett
2020-05-12 14:59     ` Garjola Dindi
2020-05-18  8:47       ` Loris Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lflxr4p6.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).