admin管理员组文章数量:1391951
I have an application running both locally and in AWS using elastic beanstalk. For some reason, every now and then instead of having a successful upload from both my local version and elastic beanstalk version, I get a 413 error back from the upload. The weirdest thing is that the upload is successful so there should be nothing wrong with the configuration.
The error returned looks like this:
Failed to load resource: Origin is not allowed by Access-Control-Allow-Origin. Status code: 413
Sometimes the error is only on my elastic beanstalk version and sometimes it's only on my local version.
If I use the presigned URL generated manually I get this error:
413 ERROR
The request could not be satisfied.Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)
Request ID: GGMScLnvvivvgq3vwoMKTBgs4nQ2-ZQ_5O8nplWH2mDNj9LQtYn8_w==
which I don't understand as I'm not even using cloudfront to upload these files.
本文标签: amazon web services413 error from S3 presigned URL eventhough upload is successfulStack Overflow
版权声明:本文标题:amazon web services - 413 error from S3 presigned URL eventhough upload is successful - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744667897a2618645.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论