Skip to content

AWS - React - server.timeout Error on deployment when timeout is within service limit #6286

@kevinnorris

Description

@kevinnorris

To reproduce:

  1. Have AWS update your Amazon CloudFront - Response timeout per origin service limit to 180 seconds
  2. Configure an sst.aws.React component to have a server.timeout of 180 seconds
new sst.aws.React("app", {
  server: {
        architecture: "arm64",
        runtime: "nodejs22.x",
        timeout: "180 seconds"
  }
})
  1. Deploy the React component

Expected behavior:

  • The deployment succeeds

Actual behavior:

  • An Error is thrown during sst deploy
|  Error
Server timeout for "app" is longer than the allowed CloudFront response timeout of 120 seconds. You can contact AWS Support to increase the timeout - https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase

Metadata

Metadata

Assignees

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