Outlook not working, RPC Proxy can't be pinged, internal server error 500

Alberto Solano 6 Reputation points
2021-04-14T13:21:09.783+00:00

I'm running into an issue where outlook cannot connect to Exchange. When I try the connectivity analyzer I get the following.

Attempting to ping RPC proxy mail.redacted.us.
RPC Proxy can't be pinged.
Additional Details
An unexpected network-level exception was encountered. Exception details:
Message: The remote server returned an error: (500) Internal Server Error.
Type: Microsoft.Exchange.Tools.ExRca.Extensions.MapiTransportException
Stack trace:
at Microsoft.Exchange.Tools.ExRca.Extensions.MapiRpcTestClient.PingProtocolProxy(String endpointIdentifier)
at Microsoft.M365.RCA.ConnectivityTests.MapiPingProxyTest.PerformTestReally() in >
d:\dbs\sh\nibr\0406_035353_0\cmd\8\sources\dev\m365rca\src\connectivitytests\Mapi\MapiPingProxyTest.cs:line 60
Exception details:
Message: The remote server returned an error: (500) Internal Server Error.
Type: System.Net.WebException
Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at RpcPingLib.RpcPing.PingProxy(String internalServerFqdn, String endpoint)
at Microsoft.Exchange.Tools.ExRca.Extensions.MapiRpcTestClient.PingProtocolProxy(String endpointIdentifier)

Obviously there's an issue somewhere. But for the life of me I can't figure out what it may be.

C:\Windows\system32>Get-OutlookAnywhere |fl
RunspaceId : aa63ad70-a1b4-4837-a847-f7e17f5563d6
ServerName : redacted
SSLOffloading : False
ExternalHostname : mail.redacted.us
InternalHostname : mail.redacted.us
ExternalClientAuthenticationMethod : Negotiate
InternalClientAuthenticationMethod : Negotiate
IISAuthenticationMethods : {Basic, Ntlm, Negotiate}
XropUrl :
ExternalClientsRequireSsl : True
InternalClientsRequireSsl : True
MetabasePath : IIS://redacted.local/W3SVC/1/ROOT/Rpc
Path : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\rpc
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags : {}
ExtendedProtectionSPNList : {}
AdminDisplayVersion : Version 15.2 (Build 858.5)
Server : redacted
AdminDisplayName :
ExchangeVersion : 0.20 (15.0.0.0)
Name : Rpc (Default Web Site)
DistinguishedName : CN=Rpc (Default Web Site),CN=HTTP,CN=Protocols,CN= ,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=thi,DC=local
Identity : redacted\Rpc (Default Web Site)
Guid : bfc62afc-daa7-464d-8f3d-3cf94b93647d
ObjectCategory : redacted/Configuration/Schema/ms-Exch-Rpc-Http-Virtual-Directory
ObjectClass : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory}
WhenChanged : 4/13/2021 5:46:42 PM
WhenCreated : 4/12/2020 5:37:52 PM
WhenChangedUTC : 4/13/2021 9:46:42 PM
WhenCreatedUTC : 4/12/2020 9:37:52 PM
OrganizationId :
Id : \Rpc (Default Web Site)
OriginatingServer : redacted .local
IsValid : True
ObjectState : Changed

How can I attempt to figure out what's causing the 500 internal error?

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,488 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Alberto Solano 6 Reputation points
    2021-04-14T17:34:15.45+00:00

    I've rebooted the server on multiple occasions.

    However I tried recycling the application pool like you said.

    Same issue.

    There is an issue server side that is giving a 500 internal error. More than likely something got misconfigured when we were doing an update. Need to figure out what to look for to fix this issue.

    1 person found this answer helpful.

  2. Manu Philip 17,351 Reputation points MVP
    2021-04-14T17:28:17.75+00:00

    Try recycling the Application Pools in IIS console
    Go to Internet Information Services (IIS) Manager.
    Open application pools
    Then select the application pool “MSExchangeAutodisocverAppPool”
    In the Actions pane, click Recycle

    0 comments No comments

  3. Alberto Solano 6 Reputation points
    2021-04-14T18:57:19.64+00:00

    updating to the latest cu.

    I really don't have a way of sharing the log file it's too big to attach.


  4. Manu Philip 17,351 Reputation points MVP
    2021-04-15T17:24:40.67+00:00

    Just another approach: Get the health report of mailbox server and see any issues found:

    Get-HealthReport -Identity Mailbox01-RollupGroup
    

    Here is a similar reference which can help further troubleshooting: exchange-managed-availability-error-outlookrpcselftestprobe


  5. Danny L 1 Reputation point
    2021-04-16T15:52:49.787+00:00

    Same Exact Issue Here. April 2021 Exchange patch failed and RPC stopped working. We tried to reapply CU 23, CU applied successfully but did not resolve the issue. We also just re applied the april 2021 update, which succeeded but the RPC issue still remains, internal server error 500.