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

Parents
  • Hello

    Hope you are doing well.

    I need your help may be you can help me in below case.

    I want to setup an AAD connector and in my current project we don't have direct access to Azure URLs.

    URL access is through proxy server but when I try to connect through sync project I am getting below error.

    [System.Exception] [HttpRequestException]: An error occurred while sending the request.
    [WebException]: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    [AuthenticationException]: The remote certificate is invalid according to the validation procedure.
    [AuthenticationException]: The remote certificate is invalid according to the validation procedure.

    [System.Net.Http.HttpRequestException] An error occurred while sending the request.
    [System.Net.WebException] The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    [System.Security.Authentication.AuthenticationException] The remote certificate is invalid according to the validation procedure.

    Firewall is enabled between job server and proxy server.

    Below URLs are whitelisted on proxy server.

    https://login.windows.net and https://login.microsoftonline.com - For Azure authentication
    https://graph.microsoft.com - For communicating with the graph api

    Could you please help me and let me know what are all steps we need to do while setting up AAD connector through proxy.

    Thanky ou in advance.

    Kind Regards,

    Dnyandev Garad

Reply
  • Hello

    Hope you are doing well.

    I need your help may be you can help me in below case.

    I want to setup an AAD connector and in my current project we don't have direct access to Azure URLs.

    URL access is through proxy server but when I try to connect through sync project I am getting below error.

    [System.Exception] [HttpRequestException]: An error occurred while sending the request.
    [WebException]: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    [AuthenticationException]: The remote certificate is invalid according to the validation procedure.
    [AuthenticationException]: The remote certificate is invalid according to the validation procedure.

    [System.Net.Http.HttpRequestException] An error occurred while sending the request.
    [System.Net.WebException] The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    [System.Security.Authentication.AuthenticationException] The remote certificate is invalid according to the validation procedure.

    Firewall is enabled between job server and proxy server.

    Below URLs are whitelisted on proxy server.

    https://login.windows.net and https://login.microsoftonline.com - For Azure authentication
    https://graph.microsoft.com - For communicating with the graph api

    Could you please help me and let me know what are all steps we need to do while setting up AAD connector through proxy.

    Thanky ou in advance.

    Kind Regards,

    Dnyandev Garad

Children
No Data