Topic: WebDAV Connection Failed on Android with Error 302, 400

Hello Developers,

I am experiencing an issue connecting to my local WebDAV server using the latest version of the SVP app on Android.

Problem Description:

The app fails to connect to my WebDAV server, returning the error "WebDAV connection error: 302, 400".

Steps to Reproduce:

    1. Go to the network connection settings in the SVP Android app.

    2. Add a new WebDAV connection.

    3. Enter the server address: 192.168.2.1:19798/dav

    4. Attempt to connect (I have tried both with a username/password and as an anonymous user).

    5. The connection fails.

Expected Result:

The app should connect to the WebDAV server and allow me to browse the files.

Actual Result:

An error message is displayed: WebDAV connection error: 302, 400.

Additional Information:

    Server Address: 192.168.2.1:19798/dav (This is a local network address).

    Error Codes: The 302 code suggests there might be a URL redirection that the app is not handling correctly. The 400 code indicates a bad request.

    Troubleshooting: I can confirm that I can access this same WebDAV address successfully from other applications on the same network, so the server itself seems to be working correctly. The issue appears to be specific to the SVP Android app.

Could you please look into this? Let me know if you need any more information from my side, such as the app version or my Android OS version.

Thank you for your time and help.

Re: WebDAV Connection Failed on Android with Error 302, 400

what is the server (type, software)?

Re: WebDAV Connection Failed on Android with Error 302, 400

It's webdav software named Clouddrive2 in my Openwrt

Clouddrive2 tag:clouddrive-2-linux-aarch64-0.9.3.tgz

Openwrt:OpenWrt 24.10.0 r28427-6df0e3d02a / LuCI openwrt-24.10 branch 25.206.68186~6da5e65

Route: GL.iNet GL-MT6000 ARMv8 Processor rev 4

Re: WebDAV Connection Failed on Android with Error 302, 400

> Enter the server address: 192.168.2.1:19798/dav

server address is: 192.168.2.1:19798
share name is: dav

Re: WebDAV Connection Failed on Android with Error 302, 400

Chainik wrote:

> Enter the server address: 192.168.2.1:19798/dav

server address is: 192.168.2.1:19798
share name is: dav

ty!!!