Files aren't uploaded to Yandex Disk via WebDAV Plugin

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
eliio
Junior Member
Junior Member
Posts: 12
Joined: 2018-06-17, 03:57 UTC
Location: Khimki
Contact:

Files aren't uploaded to Yandex Disk via WebDAV Plugin

Post by *eliio » 2019-10-16, 09:24 UTC

Recently I was unable to upload files to Yandex Disk via WebDAV Plugin. Looking at the traffic files are probably uploaded completely, but at 99% of the scale the process gets stuck and after a while ends with a timeout error.
Here are some corresponding log strings:

Code: Select all

File send: \In Touch\user_pic.psd
First upload step: Send 1 byte file for authentication
PUT /In%20Touch/user_pic.psd HTTP/1.1
201 Created
Last upload step: Send actual file
HTTP error: Timeout
What could be the reason for these hangs? Maybe I need to change some connection options?
WebDAV 3.0, TC 9.22a on Win 10 x64.
Last edited by eliio on 2019-10-23, 17:22 UTC, edited 2 times in total.
TC 9.22a on Win 10 x64

User avatar
sqa_wizard
Power Member
Power Member
Posts: 3502
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Files don't upload on Yandex Disk via WebDAV Plugin

Post by *sqa_wizard » 2019-10-16, 11:44 UTC

... files are probably uploaded completely, but at 99% of the scale the process gets stuck and after a while ends with timeout error.
The very last step, after uploading, is to wait for a confirmation of the server about the successful upload.
If this is missing TC waits until a timeout occurs.
Without this final confirmation the upload is set to fail, though the upload itself may was successful.
#5767 Personal license

User avatar
eliio
Junior Member
Junior Member
Posts: 12
Joined: 2018-06-17, 03:57 UTC
Location: Khimki
Contact:

Re: Files don't upload on Yandex Disk via WebDAV Plugin

Post by *eliio » 2019-10-16, 12:18 UTC

Hmm, so Yandex server didn't send this confirmation, right? Is there anything I can do in this situation?
TC 9.22a on Win 10 x64

User avatar
eliio
Junior Member
Junior Member
Posts: 12
Joined: 2018-06-17, 03:57 UTC
Location: Khimki
Contact:

Re: Files don't upload on Yandex Disk via WebDAV Plugin

Post by *eliio » 2019-10-16, 12:41 UTC

Tested a bit more... I realized that small files (~150-200KB) can be successfully uploaded. Yandex Disk seems to have a built in antivirus, so I think after a successful upload the server checks a file for viruses. And for large files this waiting time may be longer than timeout of the plugin. Is it possible to increase this timeout?
TC 9.22a on Win 10 x64

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38213
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Files don't upload on Yandex Disk via WebDAV Plugin

Post by *ghisler(Author) » 2019-10-16, 17:05 UTC

1. The timeout in the Internet* functions used by TC is 30 seconds. Does it really take that long?
2. Try using my "cloud" plugin instead. It supports Yandex, and allows to limit the upload speed. This gives the server more time to scan the file.
Author of Total Commander
http://www.ghisler.com

User avatar
eliio
Junior Member
Junior Member
Posts: 12
Joined: 2018-06-17, 03:57 UTC
Location: Khimki
Contact:

Re: Files aren't uploaded to Yandex Disk via WebDAV Plugin

Post by *eliio » 2019-10-16, 22:07 UTC

The waiting time between 99% and "Error" is about 20-23 seconds. I'm sure it is not normal to wait so long. I tried the Cloud plugin, thank you, and files was uploaded without any additional timeout at the end. But I found a strange correlation: If I try to upload files via WebDav plugin first, and then I use Cloud plugin, uploading gets this timeout error again. Restarting TC corrects this.
The only minor inconvenience when using the Cloud plugin is the need to enter the master password.
Last edited by eliio on 2019-10-23, 17:03 UTC, edited 3 times in total.
TC 9.22a on Win 10 x64

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38213
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Files don't upload on Yandex Disk via WebDAV Plugin

Post by *ghisler(Author) » 2019-10-17, 08:44 UTC

Strange, TC doesn't set any timeout in WebDAV, so it should use the regular 30 seconds...
Author of Total Commander
http://www.ghisler.com

a1argus
New Member
New Member
Posts: 1
Joined: 2019-11-01, 08:20 UTC

Re: Files aren't uploaded to Yandex Disk via WebDAV Plugin

Post by *a1argus » 2019-11-01, 08:24 UTC

Same problem on Android. But no cloud plugin for yandex disk there. Please fix. Or maybe we should send a ticket to yandex disk support.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38213
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Files aren't uploaded to Yandex Disk via WebDAV Plugin

Post by *ghisler(Author) » 2019-11-01, 15:12 UTC

Maybe Yandex is overloaded? If they scan each upload for viruses, then it can take more than 30 seconds after the file has been uploaded.
Author of Total Commander
http://www.ghisler.com

Post Reply