Gateway Error Response from Lightsail Container

0

I'm running a flask container on AWS Lightsail. The container runs fine when running locally. However, when I send a request to one of the endpoints, I get a 504 status code response from my client. When I checked the container logs on Lightsail, I can see that the request was successful (status code 200) like so:

[13/Jan/2022:13:02:29] 172.26.23.25 - - [13/Jan/2022 13:02:29] "POST /mosaicapi/v1/cubepdf/2 HTTP/1.1" 200 -

My container capacity is small (1GB RAM, 0.5vCPUs) with a scale of 1 @15USD/month. This is my first time deploying a container on AWS, so I don't know how to go about resolving the issue.

질문됨 2년 전292회 조회
1개 답변
0

Is the issue you're seeing persistent?

Sometimes 504s occur before your first deployment succeeds. After you have a successful deployment, you shouldn't see such errors again unless they're originating from your app itself.

AWS
Alex
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠