none
HTTP Error 502.5 InteropServices.COMException Fabric.FabricConnectionDeniedException RRS feed

  • Question

  • All ,

    I am trying this sample 

    https://github.com/Azure-Samples/service-fabric-dotnet-web-reference-app/blob/master/Docs/architecture.md

    when i run the application ..i get 502 error shown  in browser . 

    event log has this error ..

    -----

    Application: Web.Service.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Runtime.InteropServices.COMException
       at System.Fabric.Interop.NativeRuntime.FabricEndGetNodeContext(IFabricAsyncOperationContext)
       at System.Fabric.FabricRuntime+NativeFabricRuntimeFactory.GetNodeContextEndWrapper(IFabricAsyncOperationContext)
       at System.Fabric.Interop.AsyncCallOutAdapter2`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Finish(IFabricAsyncOperationContext, Boolean)

    Exception Info: System.Fabric.FabricConnectionDeniedException
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
       at Microsoft.ServiceFabric.Services.Runtime.RuntimeContext+<GetOrCreateAsync>d__14.MoveNext()
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
       at Microsoft.ServiceFabric.Services.Runtime.ServiceRuntime+<RegisterServiceAsync>d__0.MoveNext()
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
       at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
       at Web.Service.Program.Main()

    --------------------------------------

    i tried putting this in my webs.service app.config file .. but it does not generate any log file.

                    

    <configuration>
       <runtime>
          <gcServer enabled="true"/>
       </runtime>

      <system.webServer>
        <handlers>
          <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
        </handlers>
        <aspNetCore processPath="dotnet"

                    stdoutLogEnabled="true"
                    stdoutLogFile=".\logs\stdout" />
      </system.webServer>

    </configuration>

    -----------

    how do i debugs this issue ? 

    thank s

    Tuesday, July 31, 2018 6:00 PM

Answers

  • Hi siddharthKhare,

    Thank you for posting here.

    Since your question is more related to web, you could post a new thread in Azure and ASP.NET forum for suitable support.

    https://forums.asp.net/1247.aspx/1?Azure+and+ASP+NET

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, August 2, 2018 9:01 AM