Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pullrequests/love to know/fix focal subfolder env #87

Merged

Conversation

andris-sevcenko
Copy link
Contributor

Resolve #86

JoshCoady and others added 2 commits May 26, 2020 21:17
… setting contains an alias.

It fails because the alias is passed unexpanded to AWS as part of the object name.

Example error log:
2020-05-26 21:12:57 [-][1][-][error][craft\controllers\AssetsController::actionUpload] An error occurred when saving an asset: Error executing "DetectFaces" on "https://rekognition.us-east-1.amazonaws.com"; AWS HTTP error: Client error: `POST https://rekognition.us-east-1.amazonaws.com` resulted in a `400 Bad Request` response:
{"__type":"InvalidS3ObjectException","Code":"InvalidS3ObjectException","Logref":"ab2b33db-a156-41c5-8050-fd4e0b1d8c72"," (truncated...)
 InvalidS3ObjectException (client): Unable to get object metadata from S3. Check object key, region and/or access permissions. - {"__type":"InvalidS3ObjectException","Code":"InvalidS3ObjectException","Logref":"ab2b33db-a156-41c5-8050-fd4e0b1d8c72","Message":"Unable to get object metadata from S3. Check object key, region and/or access permissions."}
    in /var/app/vendor/craftcms/cms/src/controllers/AssetsController.php:375
    in /var/app/vendor/craftcms/cms/src/web/Controller.php:178
    in /var/app/vendor/craftcms/cms/src/web/Application.php:291
@andris-sevcenko andris-sevcenko merged commit 9100ef5 into master May 29, 2020
@andris-sevcenko andris-sevcenko deleted the pullrequests/LoveToKnow/fix-focal-subfolder-env branch May 29, 2020 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants