ECS:使用安全字元時,S3 請求傳回錯誤 403“簽名不匹配錯誤”

Summary: S3 請求傳回 HTTP 錯誤 403。使用正確的登入資料。在物件名稱中使用「安全」字元(如底線)時出現錯誤 對檔名中的下劃線進行編碼時出現簽名不匹配錯誤 (403)。

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

PUT 要求傳送至 ECS,要求遭拒,顯示 "403 - unauthorized"
物件名稱包含 _ 下劃線或其他安全字元。
GET 要求運作正常。
例如,使用底線時,來自「SAS Viya」應用程式的 PUT 要求會失敗。

範例要求 403 簽名不匹配錯誤:

2024-02-27 12:10:28,631 ac1f9511:189029ad365:357c84:389  123.45.xxx.xx:9021 172.31.xxx.xxx:9862 - htClient POST - sasviya-qa tmp_aaaaaaaa-bbbb-cccc-dddd-a3c2d3b40815_12345678.sashdat uploads HTTP/1.1 403 31 - - -1 - - - 123.xx.xx.xx 'X-Forwarded-For: 172.xx.xx.x'

svc_log確認這是簽章不相符:

svc_log -f "ac1f9511:189029ad365:357c84:389" -sr dataheadsvc -start 1d ago -sn -sf

169.254.1.2 2024-02-27T12:10:28,134 [qtp1758056339-124594-ac1f9511:189029ad365:357c84:389-s3-172.xx.xx.x] ERROR  S3V4Signer.java (line 302) Signature mismatch CalcSignature: 45753541dc729e7ebdbd2425e3a2fe8ab1f79f1e81b131409065e77f511e886b, ClientSignature: f5ed0ad93cdd67b58a1d93f24f0034b58e4bb29f0e54ecf6020db5b711ddba0a 

Cause

應用程式 URL 在將請求發送到目標伺服器之前對所有請求進行編碼。因此,安全字元將替換為其 url 值,例如 _ 將替換為 %5F。 

Resolution

此問題已在版本 3.8.x 中修正。
升級后,必須將參數設置為允許安全字元。請聯絡 Dell 支援 以設定此參數。

Additional Information

安全字元包括:
英數字元
  • 0-9

  • A-Z

  • A-Z

特殊字元
  • 感嘆號 (!)

  • 連字元 (-)

  • 底線 (_)

  • 期間 (.)

  • 星號 (*)

  • 單引號 (')

  • 左括弧 (()

  • 右括弧 ())

Affected Products

ECS

Products

ECS Appliance Hardware Gen3 EX5000, ECS Appliance, ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3, ECS Appliance Hardware Gen3 EX300, ECS Appliance Hardware Gen3 EX3000, ECS Appliance Hardware Gen1 U-Series , ECS Appliance Hardware Gen1 C-Series, ECS Appliance Hardware Gen2 C-Series, ECS Appliance Hardware Gen2 D-Series, ECS Appliance Hardware Gen2 U-Series, ECS Appliance Hardware Gen3 EX500, ECS Appliance Hardware Gen3 EXF900, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption, ECS Software ...
Article Properties
Article Number: 000223857
Article Type: Solution
Last Modified: 10 Nov 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.