Skip to content

Is there any way to Set KeepAliveTimeout and headersTimeout for bitgo/express Container Externally? #5747

Open
@SatoshiRoppongi

Description

@SatoshiRoppongi

When calling the BitGoExpress container API via an ALB, a 504 error may occur. After investigation, it seems likely that this is due to the issue described below, and I suspect that changing the keepAliveTimeout of Express can resolve it.

504 Gateway Timeout - Two EC2 Instances with Load Balancer

Note: The above reference is regarding EC2, but my environment is ECS. Therefore, it is necessary to be able to change this value externally when launching the Docker container.

Is there currently a way to externally change KeepAliveTimeout and headersTimeout when starting Docker?

Reference: https://nodejs.org/api/http.html#serverkeepalivetimeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions