System.TimeoutException: The aurelia cli server did not start listening for requests within the timeout period
- Dominant language
- C#
- Stars
- 33
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### Info:
node version = v16.13.1
### Output
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 DEBUG http://localhost:50696/ 0
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost:44357/
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 44.9508ms 200
fail: Aurelia.Tools.DotNet.Extensions[0]
[webpack-dev-server] Project is running at:
fail: Aurelia.Tools.DotNet.Extensions[0]
[webpack-dev-server] Loopback: http://localhost:8080/
fail: Aurelia.Tools.DotNet.Extensions[0]
[webpack-dev-server] On Your Network (IPv4): http://192.168.50.229:8080/
... Snip Snip ..
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
System.TimeoutException: The aurelia cli server did not start listening for requests within the timeout period of 50 seconds. Check the log output for error information.
at Microsoft.AspNetCore.SpaServices.Extensions.Util.TaskTimeoutExtensions.WithTimeout[T](Task`1 task, TimeSpan timeoutDelay, String message)
at Microsoft.AspNetCore.SpaServices.Extensions.Proxy.SpaProxy.PerformProxyRequest(HttpContext context, HttpClient httpClient, Task`1 baseUriTask, CancellationToken applicationStoppingToken, Boolean proxy404s)
at Microsoft.AspNetCore.Builder.SpaProxyingExtensions.<>c__DisplayClass2_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
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.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 50187.6852ms 500 text/html; charset=utf-8
### How to reproduce
`dotnet new aurelia`
It seems like the text "Project is running at" is being written to STDERR, but AureliaCliDevelopmentServer.StartCreateAureliaCliAppServerAsync waits for a match on STDOUT
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with `dotnet new aurelia`, then inspect `AureliaCliDevelopmentServer.StartCreateAureliaCliAppServerAsync` and the startup log handling. Check whether the webpack-dev-server message is read from STDERR or STDOUT, and confirm that the generated app starts without the 50-second timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, node.js
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100