Preventing RequestTimeTooSkewed
from happening in the browser
#4082
Replies: 5 comments
-
Similar issue in aws-sdk-js-v3: aws/aws-sdk-js-v3#2208 |
Beta Was this translation helpful? Give feedback.
-
Hey @nuthinking thanks for opening this issue, I suspect that is because the config gets overwritten with your constructor. The way to workaround that in V2 is mentioned here #399 (comment) |
Beta Was this translation helpful? Give feedback.
-
@ajredniwja that code can fix S3 but not MediaEncoder. |
Beta Was this translation helpful? Give feedback.
-
I can try to work with it, can you share repro code? |
Beta Was this translation helpful? Give feedback.
-
Basically, I uploaded a file on s3 (thanks to the fix above) and then created a job with |
Beta Was this translation helpful? Give feedback.
-
Confirm by changing [ ] to [x] below:
Describe the question
If, for any reason, I change manually the time of my computer to a different one than the actual one (e.g. a day before) when I try to upload a file using this library I get the
RequestTimeTooSkewed
error. This happens even if I setAWS.config.correctClockSkew = true
ormyS3.config.correctClockSkew = true
.Is there any way to prevent this error from happening? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions