Rclone 1.59 Webdav ntlm error

Hi I have some problem with rclone connection to sharepoint with ntlm auth...

I installed the rclone 1.59 version under ubuntu 20.04 and configured like WebDAV, but if I try to use "ls/lsd/mount/sync" I get service unavailable

config:

https://paste.ofcode.org/UzgaDpAvSFHXB9rf9UWyMh

If I try the same URL with curl --ntlm argument it's working without any problem, so I checked the communication with TCPdump there is no outgoing communication on interface!?

rclone ls -vvv k2:/sites/9019

2022/08/16 09:41:44 DEBUG : rclone: Version "v1.59.0" starting with parameters ["rclone" "ls" "-vvv" "k2:/sites/9019"]
2022/08/16 09:41:44 DEBUG : Creating backend with remote "k2:/sites/9019"
2022/08/16 09:41:44 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2022/08/16 09:41:44 DEBUG : found headers:
2022/08/16 09:41:44 Failed to create file system for "k2:/sites/9019": read metadata failed: Propfind "https://URL/sites/9019": Service Unavailable

TCPDump:

"# tcpdump -i bond0 host xxx.xxx.xxx.xxx -vv
tcpdump: listening on bond0, link-type EN10MB (Ethernet), capture size 262144 bytes
(nothing)

rclone ls :k2: --webdav-url=https://URL/sites/9019/ --webdav-vendor=sharepoint-ntlm --webdav-user=domain\user --webdav-pass=passwd

same...

here is the solution:

I installed on the first time the .deb pkg in offline mode (just downloaded the pkg scp copy to server and apt install)... Seams it wasn't good idea, because something is corrupt. Maybe the deb or between the deb install try to connect to rclone.org....

So I installed a new proxy for this offline server and installed again over "install.sh" and now it's working.

It would be great, if the .deb would work in offline mode.

I'm not sure what you mean as if you download a package and install it, you don't need to be online.

Did you change versions from 1.59 to 1.59.1?

I installed the 1.59.1. But I think I found the problem. rclone try to connect every time to http_proxy if is it available in environment. but in our case the system default proxy is not the correct proxy. rclone shouldn't use any proxy. I need to use --no-proxy or something like this. :smiley:

rclone doesn't do anything unless you've configured in such a way to connect to a proxy.

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