OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout'
See original GitHub issueEnvironment data
dotnet --info
output:
VS Code version:1.16.0
C# Extension version:1.12.1
Steps to reproduce
Expected behavior
Actual behavior
1: vscode set “omnisharp.projectLoadTimeout”: 600, 2: src file patch a test code: … ". current is " + timeoutDuration));//it’s a test patch,file path:CShappPath/out/src/omnisharp/server.js,
const promise = new Promise((resolve, reject) => {
let listener;
// Convert the timeout from the seconds to milliseconds, which is required by setTimeout().
const timeoutDuration = this._options.projectLoadTimeout * 1000;
// timeout logic
const handle = setTimeout(() => {
if (listener) {
listener.dispose();
}
reject(new Error("OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute). current is " + timeoutDuration));
}, timeoutDuration);
// handle started-event
listener = this.onOmnisharpStart(() => {
if (listener) {
listener.dispose();
}
clearTimeout(handle);
resolve();
});
});
3:but console log write:[ERROR] Error: OmniSharp server load timed out. Use the ‘omnisharp.projectLoadTimeout’ setting to override the default delay (one minute). current is 10000
4: what ? currrnet is 10000?? Help me please! thanks!!!
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
[ERROR] Error: OmniSharp server load timed out. #1585
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
Read more >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 >ひかえん2の日記
... 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 >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
Could you copy and paste your settings.json here? I have no idea why this would have a value of 10 since it’s default is 60: https://github.com/OmniSharp/omnisharp-vscode/blob/master/src/omnisharp/options.ts#L48 and https://github.com/OmniSharp/omnisharp-vscode/blob/master/package.json#L362.
I had the same problem with Omnisharp, Where intelligence was not working even with a Console application. I had to install .Net Framework 4, 4.5 and 4.7.2. Hope this will help in case of issue with Omnisharp.
Thanks, Shashi Bhan