We are trying with various videos with adverts, we face very frequent streaming issues (even tested in San Francisco for bandwidth related issue, same issue), when we ry to load the video we get the following error both on s3bubble control panel as well as in our embedded website.
The media could not be loaded, either because the server or network failed or because the format is not supported
Some updated information. We got a error while accessing a media/video/object from s3.
Request URL: “NetworkError: 403 Forbidden – https://bucketname.region.amazonaws.com/<filepath>?response-content-disposition=attachment%3B&AWSAccessKeyId=<awsaccesskey>&Expires=1470724120&Signature=<signature>”
The response from the s3 is,
-<Error>
AccessDenied
<Message>Request has expired</Message>
<Expires>2016-08-09T06:28:40Z</Expires>
<ServerTime>2016-08-09T07:11:03Z</ServerTime>
<RequestId>BA33C26FF63B3D5A</RequestId>
<HostId>cWoHk+s6Z/PFedWZMP5ebKhNGhG5mLSwZ+cfMyYzwJuskwdmX/ITZhUFg0n2pbF4x1bOJ3fC6l8=</HostId>
</Error>
Please look at the highlighted part in the request and response text.
From the above response I guess the expire time is less than the server time. So now aws might consider this request as an unauthorized access. So I think regularly updating the expire time along with the proper signature in the request URL might solve this issue.
I have also tried increasing the expire time to the next day with no success. The error message I got is
“<Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>”
Stuck with this issue. Please do take a look this issue and do the needful.