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

"Internal server error" for full-fit-in resize request #95

Closed
onassar opened this issue May 8, 2019 · 1 comment
Closed

"Internal server error" for full-fit-in resize request #95

onassar opened this issue May 8, 2019 · 1 comment

Comments

@onassar
Copy link

onassar commented May 8, 2019

Running into an issue with the full-fit-in resize request.
Here is the S3 object:
http://s3-us-west-2.amazonaws.com/app.getstencil.com/asstdb633ecc

And when I request the following, I get an "Internal server error":
https://d3mnhso4gv2l51.cloudfront.net/full-fit-in/3200x3750/asstdb633ecc

However, when I request a slightly smaller resolution of the image, it works fine:
https://d3mnhso4gv2l51.cloudfront.net/full-fit-in/3200x3200/asstdb633ecc

My first thought was that the image was taking too long to resize, but similar dimensions take only a few seconds.
My second thought was that it was beyond the acceptable resolution, but it seems the maximum resolution for this solution is 70mb.

Any thoughts?

@onassar
Copy link
Author

onassar commented May 8, 2019

Closing this issue, as I've found out by investigating my CloudWatch logs that it's related to the output being larger than the maximum allowed through Lambda (namely, 6mb, which is documented here: https://docs.aws.amazon.com/lambda/latest/dg/limits.html)

That makes this issue a duplicate of: #35

@onassar onassar closed this as completed May 8, 2019
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

No branches or pull requests

1 participant