You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I get 404 in responce to list-objects and get-object s3 commands. Few requests in row could be susedull and then fail.d, the second one did not.
max@max0-0413:~/xk6-neofs$ aws s3api list-objects --bucket 424244 --endpoint http://max0-0412:8084
{
"Contents": [
{
"Key": "748389e6-8cfa-4778-bfd1-a7141947630b",
"LastModified": "2023-07-13T04:21:09+00:00",
"ETag": "9adb29b748caaeec3f9086e01443e5520e7d9c00ea6a5bacd73249c4c504628a",
"Size": 109,
"Owner": {
"DisplayName": "NRLBBncQxwvAyQpa1fnc7WSwyKcZUe2LuU",
"ID": "NRLBBncQxwvAyQpa1fnc7WSwyKcZUe2LuU"
}
}
],
"RequestCharged": null
}
max@max0-0413:~/xk6-neofs$
max@max0-0413:~/xk6-neofs$ aws s3api list-objects --bucket 424244 --endpoint http://max0-0412:8084
An error occurred (NoSuchBucket) when calling the ListObjects operation: The specified bucket does not exist
max@max0-0413:~/xk6-neofs$
S3 gw logs:
Jul 13 05:02:56 max0-0412 neofs-s3-gw[533464]: 2023-07-13T05:02:56.729Z info api/router.go:162 call method {"status": 200, "host": "max0-0412:8084", "request_id": "69bd45bc-365c-48c1-b3c2-22eebe8e53e6", "method": "ListObjectsV1", "bucket": "424244", "object": "", "description": "OK"}
Jul 13 05:04:18 max0-0412 neofs-s3-gw[533464]: 2023-07-13T05:04:18.266Z debug layer/layer.go:355 bucket not found {"error": "nns: couldn't resolve container '424244': contract invocation: connection lost before registering response channel"}
Jul 13 05:04:18 max0-0412 neofs-s3-gw[533464]: 2023-07-13T05:04:18.266Z error handler/util.go:29 call method {"status": 404, "request_id": "3ae139fd-9361-4313-ae51-78b1aa15c8ad", "method": "ListObjectsV1", "bucket": "424244", "object": "", "description": "could not get bucket info", "error": "NoSuchBucket: 404 => The specified bucket does not exist"}
BTW, reconnection problem is exactly the same as nspcc-dev/neofs-http-gw#256, it just wasn't created in this repo (HTTP was supposed to be fixed first).
But we can rework the scheme to stop using ns package at the same time.
After the recent changes we no longer support WSClient, while regular RPC client doesn't have this problem. For the current use of the RPC client working via regular interface is good enough, we don't need any WS-specific features. Therefore, this issue is no longer relevant (at least until we need a real WS client).
Sometimes I get 404 in responce to list-objects and get-object s3 commands. Few requests in row could be susedull and then fail.d, the second one did not.
S3 gw logs:
Bucket is there, even 2 of them:
get-object sucessfull after list-buckets at least once:
S3 gw logs:
Versions:
Network consists of 4 IR nodes, 22 storage nodes and 1 S3-gw.
Configs from IR, Storage and S3-gw nodes are enclosed:
NeoFS-configs.zip
The text was updated successfully, but these errors were encountered: