API issue in Azure Portal (https://portal.azure.com/#home)

2023-04-05T11:22:44.1733333+00:00

We are having some API services for our support applications and those services are hosted in Microsoft Azure (https://portal.azure.com/#home). The API services are misbehaving from the past 1 year and we used to restart it whenever the issue occurs. How can I troubleshoot and what needs to be done in order to fix it as a long-term resolution?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,022 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,646 Reputation points
    2023-04-06T00:12:11.44+00:00

    Hi @Sakthivel, Vishali [JJCUS NON-J&J] we are sorry to hear you're facing this issue. When you say "misbehaving" can you please share additional details? are you getting any specific error messages when using your APIs? Here are a few things you could do to troubleshoot the issue:

    1. Check the logs of the API services to identify the cause of the misbehavior. Azure provides various log analysis tools, such as Azure Monitor and Azure Log Analytics, which can help you diagnose the issue.
    2. Please make sure that the API services are configured with health probes to monitor their status continuously. If the probes detect an issue, it can automatically restart the service.
    3. Monitor Resource Utilization: Monitor resource utilization of the API services, such as CPU, memory, and network usage. If the utilization exceeds the limits, it may lead to misbehavior of the services.
    4. Make sure that the API services are updated with the latest patches and updates. Outdated software versions may have known issues that can cause misbehavior.
    5. You can try conducting load testing on the API services to identify if the misbehavior is due to high traffic or workload. Based on the results, you can adjust the service configuration or upgrade the service plan to handle the load.

    Hope that helps. Best, Grace

    0 comments No comments

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.