ECS: Hatalı biçimlendirilmiş Kova Politikasında Yanlış HTTP 500 Hatası

Summary: "Kaynak" bölümü olmadan bir kova politikası ayarlandığında ECS, HTTP 500 "Sistem Hatası" döndürür.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

S3 API kullanılarak bir S3 kova politikası ayarlama denemesi yapılır. Burada "Statement" öğelerinde "Resource" bölümü eksiktir. Kova politikaları hakkında daha fazla bilgi için Yönetici kılavuzuna bakın.
ECS, "HTTP/1.1 500 Dahili sunucu hatası" yanıtını yanlış veriyor.
Yanıt, isteğin geçersiz olduğu anlamına gelmez.

##################################################

Reqid: REQ123456789
Reply timestamp: 2024-07-23T14:15:16,123
Protocol: s3
Request Type: PUT
Size: 1429 Bytes (0.001 MB)
Response Time: 11 ms
Full Target: exampleNamespace/exampleBucket/exampleObject/?policy
Namespace: exampleNamespace
Bucket: exampleBucket
Object (reformatted): exampleObject/
Object (as sent): exampleObject%2F
Options: ?policy
Status: 500
Server IP: 192.0.2.1
Client IP: 192.0.2.2
Client User: anonymousUser
Browser User-Agent: -

Request (or retry)
completed: No
Retry #: 0 (of 0 total)

Original line:
2024-02-27 15:04:19,253 REQ123456789 192.0.2.1:9020 192.0.2.2:48300 anonymousUser - PUT exampleNamespace exampleBucket exampleObject%2F policy HTTP/1.1 500 11 1429 - 7 - - - - 'x-amz-content-sha256: ' 'x-amz-date: 2024-07-23T14:15:16,123' 'content-type: application/json' 'Accept-Encoding: identity'

 

Cause

ECS, hatalı biçimlendirilmiş istek için yanlış bir yanıt döndürür.

RFC 9110'a göre doğru yanıt şu şekilde olmalıdır:

400 Bad Request
400 (Bad Request) status code indicates that the server cannot or will not process the request due to something perceived
 to be a client error.(e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

 

Resolution

Yanıt, ECS 3.8.1.3 ve ObjectScale 4.0 ve üzeri sürümlerde düzeltilmiştir.

 

Affected Products

ECS, ECS Appliance
Article Properties
Article Number: 000302062
Article Type: Solution
Last Modified: 01 Apr 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.