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 ~ no firewall. #98

Closed
Simcat opened this issue Mar 7, 2012 · 32 comments
Closed

There are no packages available for installation ~ no firewall. #98

Simcat opened this issue Mar 7, 2012 · 32 comments

Comments

@Simcat
Copy link

Simcat commented Mar 7, 2012

Opening a new issue as per recommendation:

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)

Console output below:

[ Package Control: Error downloading channel. URL error [Errno 64] Host is down downloading https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation. ]

@wbond
Copy link
Owner

wbond commented Mar 7, 2012

I was experiencing some server issues in the past 24 hours. Are you still getting the same error message?

@Simcat
Copy link
Author

Simcat commented Mar 7, 2012

Hi Will,

Yes.

Package Control: Error downloading channel. URL error [Errno 64] Host is down downloading https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation.

S

On Mar 7, 2012, at 1:57 PM, Will Bond wrote:

I was experiencing some server issues in the past 24 hours. Are you still getting the same error message?


Reply to this email directly or view it on GitHub:
#98 (comment)

@Simcat
Copy link
Author

Simcat commented Mar 7, 2012

Restarted and tried again. Same error :(

@Simcat
Copy link
Author

Simcat commented Mar 8, 2012

Same thing today. Package Control: There are no packages available for installation.

error: Package Control: There are no packages available for installation.
error: Package Control: There are no disabled packages to enable.
Package Control: Error downloading channel. URL error [Errno 64] Host is down downloading https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation.

@wbond
Copy link
Owner

wbond commented Mar 12, 2012

I am thinking the issue may be with some out-of-date software on my server - specifically Apache and OpenSSL.

Can you try the following?

Open Preferences > Package Settings > Package Control > Setting - Default and copy the "repository_channels" setting to Settings - User and change the URL from https to http. If you are able to install packages from GitHub after this, then the issue is probably with my server software.

I am planning on switching servers in the next week or two anyway, but this will be a good confirmation.

@christinechaochao
Copy link

My problem's solved after following your instruction!

@Simcat
Copy link
Author

Simcat commented Mar 12, 2012

I have the "repository_channels" settings open but am confused as to where the "settings" is that I need to copy this code to? Thanks :)

@christinechaochao
Copy link

I just copied what's in my repository_channels, which is "https://sublime.wbond.net/repositories.json"
change the url to http then added to Preferences > Package Settings > Package Control > Settings - User
there're more "repositories", just add the link to the list, don't forget to add a comma to the link before.

@Simcat
Copy link
Author

Simcat commented Mar 13, 2012

Thanks,

I have no repositories in my "sublime-settings User" ? Hmmmm

@christinechaochao
Copy link

oh then you need to add them first. ctrl + shift + p type in package control: add repository
then paste this link https://bitbucket.org/sublimator/sublime-2-zencoding
voila!

@Simcat
Copy link
Author

Simcat commented Mar 13, 2012

Thanks, done.

This is how I've added the url to user...

[
    "https://bitbucket.org/sublimator/sublime-2-zencoding"
    ,"http://sublime.wbond.net/repositories.json"
]

}

@Simcat
Copy link
Author

Simcat commented Mar 13, 2012

Same error

Package Control: There are no packages available for installation.
Package Control: Error downloading repository. URL error [Errno 64] Host is down downloading http://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation.

@Simcat
Copy link
Author

Simcat commented Mar 14, 2012

Please let me know when the servers are switched and I will try again. Thanks

@christinechaochao
Copy link

I actually got it wrong, you should copy the whole repository_channel, should look like this

{
"auto_upgrade_last_run": 1331660912,
"repositories": [
"https://bitbucket.org/sublimator/sublime-2-zencoding"
],
"repository_channels": [
"http://sublime.wbond.net/repositories.json"
]
}

@Simcat
Copy link
Author

Simcat commented Mar 14, 2012

Thanks ~ I modified but still getting error. Package Control: There are no packages available for installation :(

{
"auto_upgrade_last_run": 1331593346.0,
"repositories": [
"https://bitbucket.org/sublimator/sublime-2-zencoding"
],
"repository_channels": [
"http://sublime.wbond.net/repositories.json"
]
}

On Mar 14, 2012, at 4:04 PM, christinelalala wrote:

I actually got it wrong, you should copy the whole repository_channel, should look like this

{
"auto_upgrade_last_run": 1331660912,
"repositories": [
"https://bitbucket.org/sublimator/sublime-2-zencoding"
],
"repository_channels": [
"http://sublime.wbond.net/repositories.json"
]
}


Reply to this email directly or view it on GitHub:
#98 (comment)

@Simcat
Copy link
Author

Simcat commented Mar 14, 2012

From the console this time:

Package Control: Error downloading channel. URL error [Errno 64] Host is down downloading http://sublime.wbond.net/repositories.json.
Package Control: No CA certs available for api.bitbucket.org.
error: Package Control: There are no packages available for installation.

On Mar 14, 2012, at 4:04 PM, christinelalala wrote:

I actually got it wrong, you should copy the whole repository_channel, should look like this

{
"auto_upgrade_last_run": 1331660912,
"repositories": [
"https://bitbucket.org/sublimator/sublime-2-zencoding"
],
"repository_channels": [
"http://sublime.wbond.net/repositories.json"
]
}


Reply to this email directly or view it on GitHub:
#98 (comment)

@flyingeek
Copy link

Same for me:

  • does not work on https
  • work on http

Please note that although it "works" you still can not install packages hosted on https. Something went wrong recently and makes PackageControl unusable :-(

@flyingeek
Copy link

Disregard above, it is ok on http, somehow packagecontrol rewrote the config file (autoupdate) in beetween. So I modified the settings outside of ST2 with ST2 not running now...

@wbond
Copy link
Owner

wbond commented Mar 22, 2012

Package Control recently changed to prevent man in the middle attacks that could allow arbitrary code execution on your machine. To prevent against this, SSL certificates are now checked. From what I can tell, some users have proxies in place that don't play nice with SSL, or Python's SSL subsystem doesn't play nice with the proxies.

Unfortunately I have no way to debug those sorts of issues since I don't have the proxies to test against, but also because I can't see anything that is being done wrong.

If you can't connect to https://sublime.wbond.net but can download packages from https://github.com, then it may be that my server is running an old version of OpenSSL. I will be moving servers hopefully in the next week or so.

However, if you can't install from https://github.com, then it appears the issue is some problem between Python, SSL and a proxy.

@wbond
Copy link
Owner

wbond commented Mar 29, 2012

sublime.wbond.net has moved to a new server, can everyone check and see if they get any different results now?

@Simcat
Copy link
Author

Simcat commented Mar 29, 2012

Hi Will, thanks for the update.

I get:

Package Control: Error downloading channel. URL error [Errno 64] Host is down downloading http://sublime.wbond.net/repositories.json.
Package Control: No CA certs available for api.bitbucket.org.
error: Package Control: There are no packages available for installation.

Maybe I am doing something wrong?

On Mar 29, 2012, at 8:18 AM, Will Bond wrote:

sublime.wbond.net has moved to a new server, can everyone check and see if they get any different results now?


Reply to this email directly or view it on GitHub:
#98 (comment)

@flyingeek
Copy link

For me it works fine now...

@wbond
Copy link
Owner

wbond commented Mar 30, 2012

@Simcat From what I can tell, that means your network is severing/losing the connection to the server. Unfortunately there aren't many docs on errno 64.

@Simcat
Copy link
Author

Simcat commented Apr 12, 2012

On a totally different server now still getting same error? Mac OSX 10.6 here.

Package Control: Error downloading channel. URL error [Errno 64] Host is down downloading http://sublime.wbond.net/repositories.json.
Package Control: No CA certs available for api.bitbucket.org.
error: Package Control: There are no packages available for installation.

Time to give up perhaps?

@bleuarg
Copy link

bleuarg commented Apr 15, 2012

Hi Simcat, I had the same problem with Errno64 as you. About same config (Mac OSX 10.6 also), so it's worth asking :
Do you happen to have Little Snitch installed? And if you do is there a rule denying Sublime Text from any connection?

I couldn't remember having created it, but for me it was simply Little Snitch blocking any connection from Sublime.

@Simcat
Copy link
Author

Simcat commented Apr 19, 2012

Oh ok thanks bleuarg. I'm going to check it out now :) ....... Ok exactly the same issue as you. Thanks a lot.

@Simcat Simcat closed this as completed Apr 19, 2012
@stevejalim
Copy link

Been getting this for a while (at least last month). OSX 10.7.3

"Package Control: No CA certs available for api.github.com."

@ghost
Copy link

ghost commented Nov 16, 2012

Hello,

I want fetch, prefix or install with Package Control in my Mac, but show me the same message.

Fetch: URL error [Errno 64] Host is down contacting server

Prefixr: URL error [Errno 64] Host is down contacting API

Package Control: There are no packages available for installation.

I already look around 200 foruns sections, but don't see how to fix this problem.

Help me! How to fix it?

Thanks,

Emanuel Limeira

@wbond
Copy link
Owner

wbond commented Nov 16, 2012

@manolimeira

Please try the testing version (http://wbond.net/sublime_packages/package_control/installation#Testing_Version) and open Preferences > Package Settings > Package Control > Settings - User and set debug to true. After this is done, debug info will be shown in your ST console (ctrl+`).

You may also need to set http_proxy, https_proxy, proxy_username, proxy_password settings. If you have a firewall, check that also.

@nickleefly
Copy link

set debug to true works

@avisiedo
Copy link

avisiedo commented May 10, 2018

Same problem! I have tried from the terminal to download with curl, and I am getting this output:

$ curl -vvv -L -o channel_v3.json "https://packagecontrol.io/channel_v3.json"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 50.116.34.243...
* TCP_NODELAY set
* Immediate connect fail for 50.116.34.243: Host is down
* Closing connection 0
curl: (7) Couldn't connect to server

$ telnet 50.116.34.243 80
Trying 50.116.34.243...
telnet: connect to address 50.116.34.243: Host is down
telnet: Unable to connect to remote host

$ telnet 50.116.34.243 443
Trying 50.116.34.243...
telnet: connect to address 50.116.34.243: Host is down
telnet: Unable to connect to remote host

@avisiedo
Copy link

Fixed! Into my case a firewall was blocking the traffic. Little Snitch! I have to review the rules.

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

8 participants