Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest alpha release is not loading the front-end #302

Closed
ChristopherJennings opened this issue Aug 6, 2019 · 0 comments
Closed

Latest alpha release is not loading the front-end #302

ChristopherJennings opened this issue Aug 6, 2019 · 0 comments
Labels
bug Something isn't working spike Needs further definition or research before moving forward

Comments

@ChristopherJennings
Copy link
Contributor

Brief bug description

The front-end is not loading properly in the latest alpha release

Repro steps

  1. Download the latest alpha release
  2. Run KenticoInspector.WebApplication.exe
  3. Load the URL in a brower
  4. Observe that the error in the console window:
Hosting environment: Production
Content root path: C:\Tools\Kentico.Inspector.4.0.0-alpha.3
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HLOQ9SDTNFRE", Request id "0HLOQ9SDTNFRE:00000001": An unhandled exception was thrown by the application.
System.InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request.
Your application is running in Production mode, so make sure it has been published, or that you have built your SPA manually. Alternatively you may wish to switch to the Development environment.

   at Microsoft.AspNetCore.SpaServices.SpaDefaultPageMiddleware.<>c__DisplayClass0_0.<Attach>b__1(HttpContext context, Func`1 next)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

Expected behavior

Kentico Inspector loads properly

Test environment

  • Platform/OS: Windows 10
  • Browser Chrome
  • Version 4.0.0-alpha.3

Additional context

Initially report in #301

@ChristopherJennings ChristopherJennings added bug Something isn't working spike Needs further definition or research before moving forward labels Aug 6, 2019
@ChristopherJennings ChristopherJennings added this to To Prioritize in Prioritization via automation Aug 6, 2019
@ChristopherJennings ChristopherJennings added this to To do in Kentico Inspector V4 via automation Aug 6, 2019
@ChristopherJennings ChristopherJennings added this to the 4.0 milestone Aug 6, 2019
Kentico Inspector V4 automation moved this from To do to Done Aug 6, 2019
@ChristopherJennings ChristopherJennings moved this from To Prioritize to High in Prioritization Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working spike Needs further definition or research before moving forward
Development

No branches or pull requests

1 participant