Orleans Dashboard Bugs

Hi Sebastian,

I downloaded master repo and tested…

I am getting error on orleans side. What could be the reason for this?

My logs…

    {
  "logLevel": "Error",
  "message": "An unexpected exception has occurred.",
  "timestamp": "2021-07-31T19:26:31Z",
  "app": {
    "name": "Squidex",
    "version": "1.0.0.0",
    "sessionId": "fa15a36e-2538-4c98-af9c-0da5a6e72422"
  },
  "web": {
    "requestId": "00-a0b989d96f98c848bf181dc4a2bdcf0d-59d374e0fc6b8146-00",
    "requestPath": "/orleans",
    "requestMethod": "GET"
  },
  "exception": {
    "type": "System.InvalidOperationException",
    "message": "IDX20803: Unable to obtain configuration from: \u0027https://localhost:5001/identity-server/.well-known/openid-configuration\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.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)\r\n   at Microsoft.AspNetCore.Authentication.AuthenticationHandler\u00601.ChallengeAsync(AuthenticationProperties 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:\\Users\\Neo\\Desktop\\squidex-master\\backend\\src\\Squidex\\Areas\\OrleansDashboard\\Middlewares\\OrleansDashboardAuthenticationMiddleware.cs:line 44\r\n   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)\r\n   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\r\n   at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)\r\n   at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)\r\n   at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)\r\n   at Squidex.Web.Pipeline.LocalCacheMiddleware.InvokeAsync(HttpContext context, ILocalCache localCache) in C:\\Users\\Neo\\Desktop\\squidex-master\\backend\\src\\Squidex.Web\\Pipeline\\LocalCacheMiddleware.cs:line 27\r\n   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)\r\n   at Squidex.Web.Pipeline.UsageMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in C:\\Users\\Neo\\Desktop\\squidex-master\\backend\\src\\Squidex.Web\\Pipeline\\UsageMiddleware.cs:line 41\r\n   at Squidex.Web.Pipeline.UsageMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in C:\\Users\\Neo\\Desktop\\squidex-master\\backend\\src\\Squidex.Web\\Pipeline\\UsageMiddleware.cs:line 85\r\n   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.\u003C\u003Ec__DisplayClass6_1.\u003C\u003CUseMiddlewareInterface\u003Eb__1\u003Ed.MoveNext()\r\n--- End of stack trace from previous location ---\r\n   at Squidex.Web.Pipeline.RequestLogPerformanceMiddleware.InvokeAsync(HttpContext context, ISemanticLog log) in C:\\Users\\Neo\\Desktop\\squidex-master\\backend\\src\\Squidex.Web\\Pipeline\\RequestLogPerformanceMiddleware.cs:line 49\r\n   at Squidex.Web.Pipeline.RequestExceptionMiddleware.InvokeAsync(HttpContext context, IActionResultExecutor\u00601 writer, ISemanticLog log) in C:\\Users\\Neo\\Desktop\\squidex-master\\backend\\src\\Squidex.Web\\Pipeline\\RequestExceptionMiddleware.cs:line 42"
  }
}

Environment

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

Version: [MASTER_BRANCH]

Browser:

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

Very likely one of the following:

  1. Orleans cannot reach localhost because of the certificate => Install the dev cert
  2. The base URL is not configured properly.