I am following this tutorial :
https://devcenter.heroku.com/articles/s3-upload-node
to upload files to Amazon s3 using NodeJS and Jquery. It works fine for small images and files. However it gives a XHR Connection RESET Error.
My CORS Configuration looks exactly like this:
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<AllowedMethod>POST</AllowedMethod>
<AllowedMethod>PUT</AllowedMethod>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
Am I missing something?