Rclone hangs, does not connect to backend

What is the problem you are having with rclone?

rclone hangs, does not connect to backend. See below

2020/11/22 08:55:12 DEBUG : Using config file from "/home/admin/.config/rclone/rclone.conf"
2020/11/22 08:55:12 DEBUG : Creating backend with remote "Manual:"
2020/11/22 08:55:42 DEBUG : pacer: low level retry 1/10 (error RequestError: send request failed
caused by: Get "https://nyc3.digitaloceanspaces.com/": dial tcp: lookup nyc3.digitaloceanspaces.com on 192.168.1.1:53: read udp 192.168.1.10:58145->192.168.1.1:53: i/o timeout)

Its almost like the port is locked out but it uses standard 443 so I'm confused. All other aspects of rclone are functioning normally.

What is your rclone version (output from rclone version)

rclone v1.53.2

  • os/arch: linux/amd64
  • go version: go1.15.3

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Linux 64bit

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

S3/DigitalOcean

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

/usr/local/directadmin/plugins/backup-utility/scripts/rclone/rclone size Manual: -vv

The rclone config contents with secrets removed.

{
    "Manual": {
        "access_key_id": "*****",
        "acl": "private",
        "endpoint": "nyc3.digitaloceanspaces.com",
        "env_auth": "false",
        "provider": "DigitalOcean",
        "secret_access_key": "*****",
        "type": "s3"
    }
}

A log from the command with the -vv flag

2020/11/22 08:55:12 DEBUG : rclone: Version "v1.53.2" starting with parameters ["/usr/local/directadmin/plugins/backup-utility/scripts/rclone/rclone" "size" "Manual:" "-vv"]
2020/11/22 08:55:12 DEBUG : Using config file from "/home/admin/.config/rclone/rclone.conf"
2020/11/22 08:55:12 DEBUG : Creating backend with remote "Manual:"
2020/11/22 08:55:42 DEBUG : pacer: low level retry 1/10 (error RequestError: send request failed
caused by: Get "https://nyc3.digitaloceanspaces.com/": dial tcp: lookup nyc3.digitaloceanspaces.com on 192.168.1.1:53: read udp 192.168.1.10:58145->192.168.1.1:53: i/o timeout)
2020/11/22 08:55:42 DEBUG : pacer: Rate limited, increasing sleep to 10ms
2020/11/22 08:56:12 DEBUG : pacer: low level retry 2/10 (error RequestError: send request failed
caused by: Get "https://nyc3.digitaloceanspaces.com/": dial tcp: lookup nyc3.digitaloceanspaces.com on 192.168.1.1:53: read udp 192.168.1.10:32918->192.168.1.1:53: i/o timeout)
2020/11/22 08:56:12 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2020/11/22 08:56:42 DEBUG : pacer: low level retry 3/10 (error RequestError: send request failed
caused by: Get "https://nyc3.digitaloceanspaces.com/": dial tcp: lookup nyc3.digitaloceanspaces.com on 192.168.1.1:53: read udp 192.168.1.10:49571->192.168.1.1:53: i/o timeout)

Other info

Ping works:

PING nyc3.digitaloceanspaces.com (162.243.189.2) 56(84) bytes of data.
64 bytes from 162.243.189.2 (162.243.189.2): icmp_seq=1 ttl=49 time=121 ms
64 bytes from 162.243.189.2 (162.243.189.2): icmp_seq=2 ttl=49 time=103 ms
64 bytes from 162.243.189.2 (162.243.189.2): icmp_seq=3 ttl=49 time=102 ms
64 bytes from 162.243.189.2 (162.243.189.2): icmp_seq=4 ttl=49 time=103 ms

hi,

the port in this case is 53, which is dns.
192.168.1.1:53

based on error, seems like rclone is trying to get the ip address of https://nyc3.digitaloceanspaces.com
why that is happening when ping works, i do not know.

can you post the entire debug log, not just snippets?

Hi

[admin@staging1 ~]$ /usr/local/directadmin/plugins/backup-utility/scripts/rclone/rclone size Manual: -vv
2020/11/22 23:55:41 DEBUG : rclone: Version "v1.53.2" starting with parameters ["/usr/local/directadmin/plugins/backup-utility/scripts/rclone/rclone" "size" "Manual:" "-vv"]
2020/11/22 23:55:41 DEBUG : Using config file from "/home/admin/.config/rclone/rclone.conf"
2020/11/22 23:55:41 DEBUG : Creating backend with remote "Manual:"
^C
[admin@staging1 ~]$

The above is the output I see with -vv. I tried ping again:

[admin@staging1 ~]$ ping nyc3.digitaloceanspaces.com
PING nyc3.digitaloceanspaces.com (162.243.189.2) 56(84) bytes of data.
64 bytes from 162.243.189.2 (162.243.189.2): icmp_seq=1 ttl=49 time=121 ms
64 bytes from 162.243.189.2 (162.243.189.2): icmp_seq=2 ttl=49 time=103 ms
64 bytes from 162.243.189.2 (162.243.189.2): icmp_seq=3 ttl=49 time=103 ms
64 bytes from 162.243.189.2 (162.243.189.2): icmp_seq=4 ttl=49 time=102 ms
^C
--- nyc3.digitaloceanspaces.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 8ms
rtt min/avg/max/mdev = 102.417/107.132/120.687/7.827 ms
[admin@staging1 ~]$

Kind regards

This appears to be a problem with my VPN and DNS. Thanks for the tip, working now.

1 Like

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