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.