-
Notifications
You must be signed in to change notification settings - Fork 20
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
504: Gateway Timeout when trying to add .gitignore behind proxy #1
Comments
Thank you for reporting this issue. I will take a closer look at this. Resources: |
I just asked the Visual Studio Code team what would be the recommended way to support proxy from an extension other than writing everything from scratch or copy&paste code from Visual Studio Code code base. As soon as I receive feedback I will post an update here and start with the implementation. |
I too am hitting this issue |
I think the proper way would be to pull the proxy information from the configurations. If i understand the documentation correctly the workspace.getconfig command actually pulls a merged Global config with settings in workspace config overwriting the globals. Then i guess since code is available on github you might be able to extract the http request they use when it uses the proxy. I believe it's in the extensions code section. |
@ibigpapa: Thanks for your research. I came up with almost the same idea when I was looking for a solution. As the implementation is already part of Visual Studio Code, I asked them if they could expose the proxy settings through an API (see microsoft/vscode#12588). So far I have no information if the node package has been published. As I have some time this weekend, I plan to implement proxy support this weekend by copy&paste the vscode implementation and publish it as version 0.5.0. |
I just completed the proxy support implementation and tested it with a proxy set by Visual Studio Code settings. @ibigpapa @LaurentChardin I would very much appreciate if you find some time installing the alpha version at the end of this comment and verify if this versions works with your proxy setup. Thanks a lot. Alpha version: https://drive.google.com/open?id=0B6-NC49ru2VGMTdSYjZ2dV96STg |
I have tested the 0.50-alpha version and it works with my proxy settings! |
Tested on my system without a proxy and works just fine. Turned on the proxy and tested again and it still works 👍 |
Thank you @jeedev0815 and @ibigpapa for the feedback. I will release the new version within the next days. |
The 'Add gitignore' command does not seem to work when behing a proxy : it generates a
504: Gateway Timeout
error message.The following environment variables http_proxy and https_proxy are set.
And VScode is respecting them since i could download the extension.
The text was updated successfully, but these errors were encountered: