Azure / Vector-Search-AI-Assistant

Microsoft Official Build Modern AI Apps reference solutions and content. Demonstrate how to build Copilot applications that incorporate Hero Azure Services including Azure OpenAI Service, Azure Container Apps (or AKS) and Azure Cosmos DB for NoSQL with Vector Search.
MIT License
132 stars 68 forks source link

Entering holding pattern to wait for proper backend API initialization loop #9

Closed EricDatacomNZ closed 1 month ago

EricDatacomNZ commented 9 months ago

Entering holding pattern to wait for proper backend API initialization Attempting to retrieve status from https://**.eastus.aksapp.io/api/status every 20 seconds with 50 retries

I've attempted to deploy making use of both deployment-standard.md and deployment-cloudshell.md, both resulting in the same outcome. Is this a bug or am I doing something wrong?

markjbrown commented 9 months ago

This may be because Docker Desktop is not actively running on your machine (same thing happened to me). Retry with the standard deployment after double checking it's running and let me know.

EricDatacomNZ commented 9 months ago

This may be because Docker Desktop is not actively running on your machine (same thing happened to me). Retry with the standard deployment after double checking it's running and let me know.

Thank you for the response! I have Docker Desktop open, not sure if running it on MacOS makes a difference?

I can see the script creating two local images on Docker during the deployment process, but it still ends up failing.

markjbrown commented 9 months ago

Should work ok on Mac I would think. There's nothing Windows specific to any of this.

Are you seeing any warnings or other errors further up in the install output in your terminal?

EricDatacomNZ commented 9 months ago

Should work ok on Mac I would think. There's nothing Windows specific to any of this.

Are you seeing any warnings or other errors further up in the install output in your terminal?

No, the only warning I get, not sure if it's of much relevance is: WARNING: Command group 'az storage' is in preview and under development.

Other than that, no errors at all. I tried using the standard deployment process locally and cloudshell directly on Azure, both deployments fail at the same point for some reason.

markjbrown commented 9 months ago

I'm assuming you are deploying to Azure Container Apps. Can you go to Azure Portal and in the resource group for your deployment, find the container app with a name that ends with 'chatapiaca' and see what the status is?

image

EricDatacomNZ commented 9 months ago

These are the only deployed services I have. I just reran the deployment script again, and got stuck at the same loop

Screenshot 2023-10-04 at 11 43 22

markjbrown commented 9 months ago

@alekseys or @sesmyrnov have either of you guys experienced this before with AKS deployment for this sample?

sesmyrnov commented 9 months ago

Yes - I have seen this same behavior a while ago before when deploying older version ( from the old repo with AKS being main deployment). This was fixed and I believe workaround/fix for this was to have a docker running. I had several successful deployments in last couple of weeks with AKS before last set of updates (Windows) - but have not tried to do ACA deployment yet for this one. This deployment seems to be doing AKS - so may be try to turn off AKS and do ACA to test if that will work.

markjbrown commented 9 months ago

Agreed. AKS has been problematic for us. Is there any chance you can try doing the default deployment instead without the -aks 1 in the PS script?

markjbrown commented 1 month ago

This has been resolved. Closing.