Skip to content

Bringin plugin still fails #103

@mariodian

Description

@mariodian

After fixing the previous issue #95 I'm getting a new error as soon as I go to Bringin page or Dashboard:

fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost: Unhandled exception in circuit '6Yka0PyjjPSx1I8x93v23F2J0CfsIkv8Dz0ABXMgyW4'.
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'httpContext'))
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'httpContext')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at Microsoft.AspNetCore.Routing.RoutingHttpContextExtensions.GetRouteData(HttpContext httpContext)
   at BTCPayServer.Security.CookieAuthorizationHandler.HandleRequirementAsync(AuthorizationHandlerContext context, PolicyRequirement requirement) in /home/ubuntu/source/Bitcoin/btcpayserver/BTCPayServer/Security/CookieAuthorizationHandler.cs:line 75
   at Microsoft.AspNetCore.Authorization.AuthorizationHandler`1.HandleAsync(AuthorizationHandlerContext context)
   at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, IEnumerable`1 requirements)
   at Microsoft.AspNetCore.Authorization.DefaultAuthorizationService.AuthorizeAsync(ClaimsPrincipal user, Object resource, String policyName)
   at BTCPayServer.Plugins.Bringin.Components.BringinWidget.OnAfterRenderAsync(Boolean firstRender) in /build/Plugins/BTCPayServer.Plugins.Bringin/Components/BringinWidget.razor:line 93
   --- End of inner exception stack trace ---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions