Skip to content

ECS Service Connect 504/Timeout

1

Hello, after enabling ECS Service Connect we started noticing that requests longer than 15s are cancelled and a 504 response is returned:

content-length: 24
content-type: text/plain
date: Wed, 25 Jan 2023 19:42:08 GMT
server: envoy

Seems that envoy is enforcing this 15s timeout.

Is this assumption correct? If so, is there any way to configure the timeout?

asked 3 years ago975 views
1 Answer
1

Hi,

Previously, workloads running with ECS Service Connect for service-to-service communication had a non-configurable default timeout of 15 seconds. Since Jan 22, 2024 Amazon ECS support for configurable timeout for services running with Service Connect

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect-concepts.html#service-connect-concepts-proxy

https://aws.amazon.com/about-aws/whats-new/2024/01/amazon-ecs-configurable-timeout-service-connect/

AWS
answered 2 years ago

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.