Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to delete locked file #22

Open
Chebura opened this issue Apr 21, 2020 · 0 comments
Open

Unable to delete locked file #22

Chebura opened this issue Apr 21, 2020 · 0 comments

Comments

@Chebura
Copy link

Chebura commented Apr 21, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant