ITRG
(RG)
February 12, 2020, 4:04pm
1
Hi,
I use rclone version 1.39.
I use rclone to copie a file from a windows server to the google drive and it's ok, no log error.
I download rclone version 1.51.0 and the same command does not ok and I have a log error : "it seems that it cannot find the DRIVE GOOGLE folder in the parent"
For example The command is : rclone copy "D:\Import" "ImportDist:DRIVE GOOGLE\Dest" --log-file="D:\Temp\LogCpy.log"
Can you help me ?
Regards
asdffdsa
(jojothehumanmonkey)
February 12, 2020, 4:27pm
2
hello and welcome to the forum,
please provide the answers to the following questions.
make sure to add the flag -vv , so the log file will output debug info.
and re-run the command
what happens with these commands
rclone lsd ImportDist:
rclone lsd "ImportDist:DRIVE GOOGLE"
rlcone lsd "ImportDist:DRIVE GOOGLE\Dest"
version 1.39 is over two years old.
if it is not too hard, i would create a new config file for ImportDist: and test again.
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
A log from the command with the -vv
flag (eg output from rclone -vv copy /tmp remote:tmp
)
ITRG
(RG)
February 13, 2020, 10:54am
3
Hi,
The three commands rclone are Ok from version 1.39 and 1.51.0.
My Os is Windows Server 2012R2 (64Bits)
I use Google Drive
This is log with -vv
"2020/02/12 17:43:33 DEBUG : rclone: Version "v1.51.0" starting with parameters ["C:\Program Files (x86)\Rclone\New\rclone.exe" "-vv" "copy" "D:\Import" "ImportDist:DRIVE GOOGLE\Dest" "--log-file=D:\Temp\Log_Copie_20200212-17.log"]
2020/02/12 17:43:33 DEBUG : Using config file from "C:\Users\Administrateur\.rclone.conf"
2020/02/12 17:43:33 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:33 DEBUG : ImportSupply: Token refresh failed try 1/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57496->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:35 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:35 DEBUG : ImportSupply: Token refresh failed try 2/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57497->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:36 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:36 DEBUG : ImportSupply: Token refresh failed try 3/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57498->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:37 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:37 DEBUG : ImportSupply: Token refresh failed try 4/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57499->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:38 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:38 DEBUG : ImportSupply: Token refresh failed try 5/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57500->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:39 DEBUG : pacer: low level retry 1/10 (error Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files(id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink)%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+('0APQPgvkm8AE2Uk9PVA'+in+parents)+and+(name%3D'DRIVE+COMMUN')+and+mimeType%3D'application%2Fvnd.google-apps.folder'&supportsAllDrives=true: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57500->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.)
2020/02/12 17:43:39 DEBUG : pacer: Rate limited, increasing sleep to 1.038585159s
2020/02/12 17:43:39 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:39 DEBUG : ImportSupply: Token refresh failed try 1/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57501->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:40 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:40 DEBUG : ImportSupply: Token refresh failed try 2/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57502->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:41 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:41 DEBUG : ImportSupply: Token refresh failed try 3/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57503->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:42 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:42 DEBUG : ImportSupply: Token refresh failed try 4/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57504->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:43 DEBUG : ImportSupply: Loaded invalid token from config file - ignoring
2020/02/12 17:43:43 DEBUG : ImportSupply: Token refresh failed try 5/5: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57505->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.
2020/02/12 17:43:44 DEBUG : pacer: low level retry 2/10 (error Get https://www.googleapis.com/drive/v3/files?alt=json&fields=files(id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink)%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+('0APQPgvkm8AE2Uk9PVA'+in+parents)+and+(name%3D'DRIVE+COMMUN')+and+mimeType%3D'application%2Fvnd.google-apps.folder'&supportsAllDrives=true: Post https://oauth2.googleapis.com/token: read tcp 1.2.3.4:57505->216.58.204.106:443: wsarecv: Une connexion existante a dû être fermée par l’hôte distant.)
2020/02/12 17:43:44 DEBUG : pacer: Rate limited, increasing sleep to 2.45391813s"
You seem to be having network problems and your token can't refresh.
What is the IP 1.2.3.4 ? That is your machine? It's saying the connection was closed by the remote side further looking like a firewall/proxy/etc.
Stick with the latest version as 1.39 is ancient.
ITRG
(RG)
February 13, 2020, 11:39am
5
I changed Ip address by 1.2.3.4 (it's my private network).
With version 1.39, it'ok and I haven't changed anything (firewall, proxy, etc...)
Why it's not ok with version 1.51.0 ?
1.2.3.4 is a public IP address and shouldn't be used for a private network.
I can only tell you what the error is saying you are trying to refresh your token and it's not working so it's something along with your networkig config/virus scanner/machine.
ITRG
(RG)
February 13, 2020, 12:07pm
7
Yes I know ( if you want, you change 1.2.3.4 by 192.168.1.1). it's ok to you ? My problem is not here.
It's the same machine with rclone version 1.39 and 1.51.0.
Why do i have this concern ?
I do not change my config using one or the other version.
It's strange....
You can also try to reauthorize your key manually.
Just re-run the rclone config and select the get a new key.
ITRG
(RG)
February 13, 2020, 1:06pm
9
Ok, but how ?
I have, edit, new remote, delete remote, rename remote, copy remote, set configuration passaword and qui config.
ITRG
(RG)
February 13, 2020, 1:22pm
10
NB : I have use auto config to rclone config
ncw
(Nick Craig-Wood)
February 13, 2020, 1:56pm
11
ITRG:
Ok, but how ?
This is the easiest way
rclone config reconnect ImportDist:
ITRG
(RG)
February 13, 2020, 3:03pm
12
That's still a networking issue from your machine as it's closing the connection.
You'd want to check your firewall/proxy/virus scannner/malware/etc to see what's stopping it.
ITRG
(RG)
February 13, 2020, 4:58pm
14
HI,
I find it, to generate a new key, rclone version 1.51.0 needs internet access and my machne is in DMZ.
I open this access to generate this key and it's good.
Thank to your help.
You can to close this case.
That's correct. To authenticate to Google, you actually do need Internet access
system
(system)
Closed
May 13, 2020, 5:15pm
16
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.