Skip to content
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

Question: proxy? #16

Closed
jdeyla opened this issue Sep 1, 2011 · 19 comments
Closed

Question: proxy? #16

jdeyla opened this issue Sep 1, 2011 · 19 comments

Comments

@jdeyla
Copy link

jdeyla commented Sep 1, 2011

Hi is there a way to install on sublime text 2,
behind my company proxy that require my authentication?

(searched in your documentation but did not find the right command to use)
thank you

@wbond
Copy link
Owner

wbond commented Sep 1, 2011

There is no proxy functionality right at the moment, but I noticed someone forked the repository last night and made a commit that mentioned proxies. I'll check it out later tonight to see what state it is in.

@wbond
Copy link
Owner

wbond commented Sep 5, 2011

Version 1.2.0 (5b02620) now supports proxies via the http_proxy and https_proxy settings.

@wbond wbond closed this as completed Sep 5, 2011
@jdeyla
Copy link
Author

jdeyla commented Sep 5, 2011

great! incredible! _I'll test it immediately...

@tooshay
Copy link

tooshay commented Oct 27, 2011

Can you help me out with this? How would I set this up? I have the same problem.

@wbond
Copy link
Owner

wbond commented Oct 27, 2011

Please go to the Preferences > Package Settings > Package Control > Settings – Default and copy the proxy settings into Settings – User file and customize them to your needs.

@tooshay
Copy link

tooshay commented Oct 27, 2011

I don't have "Package Settings" under Preferences. Is this because
installing Package Control failed for me, too?

On Thu, Oct 27, 2011 at 4:42 PM, Will Bond <
reply@reply.github.com>wrote:

Please go to the Preferences > Package Settings > Package Control >
Settings Default and copy the proxy settings into Settings User file
and customize them to your needs.

Reply to this email directly or view it on GitHub:

#16 (comment)

@wbond
Copy link
Owner

wbond commented Oct 27, 2011

Yes, that makes sense. You can install Package Control manually by downloading http://sublime.wbond.net/Package%20Control.sublime-package and placing it in your "Installed Packages" directory. This can be found by going to Preferences > Browse Packages… and then browsing up one folder.

Once you've placed the file in "Installed Packages" be sure to restart ST2. Once Package Control is installed, you can customize the proxy settings.

@tooshay
Copy link

tooshay commented Oct 27, 2011

It works!!

Thank you so much. That was completely awesome.

On Thu, Oct 27, 2011 at 4:48 PM, Will Bond <
reply@reply.github.com>wrote:

Yes, that makes sense. You can install Package Control manually by
downloading http://sublime.wbond.net/Package%20Control.sublime-package and
placing it in your "Installed Packages" directory. This can be found by
going to Preferences > Browse Packages and then browsing up one folder.

Once you've placed the file in "Installed Packages" be sure to restart ST2.
Once Package Control is installed, you can customize the proxy settings.

Reply to this email directly or view it on GitHub:

#16 (comment)

@ghost
Copy link

ghost commented Dec 2, 2011

hi sir, how to set the proxy settings if the proxy requires authentication.. the settings only asked for proxy server.. thanks..

@khuevu
Copy link

khuevu commented Dec 17, 2011

Can you try: http_proxy=http://username:password@proxy-server:port

@ghost
Copy link

ghost commented Dec 17, 2011

thanks.. i will try this settings.. ^^

On Sat, Dec 17, 2011 at 11:32 AM, khuevu <
reply@reply.github.com

wrote:

Can you try: http_proxy=http://username:password@proxy-server:port


Reply to this email directly or view it on GitHub:

#16 (comment)

@ghost
Copy link

ghost commented Dec 19, 2011

it works.. thank you very much..

@lefevrep
Copy link

I tried this. It does not work for me. May-be because our proxy is a NTLM one ?

in the file Package Control.sublime-setting for user, I have

{
"auto_upgrade_last_run": 1336635727 ,
"http_proxy": "myuser:mypassword@myproxyFQN:80"
}

when trying to install a packahge, I receve message "Package Control: There are no packages available for installation"

@lefevrep
Copy link

In the console windows, I get this:

Package Control: Error downloading channel. URL error _ssl.c:480: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol downloading https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation.

@ghost
Copy link

ghost commented May 10, 2012

hi lefevrep, try adding the protocol on http_proxy ie "http://myuser:mypassword@myproxyFQN:80"
also try to add a proxy settings for secured http: "https_proxy" : "https://myuser:mypassword@myproxyFQN:80"

@lefevrep
Copy link

Same error .. :-/

NB: I receive this error immediately, so it seems that package control does not even try to connect.

@khuevu
Copy link

khuevu commented May 11, 2012

Hi, if you are behind a NTLM proxy, you need to setup up a ntlm authorization proxy and direct your request through that proxy. U can search for ntlmaps or cntlmaps. Set up the proxy with ur authentication info, and set the http_proxy to that proxy instead.

@mannyishere
Copy link

Am using cntlm successfully for other programs. Doesn't work for package control.

@schlamar
Copy link
Contributor

schlamar commented Jul 6, 2012

@mannyishere Don't comment in multiple threads because of the same issue, please continue discussion in #151

@wpsmith wpsmith mentioned this issue Oct 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants