Unable to access Orleans dashboard

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [x] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

When accessing the Orleans dashboard via the Administration UI there is a 500 internal error showing in the console. The user has squidex.admin.* permissions.

I believe the code is failing somewhere around here

I wouldn’t expect it to fall into the else statement as we are authenticated but it appears it is.

Logs found here

"web":{"requestId":"00-326587660eccdedf25b0d5f059b9dbd3-a75fe0672d804ffe-01","requestPath":"/orleans","requestMetho
d":"GET"},"category":"Microsoft.AspNetCore.Server.Kestrel","exception":{"type":"System.InvalidOperationException","message":"IDX20803: Unable to obtain configuration from: \u0027Sy
stem.String\u0027.","stackTrace":"   at Microsoft.IdentityModel.Protocols.ConfigurationManager\u00601.GetConfigurationAsync(CancellationToken cancel)\r\n   at Microsoft.AspNetCore.
Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsyncInternal(AuthenticationProperties properties)\r\n   at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenI
dConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)\r\n   at Microsoft.AspNetCore.Authentication.AuthenticationHandler\u00601.ChallengeAsync(AuthenticationPro
perties properties)\r\n   at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties)\r\n
 at Squidex.Areas.OrleansDashboard.Middlewares.OrleansDashboardAuthenticationMiddleware.InvokeAsync(HttpContext context) in C:\\src\\src\\Squidex\\Areas\\OrleansDashboard\\Middlewa
res\\OrleansDashboardAuthenticationMiddleware.cs:line 44\r\n   at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.InvokeCore(HttpContext context, String matchedPath, String r
emainingPath)\r\n   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.
Invoke(HttpContext context)\r\n   at NSwag.AspNetCore.Middlewares.OpenApiDocumentMiddleware.Invoke(HttpContext context)\r\n   at Squidex.Web.Pipeline.LocalCacheMiddleware.InvokeAsy
nc(HttpContext context, ILocalCache localCache) in C:\\src\\src\\Squidex.Web\\Pipeline\\LocalCacheMiddleware.cs:line 28\r\n   at Microsoft.AspNetCore.Localization.RequestLocalizati
onMiddleware.Invoke(HttpContext context)\r\n   at Squidex.Web.Pipeline.RequestLogPerformanceMiddleware.InvokeAsync(HttpContext context, ISemanticLog log) in C:\\src\\src\\Squidex.W
eb\\Pipeline\\RequestLogPerformanceMiddleware.cs:line 54\r\n   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication\u00
601 application)"}}

Orleans Configuration:

  "orleans": {
    "clustering": "Development",
    "kubernetes": false,
    "siloPort": "11111",
    "gatewayPort": "40000",
    "ipAddress": "<redacted>",
    "useAzureNetwork": false
  }

Expected behavior

To see the Orleans clustering dashboard.

Minimal reproduction of the problem

Environment

App Name:

  • [x] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: Latest commit on master a7f0ec65317541cbf7559d771003414cb00a5200

Browser:

  • [x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

I think this problem is already fixed. You can try the latest dev build.

1 Like

Thanks Sebastian. I can confirm after building from the latest it has resolved our issue.

1 Like