From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aMB9O4xQul5yKwAA0tVLHw (envelope-from ) for ; Tue, 12 May 2020 07:30:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qKFIDptQul7tAgAA1q6Kng (envelope-from ) for ; Tue, 12 May 2020 07:30:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 74CF7940F90 for ; Tue, 12 May 2020 07:30:32 +0000 (UTC) Received: from localhost ([::1]:44634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYPN2-0005zp-4U for larch@yhetil.org; Tue, 12 May 2020 03:30:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYPMd-0005zh-W8 for emacs-orgmode@gnu.org; Tue, 12 May 2020 03:30:08 -0400 Received: from ciao.gmane.io ([159.69.161.202]:33096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYPMc-0004vV-Lm for emacs-orgmode@gnu.org; Tue, 12 May 2020 03:30:07 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jYPMZ-000Llm-HJ for emacs-orgmode@gnu.org; Tue, 12 May 2020 09:30:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: "Loris Bennett" Subject: org-caldav-sync hanging Date: Tue, 12 May 2020 09:29:57 +0200 Message-ID: <87lflxr4p6.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:kOXf896u1i11ZBPBbEzMjtgf2eA= Received-SPF: pass client-ip=159.69.161.202; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/12 02:34:02 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_PASS=-0.001, TO_NO_BRKTS_PCNT=2.499, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -0.51 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-0.51 / 13.00]; GENERIC_REPUTATION(0.00)[-0.54012924448763]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.07), country: US(-0.00), ip: 209.51.188.17(-0.54)]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[loris.bennett@fu-berlin.de,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; URIBL_BLOCKED(0.00)[work.de:url]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[fu-berlin.de]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: mK7Rei557nA8 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.