Named objects can't be fetched from container #59

Closed
opened 2025-12-28 18:00:00 +00:00 by sami · 2 comments
Owner

Originally created by @roman-khimov on GitHub (Feb 12, 2024).

Originally assigned to: @tatiana-nspcc on GitHub.

Current Behavior

code	404
message	"path /v1/Bj1YwbEZtqx6fwecb3jKo59ZJtz2SgoEB9dj8Q6vYREM/neofs-spec-b20ae218.pdf was not found"

Expected Behavior

File downloaded.

Steps to Reproduce

https://rest.fs.neo.org/v1/Bj1YwbEZtqx6fwecb3jKo59ZJtz2SgoEB9dj8Q6vYREM/neofs-spec-b20ae218.pdf is expected to work the same way as https://http.fs.neo.org/Bj1YwbEZtqx6fwecb3jKo59ZJtz2SgoEB9dj8Q6vYREM/neofs-spec-b20ae218.pdf.

Originally created by @roman-khimov on GitHub (Feb 12, 2024). Originally assigned to: @tatiana-nspcc on GitHub. ## Current Behavior ``` code 404 message "path /v1/Bj1YwbEZtqx6fwecb3jKo59ZJtz2SgoEB9dj8Q6vYREM/neofs-spec-b20ae218.pdf was not found" ``` ## Expected Behavior File downloaded. ## Steps to Reproduce https://rest.fs.neo.org/v1/Bj1YwbEZtqx6fwecb3jKo59ZJtz2SgoEB9dj8Q6vYREM/neofs-spec-b20ae218.pdf is expected to work the same way as https://http.fs.neo.org/Bj1YwbEZtqx6fwecb3jKo59ZJtz2SgoEB9dj8Q6vYREM/neofs-spec-b20ae218.pdf.
sami 2025-12-28 18:00:00 +00:00
  • closed this issue
  • added the
    bug
    S4
    I4
    U1
    labels
Author
Owner

@tatiana-nspcc commented on GitHub (Feb 13, 2024):

As far as I understand, such redirect (and many others) is done by Nginx:
rewrite '^/([0-9a-zA-Z]{43,44})/(.*)$' /get_by_attribute/$1/FilePath/$2 break;
Highly likely this is not a rest-gw error.

@tatiana-nspcc commented on GitHub (Feb 13, 2024): As far as I understand, such redirect (and many others) is done by Nginx: `rewrite '^/([0-9a-zA-Z]{43,44})/(.*)$' /get_by_attribute/$1/FilePath/$2 break;` Highly likely this is not a rest-gw error.
Author
Owner

@roman-khimov commented on GitHub (Feb 13, 2024):

And it is! Not a gw problem.

@roman-khimov commented on GitHub (Feb 13, 2024): And it is! Not a gw problem.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-rest-gw#59
No description provided.