Web Server (Load Balancer) to App Server (Search Function) ver 8.1.1

Hello,

We have multiple environment, Dev and Prod.

The current scenario in Dev is without any load balancer on web server and App server, but still we have a proxy server to connect the OAuth for AAD autentication. We have edited the web server config file as below.

So only for the authentication it routes via proxy and to communicate the App server we have added in bypasslist with Domain and IP Address.

And this works perfectly as expected with search functionality.

In prod environment we have 2 Web servers with LB configured (same as above web.config) and it works perfectly, but the search functionality fails. My guess is when we go with LB configured environment it doesn't lookup the web.config and tries to communicate the App server with proxy and not by-passing it. Please advice me whether is something we need to configure in Load Balancer . Thanks.

Error from Log: VI.Base.ViException: An exception has occurred while executing the form method F0_ctl00_ControlRef8_ControlRef15_ControlRef15_ControlRef3_Container4_ControlRef4_Button2_Method. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> QBM.AppServer.Interface.AppServerException: Application server returned an error. ---> ServiceStack.WebServiceException: Forbidden

Regards,

AAD