I want to upload a big video to s3 using s3_multipart rails gem. I added the CORS configuration below to the AWS S3 bucket and changed the resolution to all (public).
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>PUT</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>GET</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
I upload 50 MB of video, which it calls the onStart and onProgress s3_multipart method and tries to connect to the S3 bucket, but it does not work.
I get an error by following
"PUT https://dead-radio.s3.amazonaws.com/b98c05b0-b6ed-0135-1be0-7caa145ace4b/642519614.mp4?partNumber=1&uploadId=WDawyHPnFveTAY8L8jipTI2RQFIgxn09uNGoHYf489_ZDAc7ZCb1taVYMCyO.TAyTIU.pMT.rrlXsvtO1wFs0Q-- net::ERR_CONNECTION_RESET"
Expect the best deal as soon as possible.
source
share