-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Description
I've run into the same problem scotta did in this issue
#580 (comment) @ncw> I think you configured it right - I see the problem now. BigCommerce is asking for Digest authentication whereas rclone is only supplying basic authentication. I'll have to read up on exactly how to implement that...
rclone version: 1.71.2
Here's my dump
:~$ rclone lsd bigcommerce-webdav: -vv --dump headers
2025/10/23 17:46:25 NOTICE: Automatically setting -vv as --dump is enabled
2025/10/23 17:46:25 DEBUG : rclone: Version "v1.71.2" starting with parameters ["rclone" "lsd" "bigcommerce-webdav:" "-vv" "--dump" "headers"]
2025/10/23 17:46:25 DEBUG : Creating backend with remote "bigcommerce-webdav:"
2025/10/23 17:46:25 DEBUG : Using config file from "/home/admin/.config/rclone/rclone.conf"
2025/10/23 17:46:25 DEBUG : found headers:
2025/10/23 17:46:25 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.
2025/10/23 17:46:25 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/10/23 17:46:25 DEBUG : HTTP REQUEST (req 0xc0002ba780)
2025/10/23 17:46:25 DEBUG : PROPFIND /dav/ HTTP/1.1
Host: store-456yhbngf.mybigcommerce.com:443
User-Agent: rclone/v1.71.2
Authorization: Basic 93586y359t8y2359ty598th-3598gh598gh9wuherg-9h479ht9h9hwg9erhg9uhwerg
Depth: 1
Referer: https://store-456yhbngf.mybigcommerce.com:443/dav/
Accept-Encoding: gzip
2025/10/23 17:46:25 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2025/10/23 17:46:26 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/10/23 17:46:26 DEBUG : HTTP RESPONSE (req 0xc0002ba780)
2025/10/23 17:46:26 DEBUG : HTTP/2.0 401 Unauthorized
Connection: close
Alt-Svc: h3=":443"; ma=86400
Bc-Ray: 1
Cf-Cache-Status: DYNAMIC
Cf-Ray: 99346d58bc94ebb8-YYZ
Content-Type: application/xml; charset=utf-8
Date: Thu, 23 Oct 2025 21:46:26 GMT
Nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=lFVtQ5E6n6NT6iFQtJxjPU79VoIYVln8NNrew0CamP4gIEu2yR8cd6PbdBLmck5ZMihgYzc77g6mCeHYxAUWmgxY4GR8BH4O5ArJKxVJHSk6rb60fqrtUV3kWVRQ4c%2FRavjQpovN0lonbhmu0eLazkKCgKk%3D"}],"group":"cf-nel","max_age":604800}
Server: cloudflare
Set-Cookie: __cf_bm=T26uzJKI5bsTv6J7riiyRO.Gg7_AmIF61KpEuu7hufg-1761255986-1.0.1.1-epA25fFdw3SjjIvFTGTuGNZvcO4jFrdthr46456qng.w86q7lgnIps4dhk3Ov6mRRV.esb_1OOHz6NMJoTWsAdSZt2GmNeDhmAxKeqr34; path=/; expires=Thu, 23-Oct-25 22:16:26 GMT; domain=.mybigcommerce.com; HttpOnly; Secure; SameSite=None
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Www-Authenticate: Digest realm="SabreDAV",qop="auth",nonce="68faa23227c18",opaque="df58bdff8cf60599c939187d0b5c54de"
X-Request-Id: 7c82ebbcbc7553a3e52ac2f0b8283c2a
2025/10/23 17:46:26 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2025/10/23 17:46:26 ERROR : error listing: couldn't list files: No 'Authorization: Digest' header found. Either the client didn't send one, or the server is misconfigured: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
2025/10/23 17:46:26 DEBUG : 5 go routines active
2025/10/23 17:46:26 NOTICE: Failed to lsd with 2 errors: last error was: couldn't list files: No 'Authorization: Digest' header found. Either the client didn't send one, or the server is misconfigured: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
Metadata
Metadata
Assignees
Labels
No labels