You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using serverless express in a lambda that sits behind an application load balancer. It is setup as recommended here.
The lambda funciton is serving up files from an S3 bucket and returning a default file, if the requested file is not found. (The reason I am doing it this way is that I need to have my static files and api calls served from the same host over SSL).
It has no problem with text files, small png and jpg files, or js files. The issue comes when I attempt to serve a particular image file that is ~ 1.5MB. This causes the application load balancer to 502, even though no errors are being reported by the lambda function
I am using serverless express in a lambda that sits behind an application load balancer. It is setup as recommended here.
The lambda funciton is serving up files from an S3 bucket and returning a default file, if the requested file is not found. (The reason I am doing it this way is that I need to have my static files and api calls served from the same host over SSL).
It has no problem with text files, small png and jpg files, or js files. The issue comes when I attempt to serve a particular image file that is ~ 1.5MB. This causes the application load balancer to 502, even though no errors are being reported by the lambda function
Node: 10.x
Express: 4.17.1,
aws-sdk: 2.552.0,
aws-serverless-express: 3.3.6
index.js
routing/index.js
The text was updated successfully, but these errors were encountered: