AutoRclone icon indicating copy to clipboard operation
AutoRclone copied to clipboard

Failed to rc: connection failed: Post http://localhost:5572/core/stats: dial tcp [::1]:5572: connectex

Open ghost opened this issue 4 years ago • 10 comments

Hello,2020/04/30 23:22:00 Failed to rc: connection failed: Post http://localhost:5572/core/stats: dial tcp [::1]:5572: connectex: No connection could be made because the target machine actively refused it how to fix that?

ghost avatar May 01 '20 10:05 ghost

I even opened the port on my router

ghost avatar May 01 '20 10:05 ghost

Do you have a firewall installed on your machine? If so, allow access for that port, or temporarily disable it

theg00s3 avatar May 07 '20 00:05 theg00s3

It happened to me as well, because I missed this steps:

Add service accounts into your source Team Drive: python3 add_to_team_drive.py -d SharedTeamDriveSrcID

Add service accounts into your destination Team Drive: python3 add_to_team_drive.py -d SharedTeamDriveDstID

Where the script unable to find the source and destination Team Drive ID

mesoller avatar May 18 '20 01:05 mesoller

It is recommended to add the service accounts to a google group first

theg00s3 avatar May 18 '20 04:05 theg00s3

The same is happening for me, but this was working just yesterday...

thegreatestminer avatar Jun 03 '20 12:06 thegreatestminer

@thegreatestminer has the source or destination drive been deleted?

theg00s3 avatar Jun 03 '20 12:06 theg00s3

@theg00s3 Nope. Both the source and the destination still exist.

One strange thing, is that before it starts copying, it starts checking for files that already exist, but when it attempts to copy after that, it fails.

2020/06/03 09:26:13 Failed to rc: connection failed: Post http://localhost:5572/
core/stats: dial tcp [::1]:5572: connectex: No connection could be made because
the target machine actively refused it.
No rclone task detected (possibly done for this account). (2/3)
start /b rclone --config ./rclone.conf copy --drive-server-side-across-configs -
-rc --rc-addr="localhost:5572" -vv --ignore-existing --tpslimit 3 --transfers 3
--drive-chunk-size 32M --drive-acknowledge-abuse --log-file=log_rclone.txt "src0
03:" "dst003:"
>> Let us go dst003: 09:26:13
dst003: reading source/destination | checks: 22207 files

thegreatestminer avatar Jun 03 '20 13:06 thegreatestminer

That's odd. Does anything show up in the logs?

theg00s3 avatar Jun 05 '20 04:06 theg00s3

@thegreatestminer did you fixed it? same error for me. +1

aomini avatar Jun 09 '20 18:06 aomini

@thegreatestminer has the source or destination drive been deleted?

Had the same issue when it was working fine up till a few hours ago. In my case, i was doing a local to cloud transfer and while both the source and destination haven't been deleted, it appears one of the local dir in the dir path was auto renamed (by another program) and correcting it fixed it for me.

pras92 avatar Sep 23 '20 08:09 pras92