Open felipemotarocha opened 1 month ago
I'm getting thousands of this error per hour and this is exploding my costs with S3. Here's the bucket doutor-sim-prod-doutorsimassets-ovxmssav
policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Principal": "*",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::doutor-sim-preview-doutorsimassets-rtverhht/*",
"arn:aws:s3:::doutor-sim-preview-doutorsimassets-rtverhht"
],
"Condition": {
"Bool": {
"aws:SecureTransport": "false"
}
}
},
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E11VGZIMUVRRSU"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::doutor-sim-preview-doutorsimassets-rtverhht/*"
}
]
}
Did this just start happening? It sounds like your local credentials don't have access to upload to that bucket?
i'm looking at the S3 error, it's trying to access _cache/__fetch/*
it seems the server function doesn't have permission to access the ISR cache in S3
Can you check the IAM permission on the server function and see if it has the necessary permissions?
That's make sense, I'm getting the same error since I turned on ISR.
Hey guys. I'm using SST on my Next.js app and it's working great, even though I'm getting A LOT of errors like these ones:
Like I said, the app seems to be working fine but these errors are pretty strange since all the roles are managed by SST and it's very annoying to have a lot of them spammed on my error tracking tools.
Can someone help me with this?