Post multipart form data to AWS App Runner times out

0

Part of my API deployed with docker on App Runner relies on uploading a file to the API (in the order of 180KB), which then uploads it to S3 (I know I should be uploading directly to S3, but I don't have time to implement that at the moment). Whenever I POST the file to the API, the request times out and every further request times out as well, until I redeploy. Normally my App Runner service is behind Cloudfront, but I'm reproducing that without cloudfront, connecting straight to the app runner endpoint - the incoming traffic is configured as Public endpoint I do not receive any further logs from my service in cloud watch - including the post request that times out is never logged.

  • Worst part is that it is absolutely impossible to debug, the request does not reach my container, I never get a response from the server to tell me if I'm exceeding some limit, and the App Runner thinks it's running fine and there's no issues whatsoever...

  • On a side note, the exact same docker image, running with the same env vars and in the same vpc/security group, runs perfectly fine in an EC2 instance and processes the requests without any issues.

asked 8 months ago138 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions