amplify push stuck forever before pushing changes, with no errors #12859
Labels
pending-response
Issue is pending response from the issue author
pending-triage
Issue is pending triage
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
12.18.0
Amplify CLI Version
10.2.3, got same error on 12.1.1 (current @latest)
What operating system are you using?
Windows 10
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
Command
amplify push --yes
is stuck forever on my local terminal, but somehow works fine on amplify CI/CD triggered by git commit.There are no errors shown either on the terminal or amplify logs.
Already tried to reinstall both aws cli and amplify cli (and deleting both .aws and .amplify folders) but nothing was solved.
Already tried multiple cli versions (9.10, 10.2.3, 12.1.1), the --force parameter on amplify push, env pull, and env checkout.
The last line of amplify log is always this (amplify-meta.json exists on the deployment s3 bucket):
amplify-provider-awscloudformation.aws-s3.s3.getFile([{"Key":"[***]ify-[***]json","Bucket":"[***]ify-[***]tech-[***]gca-[***]316-[***]ment"}])
Terminal shows this forever, with no signs of life:
![image](https://private-user-images.githubusercontent.com/69838480/248224364-c0cdcf77-916a-4bd6-bc9e-fe9db8fc0d4a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI1Nzk5MjIsIm5iZiI6MTcyMjU3OTYyMiwicGF0aCI6Ii82OTgzODQ4MC8yNDgyMjQzNjQtYzBjZGNmNzctOTE2YS00YmQ2LWJjOWUtZmU5ZGI4ZmMwZDRhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAyVDA2MjAyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ0NDFkNTI4YWU2ZWJhMDQ4MTk1NjRiNWRkMDRiNmU3MmFiNGFjZjIwMDZkMzBiMGQxN2VlNTVkMDM4NDI4MTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xKsGg38D3bcOt5exVaB33XOZUPGol30d8F5X6a826fs)
It was working until 2 days ago.
Even if I turn back to a commit from multiple days ago when I'm certain it worked, the result is the same, stuck forever.
Btw I know it may take a while to push changes when there are multiple lambda codes to compile but this is not the case, I kept it running for a full day multiple times, it never complete.
Expected behavior
amplify push should complete, not get stuck
Reproduction steps
Unable to provide reproducible steps
Project Identifier
Project Identifier:
953c1a0842174ddef0ecd07b22dc2f4b
My app id is
doi87xs5wbi44
oneu-central-1
Log output
amplify-cli-2023-06-23.log
Additional information
Any workaround is accepted, this problem is heavily impacting our productivity
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: