My Container App starts ok, but then I see an error, ingress routes not ready

Paul Davies 0 Reputation points
2024-11-19T16:55:09.1666667+00:00

Deployed App, to Container App Env. I can see it started ok, according to its logs.
Shortly after it looks like it wants to set traffic to 100% and then I see this in the logs:
Error : ingress routes not ready",ContainerAppFailure
It tries this for about 20 mins and then the replica revision is marked as failed.

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
470 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Shireesha Eeraboina (Quadrant Resource LLC) 235 Reputation points Microsoft Vendor
    2024-11-25T14:37:44.43+00:00

    Hi @Paul Davies ,

    Welcome to the Microsoft Q&A Platform! Thank you for reaching out with your question.

    It seems you are experiencing an issue with your deployed app in the Container App environment. Specifically, you're seeing an error in the logs stating "ingress routes not ready," which is causing the replica revision to fail after about 20 minutes.

    Here are a few steps you can try to resolve the issue:

    1.Check the status of the ingress controller: You can check the status of the ingress controller by running the following command in the Azure CLI:

    az containerapp domain show-ingress-controller-status --name <container-app-name> --resource-group <resource-group-name>

    This command will show you the status of the ingress controller and any errors that may be occurring.

    2.Check the status of your app: You can check the status of your app by running the following command in the Azure CLI:

    az containerapp show --name <container-app-name> --resource-group <resource-group-name>

    This command will show you the status of your app and any errors that may be occurring.

    3.Check the logs for your app: You can check the logs for your app by running the following command in the Azure CLI:

    az containerapp logs --name <container-app-name> --resource-group <resource-group-name>

    This command will display the logs for your app and any potential errors.

    4.Check the configuration of your app: Ensure that your app is configured correctly and that all required environment variables are set.

    If none of these steps resolve the issue, here is a link to the Azure Container Apps documentation that may be helpful: Azure Container Apps Documentation

    I hope this helps! Let me know if you have any further questions.

    Thank you.

    0 comments No comments

  2. Paul Davies 0 Reputation points
    2024-11-26T15:45:27.07+00:00

    Hi @Shireesha Eeraboina (Quadrant Resource LLC)
    Thanks for the tips. The command "az containerapp domain show-ingress-controller-status" returned "'domain' is misspelled or not recognized by the system"
    The other tips only continue to confirm something is wrong.
    It is getting worse - sometimes taking up to an hour.
    Pattern is the same, new Revision is deployed, I can see it start ok, but then the dreaded "ingress routes not ready" in the system logs, repeated over and over until the new revision is fully activated.
    Only slight difference from the commands and the show one is that the provisioningStatus is failed (runningStatus is Running) . This is different from when I run the command az containerapp revision list, where it has the ProvisioningState as Provisioned
    Any further suggestions?
    Thanks
    Paul


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.