Import from Github repo is taking too much time

I have a git repo linked with Appsmith , now i am trying to import in a new workspace but it is taking forever to do Import and not completing.
I have followed this Import from Repository | Appsmith

Any suggestions?

Hey @gauravs23!

Are you on Appsmith Clould or Self-hosting Appsmith?
Which version are you on?
Can you see any errors in the console or failed requests in the network tab?

Self hosting using AWS AMI
Version 1.9.12 Community
It’s giving 504 gateway timeout error as shown in console for import

Hello! Could you please share a screenshot of this error?
Please also send us the server logs to help us investigate the issue. You can grab the logs by running docker logs -f appsmith.
Or you could follow the steps from this guide on how to get the logs

Can you also see if refreshing the window might show the imported app? I’ve experienced this a couple of time in the past where the API times out but the app is actually imported.