Closed IntoLighter closed 2 years ago
@IntoLighter can you be more specific about what you mean by "Site is running on https url."?
Are you talking about the web browser still being open? The target process itself still being around? Something still listening on the port?
@gregg-miskelly Site still listening on the port.
@IntoLighter My guess is that the issue is that you have a child process of your project's process that is still running. Can you see what process has the port open? I think you can do this with sudo lsof -i :<port_number_here>
I got it. It was pwa, which cached all its data in browser, and was opening without server running.
Issue Description
I tried to restart computer, but it didn't help. How could I get rid of them?
Steps to Reproduce
ASP.NET Core
site with specified urls inlocalSettings.json
in vs code.NET Core launch
default configurationExpected Behavior
Stop all processes and sites on all urls.
Actual Behavior
Site is running on https url.
Logs
OmniSharp log
Starting OmniSharp server at 7/23/2022, 3:27:07 PM Target: /Users/a/RiderProjects/Marketplace/Marketplace.sln
OmniSharp server started with .NET 6.0.301 . Path: /Users/a/.vscode/extensions/ms-dotnettools.csharp-1.25.0-darwin-arm64/.omnisharp/1.39.0-net6.0/OmniSharp.dll PID: 5806
Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request.
Received response for /quickinfo but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /v2/getcodeactions but could not find request. Received response for /quickinfo but could not find request.
{ "Type": "request", "Seq": 805, "Command": "/close", "Arguments": { "FileName": "/Users/a/RiderProjects/Marketplace/Web/Pages/Index.cshtml__virtual.cs" } }
{ "Request_seq": 805, "Command": "/close", "Running": true, "Success": false, "Message": "\"System.ArgumentException: '' is not part of the workspace.\n at Microsoft.CodeAnalysis.Workspace.CheckDocumentIsInCurrentSolution(DocumentId documentId)\n at Microsoft.CodeAnalysis.Workspace.OnDocumentClosed(DocumentId documentId, TextLoader reloader, Boolean updateActiveContext)\n at OmniSharp.OmniSharpWorkspace.CloseDocument(DocumentId documentId) in /Users/runner/work/1/s/src/OmniSharp.Roslyn/OmniSharpWorkspace.cs:line 106\n at OmniSharp.Roslyn.CSharp.Services.Files.FileCloseService.Handle(FileCloseRequest request) in /Users/runner/work/1/s/src/OmniSharp.Roslyn.CSharp/Services/Files/FileCloseService.cs:line 25\n at OmniSharp.Endpoint.EndpointHandler
2.AggregateResponsesFromLanguageHandlers(ExportHandler
2[] handlers, TRequest request) in /Users/runner/work/1/s/src/OmniSharp.Host/Endpoint/EndpointHandler.cs:line 191\n at OmniSharp.Endpoint.EndpointHandler2.HandleRequestForLanguage(String language, TRequest request, RequestPacket packet) in /Users/runner/work/1/s/src/OmniSharp.Host/Endpoint/EndpointHandler.cs:line 234\\n at OmniSharp.Endpoint.EndpointHandler
2.Process(RequestPacket packet, LanguageModel model, JToken requestObject) in /Users/runner/work/1/s/src/OmniSharp.Host/Endpoint/EndpointHandler.cs:line 143\n at OmniSharp.Stdio.Host.HandleRequest(String json, ILogger logger) in /Users/runner/work/1/s/src/OmniSharp.Stdio/Host.cs:line 258\"", "Body": null, "Seq": 999, "Type": "response" } Received response for /v2/getcodeactions but could not find request.C# log
[WARNING]: arm64 macOS is not officially supported by the .NET debugger. You may experience unexpected issues when running in this configuration.
Environment information
VSCode version: 1.69.2 C# Extension: 1.25.0
Mono Information
OmniSharp using mono :6.12.0Dotnet Information
.NET SDK (reflecting any global.json): Version: 6.0.301 Commit: 43f9b18481 Runtime Environment: OS Name: Mac OS X OS Version: 12.4 OS Platform: Darwin RID: osx.12-arm64 Base Path: /usr/local/share/dotnet/sdk/6.0.301/ Host (useful for support): Version: 6.0.6 Commit: 7cca709db2 .NET SDKs installed: 6.0.301 [/usr/local/share/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] To install additional .NET runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |create-file-from-template|huynh-quang-phuc|0.1.1| |csharp|ms-dotnettools|1.25.0| |data-workspace-vscode|ms-mssql|0.2.2| |git-extension-pack|donjayamanne|0.1.3| |githistory|donjayamanne|0.6.19| |gitignore|codezombiech|0.8.0| |gitlens|eamodio|12.1.2| |JavaScriptSnippetsStandard|jmsv|1.8.0| |jupyter|ms-toolsai|2022.6.1201981810| |jupyter-keymap|ms-toolsai|1.0.0| |jupyter-renderers|ms-toolsai|1.0.9| |latex-workshop|James-Yu|8.27.2| |mssql|ms-mssql|1.15.0| |npm-intellisense|christian-kohler|1.4.2| |open-in-browser|techer|2.0.0| |path-intellisense|christian-kohler|2.8.1| |project-manager|alefragnani|12.6.1| |python|ms-python|2022.10.1| |ReactSnippets|xabikos|2.4.0| |search-node-modules|jasonnutter|1.3.0| |sql-bindings-vscode|ms-mssql|0.2.1| |sql-database-projects-vscode|ms-mssql|0.17.2| |vim|vscodevim|1.23.1| |vs-code-prettier-eslint|rvest|5.0.3| |vscode-docker|ms-azuretools|1.22.1| |vscode-dotnet-watch|Murugaratham|1.1.3| |vscode-eslint|dbaeumer|2.2.6| |vscode-npm-script|eg2|0.3.28| |vscode-nuget-gallery|patcx|0.0.24| |vscode-open-in-github|ziyasal|1.3.6| |vscode-pylance|ms-python|2022.7.40| |vscode-typescript-next|ms-vscode|4.8.20220722|;