I have installed Horizon
in Sitecore 10.1
. There were no errors in the installation but when opening the horizon URL, I am getting the following errors
2022-03-18T14:41:01.7789590+11:00 [INF] (Sitecore Authoring Host/SYDM18676L) Request finished in 2.3979ms 500
2022-03-18T14:41:08.1615328+11:00 [INF] (Sitecore Authoring Host/SYDM18676L) Request starting HTTP/1.1 GET http://sc101horizon.dev.local/composer/pages
2022-03-18T14:41:08.1617326+11:00 [INF] (Sitecore Authoring Host/SYDM18676L) "OpenIdConnect" was not authenticated. Failure message: "Not authenticated"
2022-03-18T14:41:08.1624277+11:00 [ERR] (Sitecore Authoring Host/SYDM18676L) Connection id ""0HMG8I3VTK6LP"", Request id ""0HMG8I3VTK6LP:00000004"": An unhandled exception was thrown by the application.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: '[PII is hidden]'.
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.ChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties)
at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Sitecore.Services.GraphQL.Hosting.GraphQLCacheStatsMiddleware.Invoke(HttpContext context)
at Sitecore.Horizon.API.Gateway.ConfigureSitecore.<>c__DisplayClass4_0.<<Configure>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Sitecore.Plugin.Authentication.ErrorHandling.AuthenticationExceptionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
2022-03-18T14:41:08.1636521+11:00 [INF] (Sitecore Authoring Host/SYDM18676L) Request finished in 2.1186ms 500
Anyone has got the following error and how to fix this?
Thanks in advance