Server timeout in github codespaces.
See original GitHub issueEnvironment data
dotnet --info
output:
.NET SDK (reflecting any global.json):
Version: 6.0.201
Commit: ef40e6aa06
Runtime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
RID: ubuntu.20.04-x64
Base Path: /opt/dotnet/6.0.201/sdk/6.0.201/
Host (useful for support):
Version: 6.0.3
Commit: c24d9a9c91
.NET SDKs installed:
3.1.417 [/home/codespace/.dotnet/sdk]
6.0.201 [/home/codespace/.dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.23 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.417 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.3 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.201 [/home/codespace/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.23 [/home/codespace/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.417 [/home/codespace/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.3 [/home/codespace/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.201 [/home/codespace/.dotnet/shared/Microsoft.NETCore.App]
VS Code version: 1.69.2 C# Extension version: 1.25.0
OmniSharp log
Starting OmniSharp server at 8/4/2022, 3:08:58 PM
Target: /workspaces/Zelda-Core
OmniSharp server started with .NET 6.0.201
.
Path: /home/codespace/.vscode-remote/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/.omnisharp/1.39.0-net6.0/OmniSharp.dll
PID: 8013
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
Steps to reproduce
- Open Command Pallet,
- “>omniSharp: Restart OmniSharp”
- Observe timeout
Expected behavior
Intellisense to populate with appropriate subclasses and method arguments.
Actual behavior
Auto complete list only populates with snippets and words common in the document.
Additional context
Problem arose suddenly yesterday. I am running in a standard github codespace, and have attempted many tests disabling all other extensions. I have set the timeout period up to 20 minutes, no help.
I have also rebuilt my container and reinstalled visualstudio code. I am unsure of how I can dig deeper into this issue.
Issue Analytics
- State:
- Created a year ago
- Comments:8
Top Results From Across the Web
Restricting the idle timeout period - GitHub Docs
By default, codespaces time out after 30 minutes of inactivity. When a codespace times out it is stopped and will no longer incur...
Read more >Codespaces now have a configurable idle timeout
Codespaces now have a configurable idle timeout ... By default Codespaces time out after 30 minutes of inactivity. We've heard from many users ......
Read more >Codespaces lifecycle, autosave, and timeout - YouTube
A # GitHub # Codespaces instance have default settings that can change like autosave and timeouts. Find what those are and how to...
Read more >Language Server Extension Guide - Visual Studio Code
> git clone https://github.com/microsoft/vscode-extension-samples.git > cd vscode-extension-samples/lsp-sample > npm install > npm run compile > code . The ...
Read more >Paulus Schoutsen on Twitter: "GitHub Codespaces are pure ...
Open it in your **local** VS Code. The backend runs in cloud, the UI local. Start a dev server and ports are automatically...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue; seems the problem is that OmniSharp is trying to execute \OmniSharp.dll If you go to settings Omnisharp:path and put the full path to OmniSharp.exe it works. In your example @spy653 it would be : ** /home/codespace/.vscode-remote/extensions/ms-dotnettools.csharp-1.25.0-linux-x64/.omnisharp/1.39.0-net6.0/OmniSharp.exe** So far its working for me (on Windows), no idea how its going to handle an update
I can confirm this works but I do not know if it’s intended behavior or not. At the moment it feels like a workaround.