There is a problem with WebDAV 3.01 plug-in.

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
ikasaki76
Junior Member
Junior Member
Posts: 8
Joined: 2020-07-21, 17:57 UTC
Location: South Korea

There is a problem with WebDAV 3.01 plug-in.

Post by *ikasaki76 »

When moving and copying inside the NAS, a "timeout" dialog message is output and the operation is not completed.

There was no problem in the previous version.
What has changed?

Attach log files.

2020-07-22 02:47:13.693 HOST:WebDAV:initiate connection to plugin
2020-07-22 02:47:13.711 HOST:WebDAV:bindService succeeded
2020-07-22 02:47:13.715 HOST:WebDAV:WaitUntilConnected:Background
2020-07-22 02:47:13.716 HOST:WebDAV:Service connected!
2020-07-22 02:47:13.718 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/
2020-07-22 02:47:13.718 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/
2020-07-22 02:47:13.749 WebDAV:CONNECT NAS [WebDAV] (Private IP - Local)
2020-07-22 02:47:13.750 WebDAV:OkHttpClient: new connection to: 192.168.219.200
2020-07-22 02:47:17.530 HOST:WebDAV:checkConnectionAlive: 1
2020-07-22 02:47:25.243 WebDAV:MODE I
2020-07-22 02:47:25.243 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/
2020-07-22 02:47:25.244 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/
2020-07-22 02:47:29.115 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/DownTemp/
2020-07-22 02:47:29.117 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/DownTemp/
2020-07-22 02:47:34.839 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:47:34.840 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:47:40.171 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:47:40.172 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:47:40.333 tc:Copy 1 files:///WebDAV/NAS [WebDAV] (Private IP - Local)/DownTemp/->///WebDAV/NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:47:50.342 WebDAV:Exception: timeout
2020-07-22 02:47:50.344 WebDAV:cause: Read timed out
2020-07-22 02:47:50.345 WebDAV:timeout
2020-07-22 02:47:59.509 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:47:59.510 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:24.438 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/
2020-07-22 02:49:24.441 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/
2020-07-22 02:49:29.602 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:29.604 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:36.362 tc:Delete 1 files in:///WebDAV/NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:36.364 WebDAV:DELETE /NAS [WebDAV] (Private IP - Local)/Video/The.Singer.2020.1080p.FHDRip.H264.AAC-NonDRM.mp4
2020-07-22 02:49:37.018 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:37.019 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:37.539 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:37.540 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:44.993 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/
2020-07-22 02:49:44.994 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/
2020-07-22 02:49:46.328 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/DownTemp/
2020-07-22 02:49:46.329 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/DownTemp/
2020-07-22 02:49:50.856 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:50.857 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:49:50.883 tc:Move 1 files:///WebDAV/NAS [WebDAV] (Private IP - Local)/DownTemp/->///WebDAV/NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:50:00.893 WebDAV:Exception: timeout
2020-07-22 02:50:00.895 WebDAV:cause: Read timed out
2020-07-22 02:50:00.897 WebDAV:timeout
2020-07-22 02:50:06.060 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/DownTemp/
2020-07-22 02:50:06.061 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/DownTemp/
2020-07-22 02:50:06.867 HOST:WebDAV:get dir: /NAS [WebDAV] (Private IP - Local)/Video/
2020-07-22 02:50:06.869 WebDAV:LIST /NAS [WebDAV] (Private IP - Local)/Video/
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: There is a problem with WebDAV 3.01 plug-in.

Post by *ghisler(Author) »

The main difference is that I'm now using the OkHttp library because the old Apache Client library has been discontinued, and Google is pushing developers to no longer use it. You can still switch back to the Apache library via connection properties. Can you check whether it still works with the Apache library? If yes, I will try to find the issue with OkHttp. If no, then it must be a problem with your server.

Btw, it does work here with OkHttp and 4 different hosts:
1. Apache with NextCloud
2. Windows 10 with Microsoft Internet Information Server (IIS) and its WebDAV module
3. Commercial service web.de
4. Commercial service gmx.de

With Yandex.com, the file was copied successfully, but there was no confirmation from the server within the 10 second timeout.
Author of Total Commander
https://www.ghisler.com
User avatar
ikasaki76
Junior Member
Junior Member
Posts: 8
Joined: 2020-07-21, 17:57 UTC
Location: South Korea

Re: There is a problem with WebDAV 3.01 plug-in.

Post by *ikasaki76 »

It works fine in the Apache library.
I hope... The OkHttp will be bug fixed soon.
Thank U.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: There is a problem with WebDAV 3.01 plug-in.

Post by *ghisler(Author) »

Unfortunately I do not have this problem with any of my servers, and no one else has reported it either.
Therefore I need more information:
1. What server software and version do you use? For example, owncloud version X on Linux with Apache 2.4.
2. Which Android version do you use on the client?
Author of Total Commander
https://www.ghisler.com
User avatar
ikasaki76
Junior Member
Junior Member
Posts: 8
Joined: 2020-07-21, 17:57 UTC
Location: South Korea

Re: There is a problem with WebDAV 3.01 plug-in.

Post by *ikasaki76 »

Server : NAS [Synology DS218+(DSM6.2)]
Client : Android 10

This is not a problem between server and client, but a problem when copying from server to server.

I don't know what server system the DSM on the NAS is based on.
If you need a test, I will give you a NAS temporary account. (to Email)
Test files larger than 2 gigabytes here.
Please let me know if you need it.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: There is a problem with WebDAV 3.01 plug-in.

Post by *ghisler(Author) »

This is not a problem between server and client, but a problem when copying from server to server.
I assume you mean copying files within the same server? Copying between two servers is not supported.
Author of Total Commander
https://www.ghisler.com
User avatar
ikasaki76
Junior Member
Junior Member
Posts: 8
Joined: 2020-07-21, 17:57 UTC
Location: South Korea

Re: There is a problem with WebDAV 3.01 plug-in.

Post by *ikasaki76 »

Same server sure!
Supported in the Apache library.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: There is a problem with WebDAV 3.01 plug-in.

Post by *ghisler(Author) »

Here it also works with the OkHttp library. :(
Author of Total Commander
https://www.ghisler.com
Post Reply