An unhandled exception occurred while processing the request

An unhandled exception occurred while processing the request

I am facing this issue when running ASP.NET Core MVC with an Angular project.

TimeoutException: The Angular CLI process did not start listening for requests within the timeout period of 0 seconds. Check the log output for error information.

Microsoft.AspNetCore.SpaServices.Extensions.Util.TaskTimeoutExtensions.WithTimeout<T>(Task<T> task, TimeSpan timeoutDelay, string message)

Screenshot:


Solution:

To resolve this issue,Increase the timeout period in the configuration file of your application. For example, in the launchSettings.json file, you can set the "readyTimeout" property to a higher value, such as 60000 (60 seconds).

 "iisSettings": {
    "windowsAuthentication": false,
    "anonymousAuthentication": true,
    "readyTimeout": 60000,
    "iisExpress": {
      "applicationUrl": "http://localhost:16098",
      "sslPort": 44332
    }
InterServer Web Hosting and VPS