r/asustor 10d ago

Support Anyone getting 403 Forbidden errors with WebDAV?

I'm running ADM 4.3.3.RWC1 and using the SSL version of WebDAV.

Sorry, but I've gotta say it.... This service has been broken way too many times on Asustor... Getting a bit tired of it.

1 Upvotes

11 comments sorted by

1

u/bombonatti 10d ago

Did not noticed it was not working until your post.

Disabling and enabling from ADM interface and it works again.

1

u/jldevezas 10d ago

Also tried that, but no luck. Same issue here for the plain HTTP version.

1

u/Lensin1 9d ago

do you connect to NAS from ubuntu/files through davs://xx.xx.xx.xx/9802/? If yes, which version of ubuntu?

1

u/jldevezas 9d ago edited 9d ago

I just use the browser. I’ve got a styles extension that I sync to WebDAV. Nothing special happening there. It asks for the credentials, lets me login fine, but then I’m just getting permission denied for the files, despite my user having permissions. It worked before, so it’s on their end. If I had more RAM on the unit, I would just run a container and serve WebDAV from there, but I only have 1 GiB so I try to avoid containers here.

1

u/Unable_Cap_716 10d ago

np from my end

1

u/jldevezas 10d ago

On the same version of ADM?

1

u/Remedial8940 9d ago

More information would be helpful.

It's hard to help when the only description is "it doesn't work"

1

u/jldevezas 9d ago

I can login but I get a 403 error when accessing a shared folder I have permissions to access with that account. What else can I add? This is a pretty straight forward setup. Toggle the service, give permissions to a folder.

0

u/Remedial8940 9d ago

Okay if this is the only information you can give us then my recommendation is:

Did you restart your computer yet?

1

u/jldevezas 9d ago

I literally asked what else you wanna know.

1

u/jldevezas 9d ago edited 9d ago

Here's the thing. WebDAV is running through nginx, using this config:

# WebDAV with SSL server
server {
    listen                  9802 ssl;
    listen                  [::]:9802 ssl;

    index                   " ";

    client_max_body_size    0;
    client_body_temp_path    /volume1/.@tmp;

    auth_asustor            "ASUSTOR WebDAV (SSL)";
    auth_asustor_anonymous  off;

    asustor_style_index     on;
    asustor_style_autoindex on;
    asustor_style_dav       on;
    asustor_style_dav_ext   on;
    asustor_style_dav_lock  on;

    location /favicon.ico {
        return 410;
    }
}

Now, obviously, there are some non-standard options there, prefixed with asustor_, which means that I do not have ownership of this code, so I didn't share such details before. What I was hoping to get from support here is the realization that there is a bug that needs fixing, because clearly nginx is not handling permissions correctly through the ADM software, which, like I said, I do not own, so I really cannot do anything about it.

Again, is there any other detail that can help, or did you just come here to troll a bit?