aws-samples / aws-serverless-workshops

Code and walkthrough labs to set up serverless applications for Wild Rydes workshops
http://wildrydes.com
Apache License 2.0
4.19k stars 2.62k forks source link

Visiting static website hosted on AWS S3 encounter "401 Unauthorized" #318

Open YongCloud opened 2 years ago

YongCloud commented 2 years ago

Hi team, Could you please help me fix this issue? The AWS Amplify service is not accessible on AWS China region (cn-north-1). So I plan to host the static site on AWS S3 and follow the tutorial to build my serverless website. https://github.com/aws-samples/aws-serverless-workshops/tree/webapp-tutorial

Unfortunately, when I visit my site, I get 401 error code. This is my site address: http://wildrydes.s3-website.cn-north-1.amazonaws.com.cn

All permissions are updated correctly.

Screen Shot 2021-12-29 at 4 51 10 PM
xiangjq940 commented 1 year ago

我也遇到了这样的问题;在中国区搭建S3静态网站,访问不了,报401;直接通过链接访问文件也不行; 请问你这个问题解决了吗?