CONTP-228787:将aws-sdk-js-v3与node.js结合使用时出现RequestTimeTooSkewed错误。
问题描述
AWS SDK for JavaScript v3 deprecated the correctClockSkew feature that was disabled by default in v2 of the SDK. Now, v3 of the SDK always applies a clock skew correction. See: https://docs.aws.amazon.com/AWSJavaS...table-changes/ With TCP Keep-Alive enabled, ONTAP returns an incorrect x-amz-date within a request signature. The incorrect time returned eventually causes a RequestTimeTooSkewed error when the difference is more than 15 minutes:Response Error :>> RequestTimeTooSkewed: The difference between the request time and the current time is too large.