-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C# Debug and IntelliSense not working on a Linux environment - Stuck on Downloading package 'Razor Language Server Telemetry' #6547
Comments
@davidwengier mind taking a first look here? |
@coderade Thanks for reporting the issue. Sorry to ask the obvious question, but is there network activity happening while it's supposedly downloading? Do you get issues if you manually try to download the package? The url should be: https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/b4f2fb72ed2acda7263fc597fbd20882/devkittelemetry-linux-x64-7.0.0-preview.23475.5.zip |
hi @davidwengier, thanks for the reply. I am able to download the package manually. Maybe I am having a issue with the proxy or other things in the VsCode settings. Do you know how I can reference this package manually? I will check the network settings on the vscode too. Thanks, |
I'm only here to confirm this issue, switching the "C#" extension to version 2.0.320 allows for continued operation. |
@thompson937 are you also on linux? or a different OS? @coderade a workaround would be to install it manually I guess. If you can find the VS Code extensions folder, under your user path somewhere, there should be a |
@davidwengier Yes, I am using Fedora 38. |
@thompson937 and you can download the zip file I linked above manually? No proxy settings in VS Code? I set up a quick test on my machine (in WSL) and everything worked first time, so sadly its nothing obvious like us forgetting that slashes go two ways. I also went through the git history of the download code, and it hasn't meaningfully changed in almost 2 years, and is basically the same as when it was in O#. I don't have a lot of experience with linux in geneal (read: basically none) so I'm asking around internally, but if there is any extra info either of you can provide that would be helpful, I'm all ears. Do you have network monitors tools installed that could indicate if the download even starts, for example? |
@davidwengier thanks for the workaround, looks like after some changes on the vscode network/proxy settings, I am able to download the failing package again, and everything is working properly. Unfortunately, I am not being to reproduce the error again to check what I actually changed to make this works, and as I am working in a client managed network, maybe they changed something on their proxy side also. The only issue I see is why we got stuck with this kind of message: thanks, |
Thanks @coderade, glad you got things working. We'll definitely look into adding better error reporting, or a timeout, or something for this. |
Also experiencing this on Windows x64. However I still see
|
@joshwright10 Do you have any proxy settings in VS Code set? Anything interesting about your network setup? Also, as far as the workaround goes, did you extract the zip file and put the contents in the directory? or just put the zip file in that directory? |
@davidwengier unfortunately I am behind a corporate proxy ibosscloud $proxy="http://cn-randomid.ibosscloud.com:80"
$env:HTTP_PROXY=$proxy
$env:HTTPS_PROXY=$proxy Relevant VS Code Settings. Proxy server is the same as in the profile. {
"http.proxy": "http://cn-randomid.ibosscloud.com:80",
"http.proxySupport": "on",
"http.proxyStrictSSL": false
} I am able to install and uninstall the Extensions from VS Code with no issue. I am also able to access the download link via Edge, so the proxy does allow access. The zip file was directly extracted into the I do notice that VS code keeps creating an empty |
@davidwengier excuse me, but can you tell me how to install the razortelemetry offline? my office computer is offline and it's win10(besides, i also need to install this on another office computer and it's linux, it's also offline) i extracted the zip into the .razortelemetry from the link https://download.visualstudio.microsoft.com/download/pr/baaea3c9-bcff-4331-9fd2-fee91ddbfccb/187a09b50228410a03d7e264181e2503/devkittelemetry-win-x64-7.0.0-preview.23475.5.zip, however, each time i open my vscode, the output still shows downloading package ' razor language server telemetry', and it seems that i cannot debug on my vscode and there is no code navigate or prompts either, do i need to make some other changes? |
@caoqun98 do the logs indicate what version its trying to download? The link I posted above is pretty old, so if there is a newer version of the package, it will probably still try to download the new one. Also, if you're completely offline you probably want to turn off telemetry in VS Code completely, in which case we'll stop trying to download anything. That change was only recently merged though, in #7092, so it won't have an effect in the version you currently have unfortunately, but soon. |
@davidwengier |
It looks like after a successful install it puts a 0 byte file on disk called |
Environment data
dotnet --info
output:VS Code version:
C# Extension version: v2.6.24
OmniSharp log
Steps to reproduce
.cs
file or try to run a .Net / C# projectAdditional context
Even if try to change the ominsharp logs level I can not see anything more than the message:
Downloading package 'Razor Language Server...
The text was updated successfully, but these errors were encountered: