Error when opening Organization > Apps in Exchange 2013 ECP: The underlying connection was closed: an unexpected error occurred on a receive

Shawn 16 Reputation points
2021-09-01T15:57:11.507+00:00

As the title says, this error comes up when I'm in ECP and open Organization > Apps. If I refresh a few times the apps show up but refreshing again will bring the error up again.

I have 2 servers and, if I run the "Get-App" command on one, it lists the apps. However, running it on the second server produces essentially the same error that comes up in ECP when opening the Apps page:

The request failed. The underlying connection was closed: An unexpected error occurred on a receive.

  • CategoryInfo : InvalidOperation: (:) [Get-App], OwaExtensionOperationException
  • FullyQualifiedErrorId : [Server=<Server Name>,RequestId=768a4ef0-c38c-40fb-978b-a21e97752d1a,TimeStamp=9/1/2021 2:
    47:44 PM] [FailureCategory=Cmdlet-OwaExtensionOperationException] 773C62A2,Microsoft.Exchange.Management.Extension
    .GetApp
  • PSComputerName :<Server FQDN>

Any tips for getting this resolved are much appreciated. I have done some searching for the "The underlying connection was closed: An unexpected error occurred on a receive." and checked some of the suggestions that I found (both servers are running the same .net framework version, both have TLS 1.0, 1.1, and 1.2 enabled).

Aside from that I'm not seeing anything that's really relevent to my issue of this error coming up when running this specific command or from just opening the Apps page in ECP (most are from people trying to run a custom app).

Exchange | Exchange Server | Management
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Shawn 16 Reputation points
    2021-10-21T14:13:26.25+00:00

    Hello, this has been resolved. It ended up being caused by an IP address restriction that was restricting outside access to ECP.

    1 person found this answer helpful.
    0 comments No comments

  2. Anonymous
    2021-09-02T02:53:07.33+00:00

    Hi @Shawn ,

    The error message shows it is related to a TCP request failure. Please try re-enable TLS 1.0 and TLS 1.2.

    In addition, what is the version of your Exchange? Update it to the latest version or 2016 is also a good idea.

    Best regards,
    Lou


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Shawn 16 Reputation points
    2021-09-02T16:49:22.513+00:00

    I assume by "re-enable TLS 1.0 and 1.2" you mean to disable the reg values for TLS 1.0 and 1.2, reboot and then re-enable and reboot again?

    Both servers are Exchange 2013 on-prem.


  4. Anonymous
    2021-10-11T08:21:14.72+00:00

    Hello @Shawn ,

    So sorry for some reasons that it's been a time since my last reply:(

    Please also try recreating the system mailboxes: https://learn.microsoft.com/en-us/exchange/recreating-arbitration-mailboxes-exchange-2013-help
    And you can migrate these system mailboxes to other database to test.

    A related thread that may help: https://social.technet.microsoft.com/Forums/exchange/en-US/bd2abdd7-cafa-4a02-bec8-62aa95811932/exchange-2013-can-not-upload-apps?forum=exchangesvrdeploy

    Best regards,
    Lou


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.