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

There are no packages available for installation. #94

Closed
andreieftimie opened this issue Mar 5, 2012 · 41 comments
Closed

There are no packages available for installation. #94

andreieftimie opened this issue Mar 5, 2012 · 41 comments

Comments

@andreieftimie
Copy link

When trying to install Packages i get the following error.

The log from the command line:


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.

I have very recently updated Sublime Text 2 to the latest build 2181

@wbond
Copy link
Owner

wbond commented Mar 5, 2012

Are you running through a proxy?

The latest version of Package Control runs everything through SSL and verifies SSL certificates to prevent man in the middle attacks. From googling around, it appears that error can be caused by a proxy that does not property handle HTTPS urls.

@Simcat
Copy link

Simcat commented Mar 6, 2012

I also have the 'Package Control: There are no packages available for installation' issue.
No proxy at all here. I have also turned off my modem firewall.

I'm new to Sublime and Package Control. I'm hanging out to use Zen Coding and just have to move past this issue.
Any help trouble shooting greatly appreciated :)

(Sublime beta build 2126 ~ OSX 10.6 Airport - Provider, Sonic Internet)

@andreieftimie
Copy link
Author

Thanks Will.
I was using a proxy (http://www.charlesproxy.com/). All working perfect now.

@wbond
Copy link
Owner

wbond commented Mar 6, 2012

@Simcat it sounds like you have a separate issue. Please open a new issue. Also, check your console (ctrl+`) for Package Control error messages.

@dustinmartin
Copy link

FYI, I just started getting this same error. Here is the error from the console. Worked great an hour ago then restarted ST and it seems to be failing now.

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.

@wbond
Copy link
Owner

wbond commented Mar 6, 2012

@dustinmartin The new version of Package Control uses HTTPS for security. Are you using a proxy? From Google I think that error message is a proxy error.

@dustinmartin
Copy link

Yes, I'm using a proxy. The company I work for has one and there is no option to not use it. Is there a way to disable HTTPS in Package Control? I realize there are security issues there but if there is no other resolution...

BTW, when did Package Control get updated to start using HTTPS?

@wbond
Copy link
Owner

wbond commented Mar 6, 2012

Yeah, but that will only help downloading the channel file and any of my packages. All of the packages on GitHub and BitBucket require SSL, which is probably about 250 of the 257 packages.

To do this you need to set the repository channels in your Settings - User file to:

"repository_channels": [
    "http://sublime.wbond.net/repositories.json"
]

I have have an idea about how to fix this, but I won't be able to test it or release a beta version until later tonight or tomorrow.

@avataru
Copy link

avataru commented Mar 7, 2012

I have the exact same problem, with exactly the same error message. Unfortunately I cannot disable the proxy since it's required for internet traffic. I've talked to the network administrator and he said there's nothing he can do about it.

While I understand it's not a Package Control bug it turns it useless so I'd like to ask you to add a setting so it works like the old version of Package Control. It worked perfectly yesterday until Package Control updated: I wanted to install 3 new packages, I installed the first two then I used the update all action and after that I wasn't able to install or update anything.

Edit:
When adding the repository like in your comment above I noticed that the other repositories I manually added were https and they worked fine until now:

"repositories":
[
    "https://github.com/filmgirl/TextMate-Themes",
    "https://github.com/buymeasoda/soda-theme"
]

@4ll4n
Copy link

4ll4n commented Mar 8, 2012

Same problem here. Work proxy with expired security certificate.

Package Control: Error downloading channel. URL error [Errno 8] _ssl.c:480: EOF occurred in violation of protocol downloading https://sublime.wbond.net/repositories.json.

@avataru
Copy link

avataru commented Mar 8, 2012

This might help: http://stackoverflow.com/questions/3777075/https-github-access

However the issue might be related to the new SSH certificate policy enforced on GitHub due to the exploit that was discovered a few days ago.

@dustinmartin
Copy link

@wbond Have you been able to look into this any further? Thanks.

@Simcat
Copy link

Simcat commented Mar 9, 2012

I am torwlly stuck at this point.
On Mar 9, 2012 6:28 AM, "Dustin Martin" <
reply@reply.github.com>
wrote:

@wbond Have you been able to look into this any further? Thanks.


Reply to this email directly or view it on GitHub:

#94 (comment)

@wbond
Copy link
Owner

wbond commented Mar 9, 2012

I have looked into it, but between my day job and family over the past few days I have not had the time to implement a solution or test it.

If someone else wants to take a whack at it, I think we should try changing the ssl protocol being used. If you edit lines 68-71 of Package Control.py to be the following, this may help:

            self.sock = ssl.wrap_socket(sock, keyfile=self.key_file,
                                              certfile=self.cert_file,
                                              cert_reqs=self.cert_reqs,
                                              ca_certs=self.ca_certs,
                                              ssl_version=ssl.PROTOCOL_TLSv1)

@Simcat
Copy link

Simcat commented Mar 9, 2012

Thanks Will for your efforts. I will hang five.

On Fri, Mar 9, 2012 at 9:07 AM, Will Bond <
reply@reply.github.com

wrote:

I have looked into it, but between my day job and family over the past few
days I have not had the time to implement a solution or test it.

If someone else wants to take a whack at it, I think we should try
changing the ssl protocol being used. If you edit lines 68-71 of Package
Control.py to be the following, this may help:

           self.sock = ssl.wrap_socket(sock, keyfile=self.key_file,
                                             certfile=self.cert_file,
                                             cert_reqs=self.cert_reqs,
                                             ca_certs=self.ca_certs,

 ssl_version=ssl.PROTOCOL_TLSv1)

Reply to this email directly or view it on GitHub:

#94 (comment)

simjacat

@avataru
Copy link

avataru commented Mar 12, 2012

I've made the SSL protocol change but I still get an error. However, it is different than before:

Package Control: Error downloading channel. URL error _ssl.c:480: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number downloading https://sublime.wbond.net/repositories.json.
Package Control: No CA certs available for api.github.com.
Package Control: No CA certs available for api.github.com.
error: Package Control: There are no packages available for installation.

@ChristoRibeiro
Copy link

@avataru I have the same error, have you found a solution? ?

@Simcat
Copy link

Simcat commented May 16, 2012

Some apps my be thwarting your efforts such as Little Snitch or Peer Guardian. I think Firewalls have been mentioned early on. Good luck.

@jjanisch
Copy link

I have the same issue. I'm having to use NP++ while I can't download packages (and subsequently SFTP).

@ChristoRibeiro
Copy link

it works for me if I change these lines https://github.com/ms4py/sublime_package_control/commit/d9c19a9e167a936a614f80c50d16d67808ce0f08

with :
Sublime Text 2 64 bit portable version
Windows 7 64 bit

@jjanisch
Copy link

Bit of a problem, I only have a Microsoft folder within "C:\Users%username%\AppData\Roaming" and just Sublime_Plugin.py / PackageSetup.py (related) in Program Files. Any ideas?

@schlamar
Copy link
Contributor

@schlamar
Copy link
Contributor

@jjanisch Go to Preferences -> Browse Packages to find you package dir.

@schlamar
Copy link
Contributor

Possible duplicate of #93

@maurice
Copy link

maurice commented May 31, 2012

I was also getting no joy behind my work proxy:

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.

but applying ms4py's patch #113 solves the issue - I can now list and install packages :-)

@artlung
Copy link

artlung commented Jul 23, 2012

I had the same issue on Windows:

Package Control: Error downloading channel. URL error [Errno 8] _ssl.c:480: EOF occurred in violation of protocol downloading https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation.

The actual cause of the error was running Fiddler2 (a web debugging proxy). I wonder if adding to the error message suggesting possible proxy or connection errors might be helpful.

@hgrubst
Copy link

hgrubst commented Aug 21, 2012

I was having the same issue as Maurice described. Also behind an enterprise proxy.
I had to specify "https_proxy": "http://username:password@proxyhost:proxyport" in package control user prefs and apply the patch on the "Package Control.py" file pointed out by ms4py.
All works now :)

@tiago-g-henriques
Copy link

I was having the same problem, but similarly to @artlung it turns out the culprit was Charles, a web debugging proxy for Mac. Quitting the app solved all my Package Control problems.

@jeremysolarz
Copy link

Btw since ms4py has changed his username the url for the commit changed. The correct url is https://github.com/schlamar/sublime_package_control/commit/d9c19a9e167a936a614f80c50d16d67808ce0f08

@SEKCobra
Copy link

SEKCobra commented Nov 6, 2012

Hey, after toying around with the test build I am now stuck on this error:
URL error Tunnel connection failed: 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )

No matter what I do, it doesn't seem to recognize any of the Windows Domain users that have authorization.

@wbond
Copy link
Owner

wbond commented Nov 6, 2012

I have that bug worked out in the latest code here on github, but I need about another day to work on some variations of proxy auth for HTTPS proxies. Hopefully we are looking at a new version in a few days that should sole most of the proxy issues.

@SEKCobra
Copy link

SEKCobra commented Nov 6, 2012

Awesome, can't wait to use PC at work as well :)

@brijs
Copy link

brijs commented Mar 28, 2013

@wbond, any update on your fix? I dont think it's been rolled out yet?

@wbond
Copy link
Owner

wbond commented Mar 29, 2013

@brijs Yes, all patches have been rolled out into the stable version of PC. If you are having trouble with PC, please generate a debug log and post a new issue.

@SEKCobra
Copy link

I can confirm that it has been working for months now, very well in fact.

@ghost
Copy link

ghost commented Aug 17, 2014

just run sublime as administrator

@gotofritz
Copy link

It has started again, OS X, as soon as I have installed build 3080. I don't have Charles or anything of the sort running, and no proxy at work. Error:

There are no packages available for installation
Package Control: Error downloading channel. URL error [Errno 8] nodename nor servname provided, or not known downloading https://packagecontrol.io/channel_v3.json.
error: Package Control

@learningjs
Copy link

Getting this error today (first time ever, nothing has changed in my net, no proxy, before everything worked well ): https://packagecontrol.io/channel_v3.json is unreachable (no ping etc).

@jtnegrotto
Copy link

@learningjs I'm suddenly getting it today as well. I can load channel_v3.json, but there's nothing to see there:

{
schema_version: "3.0.0",
packages_cache: { },
repositories: [ ],
dependencies_cache: { }
}

@dsmith1717
Copy link

I had the same issue, the json was empty but I checked again after a couple of minutes and this time it contained all the data. Try again, it might work.

@wbond
Copy link
Owner

wbond commented Jan 3, 2016

Please see #1057 for information about the outage

This issue was closed.
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