aws-amplify / aws-amplify/amplify-cli

Connection timed out after 120000ms

Open
#8,239 7 comments 0 reactions 0 assignees View on GitHub
feature-request p3 pending-review platform-push
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### Before opening, please confirm:

- [X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-cli/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-cli/blob/master/CONTRIBUTING.md#bug-reports).
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

### How did you install the Amplify CLI?

npm

### If applicable, what version of Node.js are you using?

v14.17.0

### Amplify CLI Version

5.6.0

### What operating system are you using?

Mac

### Amplify Categories

Not applicable

### Amplify Commands

push

### Describe the bug

I have an amplify project with ~40 Lambda functions, a comparable number of APIs, and roughly 20 dynamodb tables. I try to create a new environment and then push the changes but I always get the following time out

```
✖ An error occurred when pushing the resources to the cloud

Connection timed out after 120000ms
An error occurred during the push operation: Connection timed out after 120000ms
```

I create a new environment from the root folder of my amplify project. The idea is to set up a duplicate backend where i can test things in isolation. The commands are pretty straightforward:

`amplify env add envname`
`amplify push`

The error message does not provide any meaningful description. In addition, this time out should be configurable.

### Expected behavior

I would expect after `amplify push` to get my back and environment provision in AWS

### Reproduction steps

1. `amplify env add envname`
2. `amplify push`

### GraphQL schema(s)

```graphql
# Put schemas below this line

```

### Log output

```
# Put your logs below this line

? Are you sure you want to continue? Yes
✖ An error occurred when pushing the resources to the cloud

Connection timed out after 120000ms
An error occurred during the push operation: Connection timed out after 120000ms
⠴ Uploading files...100%%

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.