none
500 ERROR ON THE ADMIN PORTAL RRS feed

  • Question

  • Hi Team

    I recently installed WAP on the VM’s using distributed scale model (All admin components are installed on one VM , and the tenant on another). The installation was successful and tenant portal opens up . But when I try to render the admin portal , I am getting the below error message on the portal and the corresponding messages in the event viewer . I am not able to figure out much from this issue . Tried to do an iisrest , stopped and started the sites no luck

    Log Name:      Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational

    Source:        Microsoft-WindowsAzurePack-MgmtSvc-AdminSite

    Date:          1/13/2015 6:24:27 PM

    Event ID:      12

    Task Category: (65522)

    Level:         Error

    Keywords:      None

    User:          IIS APPPOOL\MgmtSvc-AdminSite

    Computer:      xxxxx.domain

    Description:

    Error:Error in controller: Home action: Index

    System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

       at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

       --- End of inner exception stack trace ---

       at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)

       at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

       --- End of inner exception stack trace ---

       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

       --- End of inner exception stack trace ---

       --- End of inner exception stack trace ---

       at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)

       at Microsoft.Azure.Portal.AdminApplication.TryAuthorize()

       at Microsoft.Azure.Portal.Controllers.HomeController.TryAuthorize(HttpContextBase httpContext)

       at Microsoft.Azure.Portal.Controllers.HomeController.<Index>d__4.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---

       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

       at lambda_method(Closure , Task )

       at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3f.<BeginInvokeAsynchronousActionMethod>b__3e(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)

    ---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

       at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

       --- End of inner exception stack trace ---

       at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)

       at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

       --- End of inner exception stack trace ---

       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

       --- End of inner exception stack trace ---<---

    , operationName:Home.Index, version:, accept language:en-US, subscription Id:, client request Id:, principal Id:xxx\ssssc, page request Id:, server request id:

    Event Xml:

    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

      <System>

        <Provider Name="Microsoft-WindowsAzurePack-MgmtSvc-AdminSite" Guid="{5E78D550-1384-5A96-C12A-CB6DA7BC6365}" />

        <EventID>12</EventID>

        <Version>0</Version>

        <Level>2</Level>

        <Task>65522</Task>

        <Opcode>0</Opcode>

        <Keywords>0x0</Keywords>

        <TimeCreated SystemTime="2015-01-14T02:24:27.641281200Z" />

        <EventRecordID>59</EventRecordID>

        <Correlation ActivityID="{FDBF5866-D33A-435B-A368-2398175C792D}" />

        <Execution ProcessID="3168" ThreadID="5480" />

        <Channel>Microsoft-WindowsAzurePack-MgmtSvc-AdminSite/Operational</Channel>

        <Computer>xxxxxx.domain</Computer>

        <Security UserID="S-1-5-82-4118156790-2181488624-806685255-2797011695-3958995103" />

      </System>

      <EventData>

        <Data Name="message">Error in controller: Home action: Index

    System.AggregateException: One or more errors occurred. ---&gt; System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt; System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

       at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

       --- End of inner exception stack trace ---

       at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)

       at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

       --- End of inner exception stack trace ---

       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

       --- End of inner exception stack trace ---

       --- End of inner exception stack trace ---

       at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)

       at Microsoft.Azure.Portal.AdminApplication.TryAuthorize()

       at Microsoft.Azure.Portal.Controllers.HomeController.TryAuthorize(HttpContextBase httpContext)

       at Microsoft.Azure.Portal.Controllers.HomeController.&lt;Index&gt;d__4.MoveNext()

    --- End of stack trace from previous location where exception was thrown ---

       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

       at lambda_method(Closure , Task )

       at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass3f.&lt;BeginInvokeAsynchronousActionMethod&gt;b__3e(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass37.&lt;&gt;c__DisplayClass39.&lt;BeginInvokeActionMethodWithFilters&gt;b__33()

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass4f.&lt;InvokeActionMethodFilterAsynchronously&gt;b__49()

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass4f.&lt;InvokeActionMethodFilterAsynchronously&gt;b__49()

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass37.&lt;BeginInvokeActionMethodWithFilters&gt;b__36(IAsyncResult asyncResult)

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass25.&lt;&gt;c__DisplayClass2a.&lt;BeginInvokeAction&gt;b__20()

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass25.&lt;BeginInvokeAction&gt;b__22(IAsyncResult asyncResult)

    ---&gt; (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---&gt; System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---&gt; System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---&gt; System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

       at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

       --- End of inner exception stack trace ---

       at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)

       at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)

       --- End of inner exception stack trace ---

       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

       --- End of inner exception stack trace ---&lt;---

    </Data>

        <Data Name="requestId">

        </Data>

        <Data Name="subscriptionId">

        </Data>

        <Data Name="clientRequestId">

        </Data>

        <Data Name="principalId">xxx\xxxx</Data>

        <Data Name="version">

        </Data>

        <Data Name="pageRequestId">

        </Data>

        <Data Name="acceptLanguage">en-US</Data>

        <Data Name="operationName">Home.Index</Data>

      </EventData>

    </Event>

    Wednesday, January 14, 2015 3:03 AM

All replies

  • I know this is really old, but did you ever resolve this?  I'm having the exact same error.
    Monday, September 2, 2019 1:47 PM