BytemarkHosting/docker-webdav

Unable to delete locked file

Chebura opened this issue · 0 comments

Hi,
I try to delete locked file with actual lock token and receive:
Status code: 424, description: Failed Dependency

server log:
172.17.0.1 - - [21/Apr/2020:13:05:34 +0000] "LOCK /logs/hello3.txt HTTP/1.1" 401 381 "-" "NAX/1.0"
172.17.0.1 - alice [21/Apr/2020:13:05:34 +0000] "LOCK /logs/hello3.txt HTTP/1.1" 200 372 "-" "NAX/1.0"
172.17.0.1 - - [21/Apr/2020:13:05:34 +0000] "DELETE /logs/hello3.txt HTTP/1.1" 401 381 "-" "NAX/1.0"
172.17.0.1 - alice [21/Apr/2020:13:05:34 +0000] "DELETE /logs/hello3.txt HTTP/1.1" 424 572 "-" "NAX/1.0"
[Tue Apr 21 13:05:34.575278 2020] [dav:error] [pid 11:tid 139649092442856] [client 172.17.0.1:36712] Could not DELETE /logs/hello3.txt due to a failed precondition (e.g. locks). [424, #0]
[Tue Apr 21 13:05:34.575327 2020] [dav:error] [pid 11:tid 139649092442856] [client 172.17.0.1:36712] An error occurred on another resource, preventing the requested operation on this resource. [424, #0]

Same operation works done with another WebDav server (IIS WebDAV). Server works within docker with default settings.