omnisharp-sublime: OmniSharp: Error talking to localhost
Platform
- Linux
- Windows
- OSX
Type
- This is an issue
- This is a feature request
- Other
Checklist
- It hasn’t been fixed in the latest master
- I can reproduce this issue in a fresh Sublime Text install without other extensions
Versions
output of mono --version:
5.16.0.179
output of msbuild /version:
Details
This might be less of a bug and more of an issue with my setup. I was using the setup detailed here https://www.youtube.com/watch?v=z7na1MuMDRg and it was working up until about a week ago. I tried several different solutions I found for recent issues I found on the internet (reinstalling from scratch, doubling the time for connection timeout, updating Mono to latest, etc and it keeps failing). I was hoping my problem might just be something obvious I’m not seeing. Every time I launch ST I get the error:
“OmniSharp: Error talking to http://localhost:xxxxx/checkreadystatus”
Thanks in advance for your help! Hopefully it’s something simple.
How-To
How do I reproduce this issue?
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 3
- Comments: 31 (9 by maintainers)
Same Error! Same output as @kufii when execute
omnisharp.cmd. Solution: I foundmsbuild /versionoutput right not mean omnisharp server can run correctly. Just adding only the filepath ofmsbuild.exetoPATHcan arrive this. With visual studio installed, it providesvcvars64.batto set environment correctly, but temporary. So I addcall vcvars64.batto the head ofomnisharp.cmdthen it works. Remember to add the filepath ofvcvars64.batinto the PATH! Good luck!read the README, you need
msbuildFascinatingly, I have been trying to make this work in Windows 10 for hours then gave up. In my Linux laptop, it just worked out of the box.
Well to be fair, I already access to Mono and MSBuild in my Linux, so that’s most likely the reason why.
Sublime Text and Omnisharp must have access to both Mono and MSBuild. I tried using
mono --versionandmsbuild --versionin Windows Terminal (using Powershell), yet none of them worked (even if I have BOTH of them installed, most likely they still aren’t in PATH, will test again if I regained my sanity). Bonus points if you use the Terminus package for Sublime Text.I’m also getting the
OmniSharp: Error talking to localhost/checkreadystatuserror on version 2.0.0. My msbuild version:I have installed the net core sdk, and tried manually starting the server