ECS: S3 werkt niet met handtekening v4 maar wel met v2
Summary: S3-handtekening v4 wordt ondersteund sinds ECS-codeversie 3.0, maar de verbinding kan mislukken wanneer de Load Balancer (LB) of proxyserver verkeerd is geconfigureerd.
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
Applicaties zoals S3 Browser of CloudBerry Explorer kunnen geen verbinding maken met ECS met behulp van S3-handtekening v4 en de onderstaande foutmelding kan worden weergegeven:
The request signature we calculated does not match the signature you provided. Check your Secret Access Key and signing method. For more information, see REST Authentication and SOAP Authentication for details.Fouten weergegeven in dataheadsvc.log:
2018-02-08T01:02:22,160 [qtp1281445260-47251-ac16c920:16153c4ec5b:5428:a-s3-192.168.x.x] ERROR S3V4Signer.java (line 270) Signature mismatch CalcSignature: 1beacc1d4410c0d39a18e99b241a8c430ad7f76f030a54595406901feddfddb1, ClientSignature: 874250cee333e6aba9b12abfd279516408a083da60d0b1cc3f8b196a6fe8cdb1 2018-02-08T01:02:22,160 [qtp1281445260-47251-ac16c920:16153c4ec5b:5428:a-s3-192.168.x.x] ERROR S3V4Signer.java (line 270) Signature mismatch CalcSignature: 1beacc1d4410c0d39a18e99b241a8c430ad7f76f030a54595406901feddfddb1, ClientSignature: 874250cee333e6aba9b12abfd279516408a083da60d0b1cc3f8b196a6fe8cdb1 2018-02-08T01:02:22,160 [qtp1281445260-47251-ac16c920:16153c4ec5b:5428:a-s3-192.168.x.x] ERROR HMACAuthenticationHandler.java (line 178) authenticate failed. RequestId ac16c920:16153c4ec5b:5428:a. Error com.emc.storageos.data.api.service.impl.resource.s3.S3ExceptionHet gebruik van S3-handtekening v2 werkt.
Cause
Load Balancer of de proxyserver veranderde de hostheader om naar een ander eindpunt te verwijzen dan was geconfigureerd.
Resolution
Krijg antwoord op de onderstaande vragen:
- Welke ECS versie is geïnstalleerd? S3 Signature v4 wordt ondersteund sinds ECS 3.0.
- Welke versie van tools wordt gebruikt, zoals Cloudberry Explorer, S3 Browser?
- Is de verbinding via Load Balancer of Proxy Server?
- Zo ja: Probeer de v4-verbinding met een ECS-knooppunt als eindpunt
- Als dit werkt, laat de client dan de instellingen van Load Balancer of Proxy Server verder onderzoeken
Voor Apache moeten de onderstaande instellingen worden geverifieerd: Schakel deze optie in om de Host-header te behouden.
ProxyPreserveHost Directive Description: Use incoming Host HTTP request header for proxy request Syntax: ProxyPreserveHost On|Off Default: ProxyPreserveHost Off Context: server config, virtual host, directory Status: Extension Module: mod_proxy Compatibility: Usable in directory context in 2.3.3 and later. When enabled, this option will pass the Host: line from the incoming request to the proxied host, instead of the hostname specified in the ProxyPass line. This option should normally be turned Off. It is mostly useful in special configurations like proxied mass name-based virtual hosting, where the original Host header needs to be evaluated by the backend server.
Meer informatie vindt u hier: https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypreservehost
Additional Information
Affected Products
ECS ApplianceProducts
ECS Appliance, Elastic Cloud StorageArticle Properties
Article Number: 000034122
Article Type: Solution
Last Modified: 28 Aug 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.