ronan
November 20, 2023, 10:38am
1
What is the problem you are having with rclone?
Rclone copy error with "Failed to copy: copy mkParentDir failed:" when from webdav to webdav.
rclone copy to local is ok.
Run the command 'rclone version' and share the full output of the command.
rclone v1.64.2
Microsoft Windows 11 Pro 22H2 (64 bit)
Which cloud storage system are you using? (eg Google Drive)
WebDAV by Nginx
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone.exe copy nas:/test/1.txt nas:/test/2.txt
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[nas]
type = webdav
url = https://XXX.com
vendor = sharepoint-ntlm
user = XXX
pass = XXX
A log from the command that you were trying to run with the -vv
flag
> rclone.exe copy nas:/test/1.txt nas:/test/2.txt -vv
2023/11/20 18:32:43 DEBUG : rclone: Version "v1.64.2" starting with parameters ["C:\\tools\\rclone-v1.64.2-windows-amd64\\rclone.exe" "copy" "nas:/test/1.txt" "nas:/test/2.txt" "-vv"]
2023/11/20 18:32:43 DEBUG : Creating backend with remote "nas:/test/1.txt"
2023/11/20 18:32:43 DEBUG : Using config file from "C:\\Users\\XXX\\AppData\\Roaming\\rclone\\rclone.conf"
2023/11/20 18:32:43 DEBUG : found headers:
2023/11/20 18:32:43 DEBUG : fs cache: adding new entry for parent of "nas:/test/1.txt", "nas:test"
2023/11/20 18:32:43 DEBUG : Creating backend with remote "nas:/test/2.txt"
2023/11/20 18:32:43 DEBUG : found headers:
2023/11/20 18:32:43 DEBUG : fs cache: renaming cache item "nas:/test/2.txt" to be canonical "nas:test/2.txt"
2023/11/20 18:32:43 DEBUG : 1.txt: Need to transfer - File not found at Destination
2023/11/20 18:32:44 ERROR : 1.txt: Failed to copy: copy mkParentDir failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
2023/11/20 18:32:44 ERROR : Attempt 1/3 failed with 1 errors and: copy mkParentDir failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
2023/11/20 18:32:44 DEBUG : 1.txt: Need to transfer - File not found at Destination
2023/11/20 18:32:44 ERROR : 1.txt: Failed to copy: copy mkParentDir failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
2023/11/20 18:32:44 ERROR : Attempt 2/3 failed with 1 errors and: copy mkParentDir failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
2023/11/20 18:32:44 DEBUG : 1.txt: Need to transfer - File not found at Destination
2023/11/20 18:32:44 ERROR : 1.txt: Failed to copy: copy mkParentDir failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
2023/11/20 18:32:44 ERROR : Attempt 3/3 failed with 1 errors and: copy mkParentDir failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
2023/11/20 18:32:44 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.3s
2023/11/20 18:32:44 DEBUG : 8 go routines active
2023/11/20 18:32:44 Failed to copy: copy mkParentDir failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
ncw
(Nick Craig-Wood)
November 20, 2023, 11:34am
2
Try using this instead
rclone.exe copyto nas:/test/1.txt nas:/test/2.txt -vv
And if that doesn't work, assuming that 1.txt is a small printable file, can you do that test like this
rclone.exe copyto nas:/test/1.txt nas:/test/2.txt -vv --dump bodies --retries 1 --low-level-retries 1
And post the result please? Feel free to redact anything that you think looks sensitive.
ronan
November 20, 2023, 11:54am
3
Thanks.
The error is same:
rclone.exe copyto nas:/test/1.txt nas:/test/2.txt -vv --dump bodies --retries 1 --low-level-retries 1
2023/11/20 19:50:50 DEBUG : rclone: Version "v1.64.2" starting with parameters ["C:\\tools\\rclone-v1.64.2-windows-amd64\\rclone.exe" "copyto" "nas:/test/1.txt" "nas:/test/2.txt" "-vv" "--dump" "bodies" "--retries" "1" "--low-level-retries" "1"]
2023/11/20 19:50:50 DEBUG : Creating backend with remote "nas:/test/1.txt"
2023/11/20 19:50:50 DEBUG : Using config file from "C:\\Users\\XXX\\AppData\\Roaming\\rclone\\rclone.conf"
2023/11/20 19:50:50 DEBUG : found headers:
2023/11/20 19:50:50 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.
2023/11/20 19:50:50 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.
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc00093a900)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/1.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Depth: 1
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc00093a900)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 401 Unauthorized
Content-Length: 188
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
Www-Authenticate: Basic realm="realm_name"
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc00093a900)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/1.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Authorization: XXXX
Depth: 1
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc00093a900)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 207 Multi-Status
Content-Length: 466
Connection: keep-alive
Content-Type: text/xml; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/test/1.txt</D:href>
<D:propstat>
<D:prop>
<D:displayname>1.txt</D:displayname>
<D:getcontentlength>4</D:getcontentlength>
<D:getlastmodified>Mon, 20 Nov 2023 05:10:09 GMT</D:getlastmodified>
<D:resourcetype></D:resourcetype>
<D:lockdiscovery/>
<D:supportedlock>
</D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : fs cache: adding new entry for parent of "nas:/test/1.txt", "nas:test"
2023/11/20 19:50:50 DEBUG : Creating backend with remote "nas:/test/"
2023/11/20 19:50:50 DEBUG : found headers:
2023/11/20 19:50:50 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.
2023/11/20 19:50:50 DEBUG : fs cache: renaming cache item "nas:/test/" to be canonical "nas:test"
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc000a1c000)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/1.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Depth: 1
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc000a1c000)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 401 Unauthorized
Content-Length: 188
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
Www-Authenticate: Basic realm="realm_name"
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc000a1c000)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/1.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Authorization: XXXX
Depth: 1
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc000a1c000)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 207 Multi-Status
Content-Length: 466
Connection: keep-alive
Content-Type: text/xml; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/test/1.txt</D:href>
<D:propstat>
<D:prop>
<D:displayname>1.txt</D:displayname>
<D:getcontentlength>4</D:getcontentlength>
<D:getlastmodified>Mon, 20 Nov 2023 05:10:09 GMT</D:getlastmodified>
<D:resourcetype></D:resourcetype>
<D:lockdiscovery/>
<D:supportedlock>
</D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc0006c4a00)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/2.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Depth: 1
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc0006c4a00)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 401 Unauthorized
Content-Length: 188
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
Www-Authenticate: Basic realm="realm_name"
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc0006c4a00)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/2.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Authorization: XXXX
Depth: 1
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc0006c4a00)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 404 Not Found
Transfer-Encoding: chunked
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
a2
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
0
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc000b34000)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/2.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Depth: 0
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc000b34000)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 401 Unauthorized
Content-Length: 188
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
Www-Authenticate: Basic realm="realm_name"
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc000b34000)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/2.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Authorization: XXXX
Depth: 0
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc000b34000)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 404 Not Found
Transfer-Encoding: chunked
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
a2
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
0
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : 1.txt: Need to transfer - File not found at Destination
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc00093b200)
2023/11/20 19:50:50 DEBUG : MKCOL /test/ HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc00093b200)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 401 Unauthorized
Content-Length: 188
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
Www-Authenticate: Basic realm="realm_name"
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc00093b200)
2023/11/20 19:50:50 DEBUG : MKCOL /test/ HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Transfer-Encoding: chunked
Authorization: XXXX
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
0
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc00093b200)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 415 Unsupported Media Type
Content-Length: 188
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
<html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc000aa8500)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/ HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Depth: 0
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc000aa8500)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 401 Unauthorized
Content-Length: 188
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
Www-Authenticate: Basic realm="realm_name"
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc000aa8500)
2023/11/20 19:50:50 DEBUG : PROPFIND /test/ HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Authorization: XXXX
Depth: 0
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc000aa8500)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 207 Multi-Status
Content-Length: 432
Connection: keep-alive
Content-Type: text/xml; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/test/</D:href>
<D:propstat>
<D:prop>
<D:displayname>test</D:displayname>
<D:getlastmodified>Mon, 20 Nov 2023 09:54:09 GMT</D:getlastmodified>
<D:resourcetype><D:collection/></D:resourcetype>
<D:lockdiscovery/>
<D:supportedlock>
</D:supportedlock>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc00093b800)
2023/11/20 19:50:50 DEBUG : COPY /test/1.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Destination: https://XXX.com:10443/test/2.txt
Overwrite: T
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc00093b800)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 401 Unauthorized
Content-Length: 188
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
Www-Authenticate: Basic realm="realm_name"
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : HTTP REQUEST (req 0xc00093b800)
2023/11/20 19:50:50 DEBUG : COPY /test/1.txt HTTP/1.1
Host: XXX.com:10443
User-Agent: rclone/v1.64.2
Transfer-Encoding: chunked
Authorization: XXXX
Destination: https://XXX.com:10443/test/2.txt
Overwrite: T
Referer: https://XXX.com:10443/
Accept-Encoding: gzip
0
2023/11/20 19:50:50 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 DEBUG : HTTP RESPONSE (req 0xc00093b800)
2023/11/20 19:50:50 DEBUG : HTTP/1.1 415 Unsupported Media Type
Content-Length: 188
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Date: Mon, 20 Nov 2023 11:50:50 GMT
Server: nginx/1.18.0 (Ubuntu)
<html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
2023/11/20 19:50:50 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2023/11/20 19:50:50 ERROR : 1.txt: Failed to copy: copy call failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
2023/11/20 19:50:50 ERROR : Attempt 1/1 failed with 1 errors and: copy call failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
2023/11/20 19:50:50 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 0.3s
2023/11/20 19:50:50 DEBUG : 5 go routines active
2023/11/20 19:50:50 Failed to copyto: copy call failed: <html>
<head><title>415 Unsupported Media Type</title></head>
<body>
<center><h1>415 Unsupported Media Type</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>: 415 Unsupported Media Type
ncw
(Nick Craig-Wood)
November 29, 2023, 11:13am
4
I conjecture the 415 error here is caused by the Transfer-Encoding: chunked
which is pretty weird for an empty body. But I can't work out why it is using chunked
when the previous MKCOL
didn't.
Can you retry this with v1.65 then at least we are testing with the same version.
system
(system)
Closed
December 29, 2023, 11:14am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.