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.

Cannot download OmniSharp behind proxy/firewall

See original GitHub issue

From @TheBlueSky on July 18, 2016 4:37

Hello everyone,

I’m not sure if this is a VS Code or OmniSharp issue, so feel free to move it to the right repository if necessary.

When I open a .Net project, I get the following in Output window:

[INFO] Starting OmniSharp at 'c:\Users\xyz\Documents\My Web Sites\SomeProject'...
[INFO] Installing to C:\Users\xyz\.vscode\extensions\ms-vscode.csharp-1.2.2\.omnisharp
[INFO] Attempting to download omnisharp-1.9-beta11-win-x64-net451.zip...

And it gets stuck there. Nothing is downloaded and my project doesn’t have any kind of Intellisense (obviously).

Maybe this is relevant, and maybe not, but at work, we are behind a firewall and a proxy server (from Fortinet) that does strange stuff. One of which is using its own certificate for all HTTPS requests, which I faced an issue with when using an application that require a valid certificate signed by trusted CA, or an application that uses certificate pinning technique.

  • VSCode Version: Code 1.3.1 (e6b4afa53e9c0f54edef1673de9001e9f0f547ae, 2016-07-12T13:35:06.227Z)
  • OS Version: Windows_NT ia32 6.3.9600

Steps to Reproduce:

  1. Go behind our proxy.
  2. Open a .Net project 😃

Copied from original issue: Microsoft/vscode#9427

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:22 (10 by maintainers)

github_iconTop GitHub Comments

4reactions
fizxmikecommented, Jun 2, 2018

This worked for me (in VS Code settings file):

{
    "http.proxyStrictSSL": false,
    "http.proxy": "http://username:password@x.x.x.x:8080/"
}
3reactions
UrmaGurdcommented, May 7, 2019

This worked for me (in VS Code settings file):

{
    "http.proxyStrictSSL": false,
    "http.proxy": "http://username:password@x.x.x.x:8080/"
}

Unfortunately this doesn’t work for me. Our proxy doesn’t need username password so it’s just:

    "http.proxyStrictSSL": false,
    "http.proxy": "https://proxy._companydomain_.com:9090",

And as said above, this is the ONLY thing I can’t access or download from within Visual Studio behind our corporate firewall.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workaround for Omnisharp not downloading in VS Code issue
I have been using VSCode + C# Extension + Omnisharp for quite sometime on my MAC to learn dotnet core development.
Read more >
sitemap-questions-1.xml - Super User
... .com/questions/1678516/set-up-windows-pc-to-forward-traffic-through-vpn ... /why-wont-my-torrent-client-download-a-test-torrent-i-created 2021-09-22 ...
Read more >
Tech n Tips | Technology, Tools and Tips
For Tester role: 1. TDD will enable you to develop powerful Test Framework components utilities and exploratory testing tools. 2. Empower you for...
Read more >
how do I get the Omnisharp extension to work in Visual Studio ...
I downloaded the package, extracted filed, and tried to placed the folder where it's expected: C:\Users[myUserId].vscode\extensions\ms-vscode.
Read more >
Untitled
#download Rec sites prince george, Lafayette barren hill, Northwest book ... Omnisharp error talking to, Thermal neutron velocity, Hinh anh trai tim co...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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