nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
948 stars 232 forks source link

Import of larger Google calendar file fails partly #5052

Open xteaun opened 1 year ago

xteaun commented 1 year ago

Steps to reproduce

  1. Import a google calendar which is fairly large (mine has 800kb)

Expected behavior

Import all events from google calendar

Actual behaviour

Only imports some of the events

Calendar app version

4.2.4

CalDAV-clients used

nextcloud calendar app

Browser

Chrome Version 110.0.5481.100

Client operating system

MacOS Monterey 12.6.3 (21G419)

Server operating system

No response

Web server

Apache

Database engine version

MariaDB

PHP engine version

PHP 8.0

Nextcloud version

Nextcloud Hub 3 (25.0.4)

Updated from an older installed version or fresh install

Fresh install

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

No response

jaylinski commented 1 month ago

I had the same issue. Turns out the import feature sends a "PUT /remote.php/dav/calendars/user/personal/uuid.ics HTTP/2.0"-request via frontend for each calendar entry.

This caused my load-balancer to rate-limit/drop the import-requests.

A fix would be to do those API requests in the backend instead of sending them via the frontend.