Connection timeout issues in Azure application gateway for containers

Sumit 0 Reputation points
2024-01-23T17:08:58.06+00:00

Hi, I've been trying to implement Azure App Gateway for containers to manage my microservices in Azure AKS. I followed all the steps outlined in the below documentation to set up the backend. FYI, I have used "Gateway API" to route the traffic.
https://learn.microsoft.com/en-us/azure/application-gateway/for-containers/ The setup was done. During testing, I noticed that HTTP requests function correctly initially but seem to encounter connection timeouts or 500 errors after a short period. I've checked resource utilization, and everything appears normal. Since the App Gateway for Containers is currently in preview mode, could this issue be related to that? Additionally, once this matter is resolved, is it advisable to use this feature in a production environment? PFA, agc-error Thanks,

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
917 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,790 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Silvia Wibowo 2,371 Reputation points Microsoft Employee
    2024-01-24T04:52:58.6166667+00:00

    Hi @Sumit , I understand that you deployed App Gateway for Containers (preview) but after a short period, it returns Error 500.

    Please check health probe configured for your App Gateway for Containers. The behaviour that you described seems that after health probe fails a number of times (unhealthyThreshold, default is 3 times, interval of probe is 5 seconds), App Gateway for Containers will label the back-end unhealthy, therefore return Error 500.

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    0 comments No comments