Around Daylight Savings Time shift we started receiving issues with uploads failing silently. The underlying issue was AWS was responding to uploads with: RequestTimeTooSkewed - The difference between the request time and the current time is too large.
The date is using new Date().toUTCString(); which can be incorrect if the client's time is incorrect. I believe this should come from the server and not the client.
If I submit a pull request to fall back on the server time (received when signing the request) would this be accepted?
Also, I could be missing another way to handle this. Is there one?
Around Daylight Savings Time shift we started receiving issues with uploads failing silently. The underlying issue was AWS was responding to uploads with: RequestTimeTooSkewed - The difference between the request time and the current time is too large.
The date is using new Date().toUTCString(); which can be incorrect if the client's time is incorrect. I believe this should come from the server and not the client.
If I submit a pull request to fall back on the server time (received when signing the request) would this be accepted?
Also, I could be missing another way to handle this. Is there one?