How to fix 502 error with ARR IIS

KETATA Rami 376 Reputation points
2024-01-18T21:50:37.8033333+00:00

Hello, i have a reverse proxy ARR which redirect OWA access to my Exchange 2013. i installed a new Exchange Server 2019 and it works fine. But when i change the ARR configuration to point to my Exchange 2019 instead of my Exchange 2013, i get the error 502: 502 - The Web server has received an incorrect response when used as a gateway or proxy server. The page you are looking for has a problem and cannot be displayed. When the Web server (used as a gateway or proxy) contacted the upstream content server, it received an erroneous response.

Exchange Exchange Server Other
Windows development Internet Information Services
{count} votes

1 answer

Sort by: Most helpful
  1. Amit Singh 5,306 Reputation points
    2024-01-22T06:01:19.67+00:00

    A 502 Bad Gateway error typically indicates a problem between a client and a server, frequently involving a reverse proxy. If the option below is helpful, please select it.

    • Make sure your Exchange Server 2019 is healthy and operational.
    • ARR Configuration - Correct the server address, ports, and other settings.
    • Examine the IIS logs on your Exchange 2019 server for the requests that caused the 502 error.
    • TLS/SSL Protocols and Cypher Suites - Examine the TLS/SSL protocols and cipher suites configured in ARR and Exchange 2019. Maintain compatibility and consistency.
    • Check the application pool settings for Exchange in IIS. Make sure it's using the correct .NET version and other settings.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.