davrods icon indicating copy to clipboard operation
davrods copied to clipboard

Cyberduck on Davrods 4.3

Open ger039 opened this issue 1 year ago • 3 comments

We managed to compile/run davrods 4.3 (on Debian12 and on Rocky9). And it works nice in webbrowsers no issues. But sadly connecting Cyberduck via Webdav does not work. Also winscp has the same probem/so not exclusive to Cyberduck. But strangely browsers/and windows explorer seem to work fine.

Authentication works, but when 'listing directory /' we get an error: The connection attempt was rejected.

On the webserver backend (apache) we see:

[Fri Nov 08 16:49:59.022325 2024] [dav:error] [pid 11891:tid 11928] [client 129.125.58.194:61444] Provider encountered an error while streaming a multistatus PROPFIND response. [500, #0]

ger039 avatar Nov 08 '24 15:11 ger039

Thanks for the issue report. Can you share which iRODS version you're using, and can you check if there are any relevant messages in the rodsLog?

We plan to work on iRODS 4.3.x support for DavRODS in (roughly) the coming month.

stsnel avatar Nov 11 '24 14:11 stsnel

Hoi Sietze,

We are using iRODS 4.3.2. Strange that davrods4.3 works nicely in browsers/explorer, but does not list directories in winscp/Cyberduck webdav-clients.

ger039 avatar Nov 12 '24 09:11 ger039

Any update on this? We have exact the same error on Debian12/Davrod43 as on Rocky9/Davrods43. Any help appreciated.

our davrods.conf `<VirtualHost *:443>

    # Header always set Strict-Transport-Security "max-age=63072000;     ServerName webdav-test12.data.rug.nl     RewriteEngine On

LoadModule davrods_module /usr/lib/apache2/modules/mod_davrods.so

    <Location />

        Dav On         Options Indexes         ForceType text/plain         DirectoryIndex disabled         AuthType Basic         Require valid-user         AuthName DAV         AuthBasicProvider irods         Dav davrods-locallock         DavRodsEnvFile  /etc/httpd/irods/irods_environment.json         DavRodsServer store-test.data.rug.nl 1247         DavRodsZone testrug         DavRodsAuthScheme Pam         DavRodsExposedRoot  Home         DavrodsTmpfileRollback off         DavDepthInfinity On         LimitXMLRequestBody 0         DavrodsLockDB          /var/lib/davrods/lockdb_locallock

    </Location> </VirtualHost>`

ger039 avatar Feb 28 '25 08:02 ger039

Hi,

I encountered the same error on a Linux webdav client (Gnome file explorer) with a davrods-4.3.4_1.5.1 installation. The browser version has no issue.

I can also reproduce it with a curl command:

curl -u pigay -H 'Depth: 1' -X PROPFIND https://my.davrods.srv/

The output is truncated after some valid touput with an error message: curl: (18) transfer closed with outstanding read data remaining

On the davrods server side, the httpd logs ends with the same multistatus propfind error:

[Tue Jun 24 22:05:28.003083 2025] [dav:error] [pid 7232:tid 7242] [client x.x.x.x:58796] Provider encountered an error while streaming a multistatus PROPFIND response.  [500, #0]
[Tue Jun 24 22:05:28.003095 2025] [dav:error] [pid 7232:tid 7242] [client x.x.x.x:58796] Could not open the lock database.  [500, #400]
[Tue Jun 24 22:05:28.003102 2025] [dav:error] [pid 7232:tid 7242] (120002)APR does not understand this error code: [client x.x.x.x:58796] Could not open lock database.  [500, #1]

Hope this helps

pigay avatar Jun 24 '25 20:06 pigay

I was able to compile/install davrods-4.3.4_1.5.1 successfully on a Ubuntu 22.04 LTS system. But it failed on Debian12 and failed on Rocky9.

ger039 avatar Jun 25 '25 07:06 ger039