amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

"amplify push" - Connection timed out after 120000ms

Open wellmmer opened this issue 5 years ago • 3 comments

Hi @kaustavghosh06 and @kimfucious

I'm facing the same issue right now... I did a bash script to build my Node.js lambda, once they were coded using Typescript I needed to do it. But when I run "amplify push -y" I'm always getting the error below:

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

image

But the weird thing is that if I just update one resource like my API Gateway, so then I don't get any error, and it works fine!

Amplify CLI Version Screen Shot 2021-03-30 at 18 44 51

Any help guys ?

Originally posted by @wellmmer in https://github.com/aws-amplify/amplify-cli/issues/5663#issuecomment-810598503

wellmmer avatar Mar 30 '21 21:03 wellmmer

Sometimes the error is this one below...

image

wellmmer avatar Mar 30 '21 21:03 wellmmer

@wellmmer This is an intermittent issue due to DNS/Network issue from mainly AWS S3 service but I agree we should catch these network issue in the CLI. We're tracking the work for this out here - #6930. Closing this as a dup.

kaustavghosh06 avatar Apr 01 '21 18:04 kaustavghosh06

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

github-actions[bot] avatar May 24 '21 21:05 github-actions[bot]