Mailing List Archive

Binding External collection always creates 0 size calendars
Hello,
This happens whenever I try to bind an external resource, both through
the admin interface or through a curl command as
per https://wiki.davical.org/index.php?title=External_Bind

The resulting calendars exist, are visible to clients, can be
subscribed to, but have no entries.

It happens for the following publicly accessible resources: 
https://cantonbecker.com/astronomy-calendar/astrocal.ics
https://raw.githubusercontent.com/PanderMusubi/lunar-phase-calendar/master/en/moon-phases.ics
https://mooncal.ch/mooncal.ics?lang=en&phases[full]=true&phases[new]=true&phases[quarter]=true&phases[daily]=false&events[lunareclipse]=true&events[solareclipse]=true&events[moonlanding]=true&from=2024-01-01T00:00:00UTC&to=2024-12-31T00:00:00UTC

Downloading any of the resources via wget or curl directly on the
server, or through Firefox on my home machine, also works.
Importing the downloaded resource into a newly created calendar works
as well.

DaviCAL has otherwise been working nicely for many years on Debian
(old)stable, now PHP 8.2, postgresql 15
php8.2-curl is installed.

Config:

grep ^'\$' /etc/davical/config.php
$c->pg_connect[] = "dbname=davical port=5432 user=davical_app";
$c->system_name = "DAViCal";
$c->get_includes_subcollections = true;
$c->skip_bad_event_on_import = true;
$c->admin_email = 'calendar-admin@example.com';
$c->restrict_setup_to_admin = true;
$c->enable_row_linking = false;
$c->list_everyone = false;
$c->password_change_override = array(
$c->dbg["ALL"] = 1;
$c->default_relationships = array( 1001 => 'A' );
$c->default_privileges = array('all');
$c->hide_older_than = 90;
$c->hide_bound = false;
$c->external_refresh = 60; //*24*7; // in minutes
$c->external_ua_string = 'Mozilla/5.0 (Windows NT 10.0; rv:122.0) Gecko/20100101 Firefox/122.0';

Log output while binding the external resource through the web UI (I
tried to anonymize it as much as possible):
https://dt.iki.fi/stuff/davical.log.txt



TIA