getting internal server error 500, after adding multiple instances in backend pool of azure application gateway

1.1k views Asked by At

I have been trying to add multiple backend pools (multiple IP addresses) in the Azure Application Gateway, to route the request to any one of the servers mentioned.

once I have added two servers to the pool, the request is now showing a 500 internal server error. but it will work when only 1 instance is added to the backend pool. The servers which I have added are 2 VM's IP address. In backend health also I could see the servers as healthy. what could be the issue?

1

There are 1 answers

0
Shankar Gurav On

Go to backend settings and try enabling Cookie-based affinity

enter image description here