serverless-client-s3 icon indicating copy to clipboard operation
serverless-client-s3 copied to clipboard

NoSuchWebsiteConfiguration after sls client deploy

Open AdamGustavsson opened this issue 8 years ago • 2 comments

Sometimes when I deploy a static website I get a 404 NoSuchWebsiteConfiguration when browsing the site. When I look at the configuration of the bucket it has The "Do not enable website hosting" checkbox ticked. So I think that the "_this.aws.request('S3', 'putBucketWebsite', params, _this.evt.options.stage, _this.evt.options.region)" fails intermittently. I dont get any error in the terminal.

AdamGustavsson avatar May 17 '16 12:05 AdamGustavsson

+1

em0ney avatar Jun 20 '16 05:06 em0ney

+1 I think deployment should check current bucket settings for modification and modify bucket settings only if there're some changes.

gladkikhartem avatar Jun 28 '16 10:06 gladkikhartem