Object store config creation fails with Reason:The object store server could not understand the request
Applies to
- ONTAP 9
- AWS S3
Issue
- Object-store configuration creation fails with the following error in both system mgr and CLI :
::*> storage aggregate object-store config create -object-store-name ONTAPS3store -provider-type AWS_S3 -server myS3bucket.company.local -is-ssl-enabled true
-port 443 -container-name myS3bucket -ipspace Default -use-http-proxy false -access-key XXXXXXXXXXXXXXXXXXXX -secret-password XXXXXXXXXXXXXXXXXXXX
Error: command failed: Cannot verify availability of the object store from node node_2. Reason: The object store server could not understand the request. Verify that the object store SSL configuration matches the object store server using the 'storage aggregate object-store config show -object-store-name <object-store> -fields is-ssl-enabled' command. If the SSL configurations match, and the error persists, contact technical support..
- SKTRACE show the following error:
2025-02-14T15:34:23Z 17840153115599686 [10:0] CLOUD_BIN_ERR: object_store_config_check_connection: PUT failed for s3 handle 32 at try_count 4 with error 108 (Bad request) 2025-02-14T15:34:25Z 17840155477243479 [13:0] OSC_ERR: logDebugHeader:512 Conn 0xfffff816aae479f0 CmdId 58, Provider Error Code is 400, Op PUT, DebugHeaders: x-amz-request-id: DT6VEM6WEJ538VN6 x-amz-id-2: X0jvlhdajJURUG7bAWR5ZCfZzzWqHfpqcoYOyB+NYITtfiDqLurLjd3hJrjvnzx+XjOdyHqMMtM= 2025-02-14T15:34:25Z 17840155477315228 [13:0] OSC_ERR: xmlCharHandler:311 CmdId 58, Error message The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-gov-west-1'