What is the problem you are having with rclone?
Not able to connect to a Nextcloud storage from a Docker container (running inside a Kubernetes pod). Able to connect from laptop (same rclone version and OS).
What is your rclone version (output from rclone version
)
v1.55.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 16.04
Which cloud storage system are you using? (eg Google Drive)
Nextcloud
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone ls neanias-nextcloud:. -vvv --dump headers
The rclone config contents with secrets removed.
[neanias-nextcloud]
type = webdav
url = https://files.dev.neanias.eu/remote.php/dav/files/s3-caesar/
vendor = nextcloud
user= XXX
pass= XXX
A log from the command with the -vv
flag
2021/04/15 17:50:21 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/04/15 17:50:21 DEBUG : rclone: Version "v1.55.0" starting with parameters ["rclone" "--no-check-certificate" "ls" "neanias-nextcloud:." "-vvv" "--dump" "headers"]
2021/04/15 17:50:21 DEBUG : Creating backend with remote "neanias-nextcloud:."
2021/04/15 17:50:21 DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
2021/04/15 17:50:21 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021/04/15 17:50:21 DEBUG : HTTP REQUEST (req 0xc0005fca00)
2021/04/15 17:50:21 DEBUG : PROPFIND /remote.php/dav/files/s3-caesar/. HTTP/1.1
Host: files.dev.neanias.eu
User-Agent: rclone/v1.55.0
Content-Length: 287
Authorization: XXXX
Depth: 1
Referer: https://files.dev.neanias.eu/remote.php/dav/files/s3-caesar/
Accept-Encoding: gzip
2021/04/15 17:50:21 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021/04/15 17:50:21 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021/04/15 17:50:21 DEBUG : HTTP RESPONSE (req 0xc0005fca00)
2021/04/15 17:50:21 DEBUG : Error: dial tcp 127.0.0.2:443: connect: connection refused
2021/04/15 17:50:21 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021/04/15 17:50:21 DEBUG : pacer: low level retry 1/10 (error Propfind "https://files.dev.neanias.eu/remote.php/dav/files/s3-caesar/.": dial tcp 127.0.0.2:443: connect: connection refused)
2021/04/15 17:50:21 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2021/04/15 17:50:21 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021/04/15 17:50:21 DEBUG : HTTP REQUEST (req 0xc000350100)
2021/04/15 17:50:21 DEBUG : PROPFIND /remote.php/dav/files/s3-caesar/. HTTP/1.1
[...]
2021/04/15 17:50:25 Failed to create file system for "neanias-nextcloud:.": read metadata failed: Propfind "https://files.dev.neanias.eu/remote.php/dav/files/s3-caesar/.": dial tcp 127.0.0.2:443: connect: connection refused