-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Bug] - HTTP500 from GET list /bucket/file_not_dir/no_such_file #949
Labels
bug
Something isn't working
Comments
Sorry I missed the update to the other issue. I am able to reproduce this in the list-objects API. Let's keep this issue open for tracking this one since it is slightly different than the other issue (list vs head).
|
You're right! The HEAD now does return 404. The 500 is caused by a GET with parameter "list-type...":
|
Ostheer
changed the title
[Bug] - HTTP500 from HEAD /bucket/file_not_dir/no_such_file
[Bug] - HTTP500 from GET list /bucket/file_not_dir/no_such_file
Nov 19, 2024
Yes! It works now :) Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Doing a HTTP/
HEADGET request to a path likewhatever/this_is_an_existing_file_and_not_a_dir/this_file_cannot_be_here
yields a 500 server error, throwing off some clients expecting a 404 (see context below).In my versity log, I see
Internal Error, walk testbucket: stat empty-0/.zattrs/.zarray: not a directory
Note that I previously filed an issue, #942, for this. @benmcclelland quickly merged some changes that slightly but not qualitatively altered the server error message.
I created this second issue because I got no response yet on my comment on the old issue. Feel free to close this and continue work in the old issue.
To Reproduce
Expected behavior
A 404 would seem sensible.
Server Version
Compiled from git master branch after commit 0312a1e as described in this comment
The text was updated successfully, but these errors were encountered: