-
Notifications
You must be signed in to change notification settings - Fork 70
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
IntelliCode can't download models when VSCode is connected to a remote which requires a HTTP proxy #93
Comments
@trobr, is the Ubuntu 16.04 machine you're connecting to behind a firewall and/or does it require a proxy to access the internet? If so, can you please check the value of If you are not behind a firewall/proxy, could you please try running this on the remote to see if it can reach the IntelliCode service?
Our service should respond with a JSON object similar to the following:
|
Thanks!My remote machine is behind a proxy,But whether I turn the proxy on or off, I get the same result.When I run this code in my remote machine:
I got this result:
This issue seems to be caused by the fact that the IntelliCode service can not download automatically in remote machine. |
It seems that proxy settings are forwarded from local VSCode to the remote: microsoft/vscode-remote-release#213. I was able to reproduce this by setting the You should be able to work around this by adding your proxy config to the remote settings. That will override any proxy settings that are being sent from local VSCode.
Let me know if that works for you. |
You are right! It‘s useful for me. Thanks! |
Great, I'm glad that worked for you. I updated the title to make it easier for others to find if they have the same issue. |
Documentation update for turn on/off Python deep learning experiment
it seems you use remote-ssh, in remote-wsl it seems a bit different. If proxy service is in windows, use 127.0.0.1 in remote setting will be helpless, see #165 (comment) |
Product and Version [VS/VSCode]:Version: 1.34.0-insider (user setup)
OS Version [macOS/Windows]:Windows_NT x64 10.0.17763
Remote OS Version: Ubuntu 16.04
IntelliCode Extension Version: 1.1.6
Target Platform or Language [e.g. Node.js]: Python
Steps to Reproduce / Scenario:
1.Open remote floder with Remote Development extension
2.VSIntelliCode can not download language server
the output window show this messgae:
The text was updated successfully, but these errors were encountered: