Rclone mount random slow speeds

I've set my host to 172.217.168.234 which seems to be working fine 'for now'... Will keep an eye on it.
I also tried downloading directly from Google Drive website and only getting around 350KBps as well so it's definitely not an rclone thing.

as a workaround and with a VPN to singapore - these yielded much better results (in AU, without staying connected to a VPN) - you could add them to /etc/hosts (or the windows equivelant) in the meantime.. I might keep editing this post in case others bump into it and find it useful

142.251.12.95 www.googleapis.com
142.250.4.95 www.googleapis.com

1 Like

Thanks for this, just tried this and works better than the one I was connected to.

1 Like

List of servers around the world. Keep in mind your data will be in two locations at least 100miles apart. Generally speaking the two locations will be the two closest points where you access the data. So just because a site in India is slow, it might just mean that your data is in Europe, so it needs to fetch the data from Europe to put it through the API server in India before it can hand it off to you.

Sinagpore
142.251.10.95
142.251.12.95
172.217.194.95
142.250.4.95
74.125.200.95
74.125.24.95
South Korea
172.217.161.74
172.217.26.234
172.217.175.10
172.217.175.42
172.217.175.74
172.217.31.170
172.217.161.42
142.250.207.10
172.217.174.106
216.58.220.106
142.250.199.106
142.250.196.106
142.250.196.138
142.251.42.170
142.251.42.202
172.217.31.138
Mumbai, India
216.58.203.10
216.58.196.74
172.217.160.170
142.250.67.138
216.58.203.42
172.217.166.74
142.250.67.170
142.250.67.202
142.250.76.170
142.250.76.202
142.250.183.42
142.250.183.74
142.250.199.170
142.251.42.106
172.217.167.170
172.217.174.234
Los Angeles, USA
142.250.68.106
142.250.72.138
142.250.72.170
142.250.176.10
142.250.188.234
142.250.72.234
142.251.40.42
142.250.217.138
142.250.189.10
172.217.14.74
172.217.14.106
142.250.68.10
142.250.68.42
142.250.68.74
Tokyo, Japan
172.217.175.106
142.251.42.138
142.251.42.170
142.251.42.202
172.217.31.138
172.217.161.74
172.217.26.234
216.58.220.138
172.217.175.10
172.217.175.74
172.217.31.170
172.217.161.42
142.250.207.10
172.217.174.106
142.250.199.106
142.250.196.106

Im doing testing over all the IPs, but from early testing Singapore (unsurprisingly) is the best with 65-85MiB/s for a 500MB test file.

1 Like

These are the IPs are are resovable from each city/country. It does not nesscessary mean the server is in that country, e.g. there is overlap between Japan and South Korea.

Test file is 50MB

Singapore
Please wait, downloading the test file from 142.251.10.95... 5.253 MiB/s
Please wait, downloading the test file from 142.251.12.95... 5.500 MiB/s
Please wait, downloading the test file from 172.217.194.95... 5.999 MiB/s
Please wait, downloading the test file from 142.250.4.95... 5.426 MiB/s
Please wait, downloading the test file from 74.125.200.95... 8.250 MiB/s
Please wait, downloading the test file from 74.125.24.95... 5.749 MiB/s
South Korea
Please wait, downloading the test file from 172.217.161.74... 5.998 MiB/s
Please wait, downloading the test file from 172.217.26.234... 953.6 KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.175.10... 6.572 MiB/s
Please wait, downloading the test file from 172.217.175.42... 9.745 MiB/s
Please wait, downloading the test file from 172.217.175.74... 7.000 MiB/s
Please wait, downloading the test file from 172.217.31.170... 993.8 KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.161.42... 8.001 MiB/s
Please wait, downloading the test file from 142.250.207.10... 839.1 KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.174.106... 7.000 MiB/s
Please wait, downloading the test file from 216.58.220.106... 9.247 MiB/s
Please wait, downloading the test file from 142.250.199.106... 948.0 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.196.106... 857.5 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.196.138... 900.3 KiB/s - Blacklisting
Please wait, downloading the test file from 142.251.42.170... 939.1 KiB/s - Blacklisting
Please wait, downloading the test file from 142.251.42.202... 960.1 KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.31.138... 8.999 MiB/s
Mumbai, India
Please wait, downloading the test file from 216.58.203.10... 525.0 KiB/s - Blacklisting
Please wait, downloading the test file from 216.58.196.74... 533.3 KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.160.170... 539.0 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.67.138... 547.1 KiB/s - Blacklisting
Please wait, downloading the test file from 216.58.203.42... 552.8 KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.166.74... 545.8 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.67.170... 2.335 MiB/s
Please wait, downloading the test file from 142.250.67.202... 546.3 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.76.170... 669.8 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.76.202... 562.1 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.183.42... 513.1 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.183.74... 533.8 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.199.170... 563.5 KiB/s - Blacklisting
Please wait, downloading the test file from 142.251.42.106... 558.4 KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.167.170... 488.2 KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.174.234... 543.4 KiB/s - Blacklisting
Los Angeles, USA
Please wait, downloading the test file from 142.250.68.106... 9.745 MiB/s
Please wait, downloading the test file from 142.250.72.138... 7.004 MiB/s
Please wait, downloading the test file from 142.250.72.170... 4.999 MiB/s
Please wait, downloading the test file from 142.250.176.10... 4.090 MiB/s
Please wait, downloading the test file from 142.250.188.234... 4.000 MiB/s
Please wait, downloading the test file from 142.250.72.234... 9.995 MiB/s
Please wait, downloading the test file from 142.251.40.42... 4.900 MiB/s
Please wait, downloading the test file from 142.250.217.138... 3.538 MiB/s
Please wait, downloading the test file from 142.250.189.10... 4.599 MiB/s
Please wait, downloading the test file from 172.217.14.74... 9.251 MiB/s
Please wait, downloading the test file from 172.217.14.106... 8.396 MiB/s
Please wait, downloading the test file from 142.250.68.10... 8.666 MiB/s
Please wait, downloading the test file from 142.250.68.42... 8.327 MiB/s
Please wait, downloading the test file from 142.250.68.74... 1.999 MiB/s
Tokyo, Japan
Please wait, downloading the test file from 172.217.175.106... 8.334 MiB/s
Please wait, downloading the test file from 142.251.42.138... 954.5 KiB/s - Blacklisting
Please wait, downloading the test file from 142.251.42.170... 961.0 KiB/s - Blacklisting
Please wait, downloading the test file from 142.251.42.202... 1005. KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.31.138... 1.853 MiB/s
Please wait, downloading the test file from 172.217.161.74... 1.543 MiB/s
Please wait, downloading the test file from 172.217.26.234... 933.5 KiB/s - Blacklisting
Please wait, downloading the test file from 216.58.220.138... 8.202 MiB/s
Please wait, downloading the test file from 172.217.175.10... 12.00 MiB/s
Please wait, downloading the test file from 172.217.175.74... 7.745 MiB/s
Please wait, downloading the test file from 172.217.31.170... 10.99 MiB/s
Please wait, downloading the test file from 172.217.161.42... 869.7 KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.207.10... 897.8 KiB/s - Blacklisting
Please wait, downloading the test file from 172.217.174.106... 8.998 MiB/s
Please wait, downloading the test file from 142.250.199.106... 1005. KiB/s - Blacklisting
Please wait, downloading the test file from 142.250.196.106... 1.062 MiB/s

5)MB Test File Summary:
Singapore servers are rock solid
USA is next best, but they have a couple of bad servers.
South Korea / Japan / India arent worth the time and effort.

500MB Test file with Singapore and USA servers

Please wait, downloading the test file from 142.251.10.95... 83.14 MiB/s
Please wait, downloading the test file from 142.251.12.95... 81.07 MiB/s
Please wait, downloading the test file from 172.217.194.95... 68.84 MiB/s
Please wait, downloading the test file from 142.250.4.95... 78.50 MiB/s
Please wait, downloading the test file from 74.125.200.95... 80.08 MiB/s
Please wait, downloading the test file from 74.125.24.95... 80.74 MiB/s
Please wait, downloading the test file from 142.250.68.106... 63.81 MiB/s
Please wait, downloading the test file from 142.250.72.138... 9.113 MiB/s
Please wait, downloading the test file from 142.250.72.170... 11.80 MiB/s
Please wait, downloading the test file from 142.250.176.10... 6.961 MiB/s
Please wait, downloading the test file from 142.250.188.234... 9.427 MiB/s
Please wait, downloading the test file from 142.250.72.234... 70.96 MiB/s
Please wait, downloading the test file from 142.251.40.42... 11.65 MiB/s
Please wait, downloading the test file from 142.250.217.138... 8.229 MiB/s
Please wait, downloading the test file from 142.250.189.10... 9.667 MiB/s
Please wait, downloading the test file from 172.217.14.74... 71.35 MiB/s
Please wait, downloading the test file from 172.217.14.106... 68.19 MiB/s
Please wait, downloading the test file from 142.250.68.10... 78.80 MiB/s
Please wait, downloading the test file from 142.250.68.42... 76.30 MiB/s
Please wait, downloading the test file from 142.250.68.74... 78.76 MiB/s

2 Likes

OK, so if you have just popped along to the thread, here is the highlights.

  1. In Australia (and other countries) Google has issues with the servers that sit behind www.googleapis.com which is what rclone talks out to if you are using google drive with rclone

  2. At the moment, the best fix it to modify your hosts file with a fast server to force Plex/Jellyfin etc to download from the fastest server

  3. If you are in or near Australia, look at the list above and find a server that has the highest MiB/s
    a) On linux go to /etc/hosts and add the following line 142.251.10.95 www.googleapis.com and save and close
    b) On Windows go to C:\Windows\System32\drivers\etc\ and cut the hosts file from that location and put it on your desktop. Open the file and add the following line 142.251.10.95 www.googleapis.com . Then save the file and cut and paste the file back to C:\Windows\System32\drivers\etc\ . Then click on the start button and type ipconfig /flushdns and press enter . Then you should be using the new IP address, if all else fails just restart the computer for the change to apply.

  4. Speeds above are in MiB/s this is different to Mbps or MBps. If you dont understand, use a calculator Convert MiB/s to Mbps - Conversion of Measurement Units

  5. Just because a server is fast now, it does not mean it will always stay fast.

  6. Try and use a server IP that is in Singapore as these so far seem more stable

6 Likes

Phenomenal work. I really appreciate your work mate!

1 Like

It is not just an Australian problem, I'm in Spain and I also have slow speeds.

I've searched in nslookup.io page for google ips of several countries and, surprisingly, Russian ones gave me speeds of 30/35MiB/s

1 Like

Facing something similar issue from few days (5 july) please somebody help me.
when ever i start download something from googel drive in browser my download speed get stuck at 500KB/s if i download multiple file from google drive then each file will download at speed of 500KB/s. and i try to pause download and restart it then suddenly speed will go up to 6MB/s (my internet speed) and then it will drop to 500KB/s. let me clear this only happen to google drive file, any other file will download normaly at 6MB/s speed.
When i use vpn then i get full speed download at googel drive, so i thought that may be it is something to do with my isp but when i download android vm in my pc and download file inside google drive android app inside vm without vpn then my download speed get increase to 6MB/s. so there is nothing to do with my isp.

what i have trid:-

  1. update my windows system
  2. try using diffrent browser
  3. try using diffrent google account
    but still facing this issue

I am try to find solutin of this problem form few day on reddit then somebody suggest me this forum please can somebody help me to understand what is real issue and how can i fix it.

the script will output such message when grep is unable to find (case insensitive) either mib/s or kib/s in rclone's log file. so, it seems your log files are either using a different metric or do not contain such information. try running the following command on its own and then inspect the resulting log file to see what is going (edit the remote file and output dir before running, of course):

rclone copy --log-file ./rclone-standalone-run.log -v "REMOTE_FILE" "OUTPUT_DIR"

if you run into other issues or unable to solve this one, I think it is better to open an issue in the script's gh repo. (this thread is getting too long and am afraid that script troubleshooting is somewhat unrelated.)

I'd have to spin a windows vm to test that and unfortunately, I'm particularly busy this weekend. regarding your findings, are you able to run wireshark (or similar tool) on the same host that has the official gdrive app to see what is going on? that could prove instructive moving forward.

the issue is not restricted to Australia. I'm running into it in South America and we have reports from north america and europe as well.

I'm not hugely surprised. knowing how they deploy software and infrastructure changes. My assumption that this is bad configuration that is now "drifting" across their infra, and I'm sure it will be addressed (either change will be reverted or will be a 'roll-forward' fix)

They wouldn't have changed the TOS out of the blue for a paid, commercial service

1 Like

I've tried listing all IPs I could for European locations.

Two files, one is a text file with the listing of domain names and corresponding IPs (you'll notice the first three letters in the domain names refers to the city of the endpoint), the other is an open sheet with the list of IPs per country/city.

The first file has been deduplicated, the second file hasn't, simply listing the result of "nslookup www.googleapis.com" for any given location.

Pastebin to the first file: Name: fra24s06-in-f10.1e100.netAddress: 142.250.186.106Name: fra24s - Pastebin.com

Download link for the open sheet: 6.1 KB file on MEGA

Look at my post 4 posts above you post, it has what you are looking for. Is your server in Australia or somewhere else?

From Malaysia here, the Singapore IP address works well for now. I have been facing this slowness for a week now, I thought it's my account or IP issue but my VPS located in the US also faced the same.

Hopefully google will fix this soon, it's unbearable consider that I am paying for google workspace as well.

A list of Dutch IPs that was missing from the Euro list above:

Name:    lhr26s05-in-f10.1e100.net
Address:  216.58.214.10

Name:    ams15s42-in-f10.1e100.net
Address:  142.250.179.202

Name:    ams15s40-in-f10.1e100.net
Address:  172.217.168.234

Name:    ams17s12-in-f10.1e100.net
Address:  142.251.36.42

Name:    ams16s32-in-f10.1e100.net
Address:  172.217.168.202

Name:    ams15s41-in-f10.1e100.net
Address:  142.250.179.170

Name:    ams15s44-in-f10.1e100.net
Address:  142.251.36.10

Name:    ams17s10-in-f10.1e100.net
Address:  142.250.179.138

Name:    ams15s48-in-f10.1e100.net
Address:  142.251.39.106

Name:    sof01s11-in-f106.1e100.net
Address:  216.58.208.106

I'm pretty sure the last one is from Sofia, Bulgaria but still.

i am in india so nearest server is mumbai

Cannot say thank you enough!

with a bit of script manipulation, i am now selecting best speeds from the USA/ singapore servers( from South africa). hope Google really fixes this mess

Hi @STARK_LINE

I have listed all the IP addresses for Mumbai above. You can either use the script to test them or test them out one by one.
Manually:
E.g.

  1. change your hosts file manually with a new ip address located in /etc/hosts
    www.googleapis.com

  2. then do a copy from google drive to your server
    rclone copy -v -P <rclone drive:/some/file /tmp

Then you can watch the download speed. If the speed is too slow, try another IP. e.g. do step 1 and step 2 again.

Script

OR you can grab this script from @Nebarik and update the section that says edit these bits

Nebarik/mediscripts-shared/blob/main/googleapis.sh

Then run the script and it will do it all for you.

1 Like

actually i have problem in downloading inside browser. so i come here because i am unable to find answer any were.

It probably doesnt matter if you are using a browser or rclone or the Google drive client.I would test it out anyway.

Just do the manual method I put above about setting your hosts file manually.