close applications running on the system turns out because access takes a long time Webconfig upgrade startupTimeLimit https://docs.microsoft.com/en-us/previous-versions/iis/6.0-sdk/ms524792(v=vs.90)
This error happened to me when running my site on my local machine. Restarting my PC resolved the issue. ASP.NET Core 3.1