question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ERROR] Error: OmniSharp server load timed out.

See original GitHub issue

Environment data

.NET Command Line Tools (2.0.0-preview1-005977)

Product Information:
 Version:            2.0.0-preview1-005977
 Commit SHA-1 hash:  414cab8a0b

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.12
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.0.0-preview1-005977/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0-preview1-002111-00
  Build    : 1ff021936263d492539399688f46fd3827169983

VS Code version: 1.13.1 (1.13.1)

C# Extension version: 1.11.0-beta4 (or 1.10.0 - tried both)

Steps to reproduce

Just start vscode in 6/21/2017 morning (maybe vscode automatically installed any updates. I’m not sure)

Expected behavior

Start omnisharp, working intellisence, “go to definiton”, etc.

Actual behavior

[ERROR] Error: OmniSharp server load timed out. Use the ‘omnisharp.projectLoadTimeout’ setting to override the default delay (one minute).

Starting OmniSharp server at 6/23/2017, 11:10:44 AM
    Target: /Users/petrtomasek/Projects/CestujnakoleNew

OmniSharp server started wth Mono
    Path: /Users/petrtomasek/.vscode/extensions/ms-vscode.csharp-1.11.0-beta4/bin/run
    PID: 5164

OmniSharp: -s /Users/petrtomasek/Projects/CestujnakoleNew --hostPID 5046 --stdio DotNet:enablePackageRestore=false --encoding utf-8 --loglevel information formattingOptions:useTabs=false formattingOptions:tabSize=4 formattingOptions:indentationSize=4
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Startup","Message":"Omnisharp server running using Stdio at location '/Users/petrtomasek/Projects/CestujnakoleNew' on host 5046."},"Seq":1,"Type":"event"}
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Initializing in /Users/petrtomasek/Projects/CestujnakoleNew
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Auto package restore: False
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Update workspace context
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Resolving projects references
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        MSBUILD_EXE_PATH environment variable set to /Users/petrtomasek/.vscode/extensions/ms-vscode.csharp-1.11.0-beta4/bin/omnisharp/msbuild/MSBuild.dll
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        MSBuildExtensionsPath environment variable set to /Users/petrtomasek/.vscode/extensions/ms-vscode.csharp-1.11.0-beta4/bin/omnisharp/msbuild
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        MSBuild will use local OmniSharp installation.
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        No solution files found in '/Users/petrtomasek/Projects/CestujnakoleNew'
[info]: OmniSharp.MSBuild.MSBuildProjectSystem
        Loading project: /Users/petrtomasek/Projects/CestujnakoleNew/CestujnakoleNew.csproj
Discovered Mono file path: /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono
Resolved symbolic link for Mono file path: /Library/Frameworks/Mono.framework/Versions/5.0.1/bin/mono-sgen32
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

The same problem with release versions of CLI (1.0.4) Can you help me, what is wrong? Thank you very much, for your time.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:25 (6 by maintainers)

github_iconTop GitHub Comments

17reactions
pixelypantscommented, Jun 25, 2017

I’ve also been getting this error and have been disabling OmniSharp > reload vscode > enable OmniSharp > reload vscode and it works again.

12reactions
DustinCampbellcommented, Jun 26, 2017

I’ll be working on improving the start up performance/experience of the OmniSharp server soon. In the meantime, you can set the ‘omnisharp.projectLoadTimeout’ setting in VS Code as the error says to do. By default, this is set to 60 and increasing it can help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MacOS OmniSharp and vscode timeout errror - Stack Overflow
0/bin/mono-sgen64 [ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay ( ...
Read more >
OmniSharp not loading : r/VisualStudioCode - Reddit
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
Read more >
Vscode omnisharp autocomplete isn't working - Unity Forum
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
Read more >
ひかえん2の日記
Starting OmniSharp server at 1/13/2020, 1:57:42 PM Target: ... [ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.
Read more >
Visual Studio Code OmniSharp Server load time out - MSDN
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found