Application Error in Azure Docker Registry Hosted NextJS Apps

Matthias Münzel 0 Reputation points
2024-03-26T13:02:46.1833333+00:00

We are encountering an issue with our NextJS apps hosted on Azure Docker Registry. Specifically, the apps hosted on our domains are experiencing unexpected "Application Errors".

At certain times, these apps abruptly encounter an "Application Error" without any apparent reason. The problem can be temporarily resolved by manually redeploying the app (into a test slot) and then swapping the test slot with the production slot. It's noteworthy that the image remains the same throughout this process.

In all instances, the swapped test slots become dysfunctional. We are seeking assistance in identifying the root cause of this issue. Is it possible that the slots are malfunctioning, or is there a default timeout that the apps are hitting after a certain period?

Best Regards,

Matthias

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
403 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,028 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. hossein jalilian 4,205 Reputation points
    2024-03-26T23:49:36.28+00:00

    Hello Matthias,

    Thanks for posting your question in the Microsoft Q&A forum.

    To troubleshoot, it's essential to investigate potential causes beyond the deployment process. Start by examining application logs and monitoring metrics to identify any patterns or anomalies leading up to the errors.

    Additionally, consider factors such as resource utilization, network connectivity, and application dependencies. It's possible that environmental factors or external dependencies are contributing to the instability.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    0 comments No comments