Parallel Downloads via WebDAV can cause a 'http response is not a multistatus response' error

Hello together,

this is my first request for help here, so please be patient if the post is not as intended, I did my best to follow the template. If you need any further information about my problem please let me know - I’m thankful for any help I can get!
Below is the tool DVC mentioned. In case more information about that are needed please either as me, or go to DVC’s Homepage, or visit DVC’s GitHub repository.

Thanks in advance!

Best regards
Sebastian

[/details]

Nextcloud version: 22.2.0
Operating system and version: Containerized using default docker image → debian?
Apache or nginx version: Apache2? (taken from Dockerfile) behind a nginx (version 1.21.3) reverse proxy
PHP version : 8? (taken from Dockerfile)

The issue you are facing:
I’m using DVC to version large data on Nextcloud. Therefore I set up WebDAV access to Nextcloud but when I run parallel downloads from the same folder via DVC sometime the error ‘http response is not a multistatus response’ appears. It’s hard to reproduce it, sometimes it complete breaks the downloads but sometimes it recovers again.

Is this the first time you’ve seen this error? : Yes

Steps to replicate it:
(I guess this could be a way to reproduce it)

  1. Connect two or more devices via WebDAV to a Nextcloud
  2. Start downloading the same folders at the same time or with multiple threads and little time delay

It seems, like the issue appears mostly, if the same file is downloaded from multiple processes, but i’m not entirely sure so far.

The output of my Nextcloud log:

[no app in context] Error: Could not boot groupfolders: Could not resolve rootProvider!

PROPFIND /remote.php/dav/files/61D6EA28-D2EF-4A09-B386-9137A21D7870/HIED/computer_vision_datasets/attica_object_detection/82/b38ba0d04369e6a2f2bc6e65e2699b
from ***.**.*.* at 2021-11-25T14:19:02+00:00
[no app in context] Error: Could not boot files_versions: Could not resolve OCA\Files_Versions\Versions\IVersionManager! Class can not be instantiated

PROPFIND /remote.php/dav/files/61D6EA28-D2EF-4A09-B386-9137A21D7870/HIED/computer_vision_datasets/attica_object_detection/82/b38ba0d04369e6a2f2bc6e65e2699b
from ***.**.*.* at 2021-11-25T14:19:02+00:00
[no app in context] Error: Could not boot files_trashbin: Could not resolve trashManager! Class "trashManager" does not exist

PROPFIND /remote.php/dav/files/61D6EA28-D2EF-4A09-B386-9137A21D7870/HIED/computer_vision_datasets/attica_object_detection/82/b38ba0d04369e6a2f2bc6e65e2699b
from ***.**.*.* at 2021-11-25T14:19:02+00:00
[remote] Error: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[08006] [7] FATAL:  remaining connection slots are reserved for non-replication superuser connections

PROPFIND /remote.php/dav/files/61D6EA28-D2EF-4A09-B386-9137A21D7870/HIED/computer_vision_datasets/attica_object_detection/82/b38ba0d04369e6a2f2bc6e65e2699b
from ***.**.*.* at 2021-11-25T14:19:02+00:00

config.php:

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'overwritehost' => '*******',
  'overwriteprotocol' => 'http',
  'instanceid' => '*******',
  'passwordsalt' => '********',
  'secret' => '********',
  'trusted_domains' => 
  array (
    0 => 'localhost:8080',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'pgsql',
  'version' => '22.2.0.2',
  'overwrite.cli.url' => 'http://localhost:8080',
  'dbname' => 'nextcloud_stable',
  'dbhost' => 'db',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_nextcloud_admin',
  'dbpassword' => '*********',
  'installed' => true,
  'has_internet_connection' => false,
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'session_lifetime' => 3600,
  'session_keepalive' => false,
  'remember_login_cookie_lifetime' => 0,
);

Sadly I couldn’t find apache2/nginx/system log in /var/log/____. But /var/log/apache2/access.log, /var/log/apache2/error.log, and /var/log/apache2/other_vhosts_access.log are empty.