# Rclone and Yandex.Disk (2022-09 summary)

**URL:** <https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162>\
**Category:** Help and Support\
**Created:** [September 23, 2022, 10:29am UTC](https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162 "2022-09-23T10:29:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Korwin](https://forum.rclone.org/user_avatar/forum.rclone.org/korwin/32/9679_2.png) [@Korwin](https://forum.rclone.org/u/Korwin)\
**Post date:** [September 23, 2022, 10:29am UTC](https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162/1 "2022-09-23T10:29:47Z")

</div>

#### Run the command 'rclone version' and share the full output of the command.

rclone v1.59.2

- os/version: Microsoft Windows 10 Pro 21H2 (64 bit)
- os/kernel: 10.0.19044.2075 (x86\_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.18.6
- go/linking: static
- go/tags: cmount

#### Which cloud storage system are you using? (eg Google Drive)

Yandex.Disk

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```auto
rclone.exe mount YandexDisk: Y: --config "C:\Users\User\AppData\Roaming\rclone\rclone.conf" --vfs-cache-mode full --cache-dir "E:\rclone cache\Yandex" --no-check-certificate --no-console --log-file C:\SW\rclone\rclone_yDisk.log

```

#### The rclone config contents with secrets removed.

```auto
[YandexDisk]
type = yandex
token = {"access_token":"xxxxx","token_type":"OAuth","refresh_token":"xxxxx","expiry":"2023-09-15T14:10:30.1832003+03:00"}
client_id = xxxxx
client_secret = xxxxx

```

**Previously created topics regarding the low speed of Yandex.Disk if it is mounted as a local disk using rclone**

Rclone 25-50 Mbps slow transfer speed

> [@Rclone 25-50Mbps slow transfer speed](https://forum.rclone.org/t/rclone-25-50mbps-slow-transfer-speed/29157):
>
> What is the problem you are having with rclone? Rclone upload and download transfers became slow - after resetting Windows 10 network with this cmd parameters: netsh int 6to4 reset all netsh int ipv4 reset all netsh int ipv6 reset all netsh int httpstunnel reset all netsh int isatap reset all netsh int portproxy reset all netsh int tcp reset all netsh int teredo reset all I ran that .bat file because i thought this would solve the problem with USB Wi-Fi adapter network cutting but instead it …

Rclone copy large files to the cloud Yandex.Disk

> [@Rclone copy large files to the cloud yandex.disk](https://forum.rclone.org/t/rclone-copy-large-files-to-the-cloud-yandex-disk/12501):
>
> Trying to copy a folder from my laptop to the cloud Yandex.disk with the command .\rclone.exe copy d:\_Doc\_home\_1\ remote:/BackUp\_kg\_notebok/\_Doc\_home\_1 --size-only --progress --transfers=30 --buffer-size=500Mb I'm trying to use it. The 400Mb data is copied as follows. Initially, in 10 seconds, all small files of the order of 100 MB are copied through many threads. Then the single largest file of 300MB size is copied slowly and for a very long time approximately 30 minutes. When copying one…

Coping a lot of small files significantly slows down the uploading pace

> [@Yandex Disk | Coping a lot of small files significantly slows down the uploading pace](https://forum.rclone.org/t/yandex-disk-coping-a-lot-of-small-files-significantly-slows-down-the-uploading-pace/4844):
>
> Hi. I’m uploading a directory tree with about 400 000 small files in overall size of 7 GB (gigabytes). At first, the upload runs without any issues, however, when the uploaded size reaches 1.24 GB, the pace slows down significantly making the further upload impossible in a reasonable amount of time. This behavior is regular. When trying several times, the result is the same — the pace drop at 1.24 GB. I tried to upload the directory as a part of another one with files of a large size. The lar…

Yandex-disk slow upload speed

> [@Yandex-disk slow upload speed](https://forum.rclone.org/t/yandex-disk-slow-upload-speed/19650):
>
> Hey all I'm pretty new to using rclone so bare with me. I'm using rclone with Onedrive, Google drive, and Yandex disk on my Digitalocean droplet. I'm having great experience using rclone with other two but speeds are ridiculously slow with Yandex disk. Please see this . I used rclone --progress moveto sourceFolder yandex:/destFolder to move the file from my Vps to yandex. It works fine with really fast speed with Onedrive and Google drive. I'm using latest…

Conclusions:

1. most likely, there is always throttling from the server side. Throttling conditions are unknown, and Yandex does not provide an opportunity to find out them either in general or in relation to a specific personal user key;
2. Yandex uses multithreading in its native applications, but did not specify it in the API documentation. As a result, it cannot be implemented in third-party applications;
3. Yandex in its native applications uses a comparison of the hash sum of the uploaded file with the files in the server cache. For third-party applications, this feature is also missing;
4. netsh int tcp set global autotuninglevel=normal can help someone. But not to me;
5. maybe using --tpslimit can help someone. But in any case, this is not suitable for searching through tens of thousands of files and it will definitely be slower than the native client.

I asked a question to the support team to find out the reasons for the slow data transfer speed:

> After mounting Yandex-Disk on one physical machine with Microsoft Windows 10.0.19044.2075 using rclone (the --vfs-cache-mode full key is used) with its own token ([About | OAuth for Yandex&nbsp;ID](https://yandex.com/dev/oauth/)), almost immediately throttling up to hundreds of kilobytes per second and one element per second. With an actual Internet connection speed in the region of 80-90 Mbps. It's impossible to work.
> 
> The log contains errors like
> 
> ```auto
> 2022/09/22 16:07:29 ERROR : /: Dir.Stat error: Get "
> https://cloud-api.yandex.com/v1/disk/resources?limit=1000&path=disk%3A%2F
> ": dial tcp: lookup cloud-api.yandex.com: no such host
> 2022/09/22 16:07:29 ERROR : IO error: Get "
> https://cloud-api.yandex.com/v1/disk/resources?limit=1000&path=disk%3A%2F
> ": dial tcp: lookup cloud-api.yandex.com: no such host
> 
> ```
> 
> and
> 
> ```auto
> 2022/09/20 02:24:58 ERROR : 2022 (...).jpg: vfs cache: failed to upload try #3, will retry in 40s: vfs cache: failed to transfer file from cache to remote: Put "
> https://cloud-api.yandex.com/v1/disk/resources?path=%2F2022+%D0%9A%D0%BE%D0%BD%D1%82%D0%B5(...)
> ": dial tcp: lookup cloud-api.yandex.com: no such host
> 2022/09/20 02:24:58 ERROR : 2022 (...).png: Failed to copy: Put "
> https://cloud-api.yandex.com/v1/disk/resources?path=%2F2022+%D0%9A%D0%BE%D0%BD(...)
> ": dial tcp: lookup cloud-api.yandex.com: no such host
> 
> ```
> 
> and
> 
> ```auto
> 2022/09/16 13:00:02 ERROR : Unsorted from Nextcloud/Content Department/Backups/phonerecs/MToxMDA1OTcwMjo2MzY0ODYxODAxOjA=.mp3: Failed to copy: [423 - DiskResourceLockedError] Resource is locked. (Ресурс заблокирован. Возможно, над ним выполняется другая операция.)
> 2022/09/16 13:00:02 ERROR : Unsorted from Nextcloud/Content Department/Backups/phonerecs/MToxMDA1OTcwMjo2MzY0ODYxODAxOjA=.mp3: vfs cache: failed to upload try #1, will retry in 10s: vfs cache: failed to transfer file from cache to remote: [423 - DiskResourceLockedError] Resource is locked. (Ресурс заблокирован. Возможно, над ним выполняется другая операция.)
> 
> ```
> 
> Our team planned to use Yandex.Disk to store together several hundred gigabytes of predominantly recognized PDF documents with an average size of 1.5 MB and images up to 20-30 MB in size with full-text search.

Support answer:

> We guarantee the stable operation of only official Yandex solutions, as we do not take part in the development, configuration and support of third-party applications. Unfortunately, if you're having trouble using another app, we can't help you because we don't know how it works. You can use any official Yandex application.  
> We have clients for Windows, macOS and Linux, apps for Google Android and iOS, and of course a web version.  
> If none of the official solutions work for you, please tell us why. We will definitely take your comments into account when working on updates!

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [September 23, 2022, 8:27pm UTC](https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162/2 "2022-09-23T20:27:06Z")

</div>

That's a nice summary, thank you.

> [@Korwin](#):
>
> `dial tcp: lookup cloud-api.yandex.com: no such host`

This error looks more like a DNS lookup problem than a server side throttling problem. Have you investigated that?

---

<div class="post-metadata">

**Author:** ![Korwin](https://forum.rclone.org/user_avatar/forum.rclone.org/korwin/32/9679_2.png) [@Korwin](https://forum.rclone.org/u/Korwin)\
**Post date:** [September 26, 2022, 12:42pm UTC](https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162/3 "2022-09-26T12:42:01Z")

</div>

> [@ncw](#):
>
> This error looks more like a DNS lookup problem than a server side throttling problem. Have you investigated that?

No, can you provide me with comprehensive instructions on this?

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 26, 2022, 12:43pm UTC](https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162/4 "2022-09-26T12:43:46Z")

</div>

On you local machine, it's not getting a DNS result when it looks up [cloud-api.yandex.com](http://cloud-api.yandex.com)

[Troubleshooting DNS clients | Microsoft Learn](https://learn.microsoft.com/en-us/windows-server/networking/dns/troubleshoot/troubleshoot-dns-client)

---

<div class="post-metadata">

**Author:** ![Korwin](https://forum.rclone.org/user_avatar/forum.rclone.org/korwin/32/9679_2.png) [@Korwin](https://forum.rclone.org/u/Korwin)\
**Post date:** [September 26, 2022, 2:04pm UTC](https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162/5 "2022-09-26T14:04:15Z")

</div>

I changed the DNS servers of my wired network connection to the following:

1.1.1.1  
1.0.0.1  
8.8.8.8  
8.8.4.4  
9.9.9.9  
185.228.168.9  
185.228.169.9  
76.76.2.2  
76.76.10.2  
94.140.14.14  
94.140.15.15  
94.140.14.140  
94.140.14.141

I cleared the local DNS cache, launched rclone, and again tried to transfer several files from one Yandex.Disk folder to another. I didn't notice any changes. [Log with --vv key](https://docs.google.com/document/d/1n2X1CnIP1P1wx6tfyZPzcdnry98hY1rLtqqgHUkBPZE/edit).

---

<div class="post-metadata">

**Author:** ![Animosity022](https://forum.rclone.org/user_avatar/forum.rclone.org/animosity022/32/451_2.png) [@Animosity022](https://forum.rclone.org/u/Animosity022)\
**Post date:** [September 26, 2022, 2:06pm UTC](https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162/6 "2022-09-26T14:06:07Z")

</div>

The DNS errors are not present in the log you shared so you did clear that up.

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [September 27, 2022, 5:56pm UTC](https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162/7 "2022-09-27T17:56:39Z")

</div>

> [@Korwin](#):
>
> I cleared the local DNS cache, launched rclone, and again tried to transfer several files from one Yandex.Disk folder to another. I didn't notice any changes. [Log with --vv key](https://docs.google.com/document/d/1n2X1CnIP1P1wx6tfyZPzcdnry98hY1rLtqqgHUkBPZE/edit).

That's fixed the DNS errors which is good.

I guess the throttling problem is still there?

There are no errors in the log now, so if it is slow, it is either network problems or throttling at yandex.

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [October 27, 2022, 5:57pm UTC](https://forum.rclone.org/t/rclone-and-yandex-disk-2022-09-summary/33162/8 "2022-10-27T17:57:24Z")

</div>

Closed on October 27, 2022, 5:57pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
