Skip to content

[BUG] Webdav 401 with verified account on 0.8.3 #576

Description

@Cherryblue

Description

I've been trying to sync my files using a webdav client.
I've tried multiple clients, on multiple computers, using multiple connections, and multiple oxicloud accounts.
It never worked.

I'm on v0.8.3 (docker).

Console logs give me this :
[cloud-oxi-app] 2026-07-13T19:54:27.374981962Z 2026-07-13T19:54:27.374064Z WARN req{request_id="019f5d0b-9288-7c72-a9ca-355423883dcf" client_ip=[fd28:2c3a:f719:e::1]:37738 method=PROPFIND uri=/webdav/}: oxicloud::interfaces::middleware::auth: App password verification failed: Access Denied: Invalid username or app password

To Reproduce

So I've searched if this issue already existed, and lastly tried the shell script proposed in this topic

I've created a test account "test2026:test2026" (id:pwd) on my personal instance, but all I get using the shell script (and any other client) is 401.

base64=$(echo -n "test2026:test2026" | base64)
curl -k -X PROPFIND https://my-instance-url/webdav/ \
-H "Authorization: Basic $base64" \
-H "Depth: 1" \
-H "Content-Type: application/xml" \
-d '<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:">
<D:allprop/>
</D:propfind>

I should add that using the same account (id: test2026, pwd : test2026), I have no problem using oxicloud standard web access.

Expected Behavior

Welp... Webdav access 🗡️

Screenshots

NA

Environment

  • OS: PikaOS (debian sid) with Nemo, Nextcloud Sync App, Shell script / Android 16 smartphone with FolderSync
  • Browser: Firefox last version
  • OxiCloud Version: 0.8.3 (docker official image)
  • Rust Version: .

Additional Context

My service is behind a reverse proxy for public access. I use HAPROXY. Oxicloud webpage IS accessible, and I can connect to it via Firefox (appart from webdav).
Haproxy is configured as such :
backend oxicloud
server oxi ::1:8086 check
Didn't find any specific requirement for reverse proxying on the github.

I'm also IPv6 only, my internet provider doesn't give me a fixed ipv4.it's IPv6 + IPv4 CGNAT, meaning I can only host for ipv6 (at least for now).

I have used the account password. Must we use something else, like a generated app password instead of the general password ? If yes, how ? I haven't seen any option for this, nor any guide.

Possible Solution

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions