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

Package control fails to download new packages #736

Closed
srikanth-dhondi opened this issue Aug 11, 2014 · 40 comments

Comments

@srikanth-dhondi
Copy link

commented Aug 11, 2014

When trying to download a new package, ex: Phpcs, I am getting following error:

ignored packages updated to: [Vintage, Phpcs]
found 1 files for base name Default.sublime-theme
theme loaded
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded

Package Control: Error downloading package. b'curl: (60) SSL certificate problem: certificate has expired\nMore details here: http://curl.haxx.se/docs/sslcerts.html\n\ncurl performs SSL certificate verification by default, using a "bundle"\n of Certificate Authority (CA) public keys (CA certs). If the default\n bundle file isn't adequate, you can specify an alternate file\n using the --cacert option.\nIf this HTTPS server uses a certificate signed by a CA represented in\n the bundle, the certificate verification probably failed due to a\n problem with the certificate (it might be expired, or the name might\n not match the domain name in the URL).\nIf you'd like to turn off curl's verification of the certificate, use\n the -k (or --insecure) option.' downloading https://codeload.github.com/benmatselby/sublime-phpcs/zip/master.
error: Package Control

Unable to download Phpcs. Please view the console for more details.
ignored packages updated to: [Vintage]
found 1 files for base name Default.sublime-theme
theme loaded
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Default.sublime-theme
theme loaded

@masnick

This comment has been minimized.

Copy link

commented Aug 11, 2014

I am having the same problem. The relevant error from the console is as follows:

Package Control: Error downloading package. HTTP exception InvalidCertificateException (Host codeload.github.com returned an invalid certificate ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:547)) 
) downloading https://codeload.github.com/ThomasKliszowski/json_reindent/zip/1.0.3.
@cschreib

This comment has been minimized.

Copy link

commented Aug 11, 2014

Same here. I have tried to remove the PackageControle.ca_bundle and .ca_list files to rebuild them (they were both last modified in april), but that did not change anything.

Debug log:

Package Control: Skipping automatic upgrade, last run at 2014-08-11 17:08:08, next run at 2014-08-11 18:08:08 or after
Package Control: Fetching list of available packages
  Platform: linux-x64
  Sublime Text Version: 3059
  Package Control Version: 2.0.0-alpha7
Package Control: Download Debug
  URL: https://sublime.wbond.net/repositories.json
  Resolved IP: 50.116.34.243
  Timeout: 30
Package Control: Curl Debug Proxy
  http_proxy: 
  https_proxy: 
  proxy_username: 
  proxy_password: 
Package Control: Trying to execute command /usr/bin/curl --user-agent 'Sublime Package Control v2.0.0-alpha7' --connect-timeout 30 -sSL --compressed --dump-header /tmp/tmpxg9xx9 --header 'If-Modified-Since: Mon, 11 Aug 2014 15:20:08 GMT' --cacert '/home/cschreib/.config/sublime-text-3/Packages/User/Package Control.ca-bundle' -v https://sublime.wbond.net/repositories.json
Package Control: Curl HTTP Debug General
  About to connect() to sublime.wbond.net port 443 (#0)
    Trying 50.116.34.243...
  connected
  Connected to sublime.wbond.net (50.116.34.243) port 443 (#0)
  successfully set certificate verify locations:
    CAfile: /home/cschreib/.config/sublime-text-3/Packages/User/Package Control.ca-bundle
    CApath: /etc/ssl/certs
  SSLv3, TLS handshake, Client hello (1):
  SSLv3, TLS handshake, Server hello (2):
  SSLv3, TLS handshake, CERT (11):
  SSLv3, TLS handshake, Server key exchange (12):
  SSLv3, TLS handshake, Server finished (14):
  SSLv3, TLS handshake, Client key exchange (16):
  SSLv3, TLS change cipher, Client hello (1):
  SSLv3, TLS handshake, Finished (20):
  SSLv3, TLS change cipher, Client hello (1):
  SSLv3, TLS handshake, Finished (20):
  SSL connection using ECDHE-RSA-AES256-SHA
  Server certificate:
     subject: serialNumber=ZtL8p1RCzFndzRrqxUKqA6bD5HjQv5Zb; C=US; O=sublime.wbond.net; OU=GT52951423; OU=See www.rapidssl.com/resources/cps (c)12; OU=Domain Control Validated - RapidSSL(R); CN=sublime.wbond.net
     start date: 2014-04
     expire date: 2015-02
     subjectAltName: sublime.wbond.net matched
     issuer: C=US; O
     SSL certificate verify ok.
Package Control: Curl HTTP Debug Write
  GET /repositories.json HTTP/1.1
  User-Agent: Sublime Package Control v2.0.0-alpha7
  Host: sublime.wbond.net
  Accept: */*
  Accept-Encoding: deflate, gzip
  If-Modified-Since: Mon, 11 Aug 2014 15:20:08 GMT
Package Control: Curl HTTP Debug General
  additional stuff not fine transfer.c:1037: 0 0
  HTTP 1.1 or later with persistent connection, pipelining supported
Package Control: Curl HTTP Debug Read
  HTTP/1.1 200 OK
  Server: nginx
  Date: Mon, 11 Aug 2014 15:33:11 GMT
  Content-Type: application/json
  Last-Modified: Mon, 11 Aug 2014 15:30:08 GMT
  Transfer-Encoding: chunked
  Connection: keep-alive
  Vary: Accept-Encoding
  Content-Encoding: gzip
Package Control: Curl HTTP Debug General
  Connection #0 to host sublime.wbond.net left intact
  Closing connection #0
  SSLv3, TLS alert, Client hello (1):
Package Control: Caching https://sublime.wbond.net/repositories.json in 4b866486d124fe4bf800028de1dd1b4f
Package Control: Found git at "/usr/bin/git"
Package Control: Trying to execute command /usr/bin/git fetch
Package Control: Trying to execute command /usr/bin/git log ..--ff/--commit
ignored packages updated to: [Vintage, MarkdownEditing]
found 2 files for base name Default.sublime-theme
Package Control: Fetching list of available packages
  Platform: linux-x64
  Sublime Text Version: 3059
  Package Control Version: 2.0.0-alpha7
theme loaded
Package Control: Unable to find a sublime-package file for MarkdownEditing
Package Control: Unable to find file package-metadata.json in the package MarkdownEditing
Package Control: Download Debug
  URL: https://codeload.github.com/SublimeText-Markdown/MarkdownEditing/zip/2.0.9
  Resolved IP: 192.30.252.144
  Timeout: 30
Package Control: Downloading CA cert for codeload.github.com from "https://sublime.wbond.net/certs/7d0986b90061d60c8c02aa3b1cf23850"
Package Control: Curl Debug Proxy
  http_proxy: 
  https_proxy: 
  proxy_username: 
  proxy_password: 
Package Control: Trying to execute command /usr/bin/curl --user-agent 'Sublime Package Control v2.0.0-alpha7' --connect-timeout 30 -sSL --compressed --dump-header /tmp/tmpjr4qcg --cacert '/home/cschreib/.config/sublime-text-3/Packages/User/Package Control.ca-bundle' -v https://sublime.wbond.net/certs/7d0986b90061d60c8c02aa3b1cf23850
reloading Packages/User/Preferences.sublime-settings
found 2 files for base name Default.sublime-theme
theme loaded
Package Control: Curl HTTP Debug General
  About to connect() to sublime.wbond.net port 443 (#0)
    Trying 50.116.34.243...
  connected
  Connected to sublime.wbond.net (50.116.34.243) port 443 (#0)
  successfully set certificate verify locations:
    CAfile: /home/cschreib/.config/sublime-text-3/Packages/User/Package Control.ca-bundle
    CApath: /etc/ssl/certs
  SSLv3, TLS handshake, Client hello (1):
  SSLv3, TLS handshake, Server hello (2):
  SSLv3, TLS handshake, CERT (11):
  SSLv3, TLS handshake, Server key exchange (12):
  SSLv3, TLS handshake, Server finished (14):
  SSLv3, TLS handshake, Client key exchange (16):
  SSLv3, TLS change cipher, Client hello (1):
  SSLv3, TLS handshake, Finished (20):
  SSLv3, TLS change cipher, Client hello (1):
  SSLv3, TLS handshake, Finished (20):
  SSL connection using ECDHE-RSA-AES256-SHA
  Server certificate:
     subject: serialNumber=ZtL8p1RCzFndzRrqxUKqA6bD5HjQv5Zb; C=US; O=sublime.wbond.net; OU=GT52951423; OU=See www.rapidssl.com/resources/cps (c)12; OU=Domain Control Validated - RapidSSL(R); CN=sublime.wbond.net
     start date: 2014-04
     expire date: 2015-02
     subjectAltName: sublime.wbond.net matched
     issuer: C=US; O
     SSL certificate verify ok.
Package Control: Curl HTTP Debug Write
  GET /certs/7d0986b90061d60c8c02aa3b1cf23850 HTTP/1.1
  User-Agent: Sublime Package Control v2.0.0-alpha7
  Host: sublime.wbond.net
  Accept: */*
  Accept-Encoding: deflate, gzip
Package Control: Curl HTTP Debug General
  additional stuff not fine transfer.c:1037: 0 0
  HTTP 1.1 or later with persistent connection, pipelining supported
Package Control: Curl HTTP Debug Read
  HTTP/1.1 200 OK
  Server: nginx
  Date: Mon, 11 Aug 2014 15:33:19 GMT
  Content-Type: application/octet-stream
  Content-Length: 1366
  Last-Modified: Mon, 11 Aug 2014 15:30:07 GMT
  Connection: keep-alive
  ETag: "53e8e17f-556"
  Accept-Ranges: bytes
Package Control: Curl HTTP Debug General
  Connection #0 to host sublime.wbond.net left intact
  Closing connection #0
  SSLv3, TLS alert, Client hello (1):
Package Control: Caching https://sublime.wbond.net/certs/7d0986b90061d60c8c02aa3b1cf23850 in 50d75b6ce8540b399ccbe4ca750af671
Package Control: Curl Debug Proxy
  http_proxy: 
  https_proxy: 
  proxy_username: 
  proxy_password: 
Package Control: Trying to execute command /usr/bin/curl --user-agent 'Sublime Package Control v2.0.0-alpha7' --connect-timeout 30 -sSL --compressed --dump-header /tmp/tmpc5kggg --cacert '/home/cschreib/.config/sublime-text-3/Packages/User/Package Control.ca-bundle' -v https://codeload.github.com/SublimeText-Markdown/MarkdownEditing/zip/2.0.9
Package Control: Curl HTTP Debug General
  About to connect() to codeload.github.com port 443 (#0)
    Trying 192.30.252.144...
  connected
  Connected to codeload.github.com (192.30.252.144) port 443 (#0)
  successfully set certificate verify locations:
    CAfile: /home/cschreib/.config/sublime-text-3/Packages/User/Package Control.ca-bundle
    CApath: /etc/ssl/certs
  SSLv3, TLS handshake, Client hello (1):
  SSLv3, TLS handshake, Server hello (2):
  SSLv3, TLS handshake, CERT (11):
  SSLv3, TLS alert, Server hello (2):
  SSL certificate problem: certificate has expired
  Closing connection #0
Package Control: Error downloading package. } [data not shown]} [data not shown]curl: (60) SSL certificate problem: certificate has expiredMore details here: http://curl.haxx.se/docs/sslcerts.htmlcurl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option.If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL).If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. downloading https://codeload.github.com/SublimeText-Markdown/MarkdownEditing/zip/2.0.9.
error: Package Control

Unable to download MarkdownEditing. Please view the console for more details.
ignored packages updated to: [Vintage]
@zoechi

This comment has been minimized.

Copy link

commented Aug 12, 2014

+1
Any idea, workaround, ...?

@zoechi

This comment has been minimized.

Copy link

commented Aug 12, 2014

I deleted the ~/.config/sublime-text-3/Packages/Package Control folder and the
~/.config/sublime-text-3/Installed Packages/Package Control.sublime-package file and reinstalled the package manager. Now it's working again.

@cschreib

This comment has been minimized.

Copy link

commented Aug 13, 2014

Doing so, don't you loose the packages that were installed using Package Control? Or are they still there, but Package Control does not "own" them any more (i.e. no automatic update)?

@FichteFoll

This comment has been minimized.

Copy link
Contributor

commented Aug 13, 2014

No, Packages are not removed when removing Package Control and PC also does not lose track of them. They are referenced in User/Package Control.sublime-settings.

@cschreib

This comment has been minimized.

Copy link

commented Aug 13, 2014

I confirm this solution does work.

@srikanth-dhondi

This comment has been minimized.

Copy link
Author

commented Aug 13, 2014

Zoechi's solution worked for me as well. Thanks.

@wbond

This comment has been minimized.

Copy link
Owner

commented Aug 14, 2014

@cschreib You were running an ancient alpha version of Package Control, which is probably part of the issue.

If anyone else is running into this issue, please see what version of Package Control you are using. It should be 2.0.0 or 2.0.1-beta2.

If you see 2.0.0-alpha7 you need to delete the Packages/Package Control/ folder on your machine and install Package Control fresh. There was a bug during the alpha that got some users stuck on alpha 7.

@tnguyen14

This comment has been minimized.

Copy link

commented Aug 27, 2014

recently ran into this issue through a rather convoluted path. my theme is outdated, and I could not update it no matter what I was trying to do. I removed the theme, and could not re-install it and after looking at the console I saw the same error as @masnick. Following @wbond's instruction helped solve the issue.

@masnick

This comment has been minimized.

Copy link

commented Aug 28, 2014

@wbond how do you tell what version of Package Control you're running? Thanks for your help! ❤️

@FichteFoll

This comment has been minimized.

Copy link
Contributor

commented Aug 28, 2014

Package Control: List Packages, then filter Package Control.

@srph

This comment has been minimized.

Copy link

commented Sep 1, 2014

It solved my problem, however after an installation of a new package, I had to repeat the @zoechi's workaround

@michaelbutler

This comment has been minimized.

Copy link

commented Sep 2, 2014

I'm running Ubuntu 14.04 LTS, almost fresh install of Sublime Text 3. Even doing workaround by @zoechi did not fix the problem for me.

To solve it, I installed curl with sudo apt-get install curl. Before that, it was using wget which did not work.

With curl it seems to work fine.

@wbond

This comment has been minimized.

Copy link
Owner

commented Sep 2, 2014

@michaelbutler I would need a full debug log to determine what is going on. You can do so by follow the second set of instructions on https://sublime.wbond.net/docs/issues.

@jampow

This comment has been minimized.

Copy link

commented Sep 3, 2014

I'm having the same problem and I didn't try the @zoechi solution yet, here is my error log like you asked @wbond.

I'm using Linux Mint with curl and I updated yesterday to the build 3065

ignored packages updated to: [Vintage, Random Everything]
found 1 files for base name Phoenix Dark.sublime-theme
Package Control: Fetching list of available packages
  Platform: linux-x64
  Sublime Text Version: 3065
  Package Control Version: 2.0.0-alpha7
theme loaded
Package Control: Unable to find a sublime-package file for Random Everything
Package Control: Unable to find file package-metadata.json in the package Random Everything
Package Control: Download Debug
  URL: https://codeload.github.com/kimpettersen/random-sublime-text-plugin/zip/master
  Resolved IP: 192.30.252.146
  Timeout: 30
Package Control: Curl Debug Proxy
  http_proxy: 
  https_proxy: 
  proxy_username: 
  proxy_password: 
Package Control: Trying to execute command /usr/bin/curl --user-agent 'Sublime Package Control v2.0.0-alpha7' --connect-timeout 30 -sSL --compressed --dump-header /tmp/tmp2qlnj9 --cacert '/home/gsoares/.config/sublime-text-3/Packages/User/Package Control.ca-bundle' -v https://codeload.github.com/kimpettersen/random-sublime-text-plugin/zip/master
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Phoenix Dark.sublime-theme
theme loaded
Package Control: Curl HTTP Debug General
  About to connect() to codeload.github.com port 443 (#0)
    Trying 192.30.252.146...
  Connected to codeload.github.com (192.30.252.146) port 443 (#0)
  successfully set certificate verify locations:
    CAfile: /home/gsoares/.config/sublime-text-3/Packages/User/Package Control.ca-bundle
    CApath: /etc/ssl/certs
  SSLv3, TLS handshake, Client hello (1):
  SSLv3, TLS handshake, Server hello (2):
  SSLv3, TLS handshake, CERT (11):
  SSLv3, TLS alert, Server hello (2):
  SSL certificate problem: certificate has expired
  Closing connection 0
Package Control: Error downloading package. } [data not shown]} [data not shown]curl: (60) SSL certificate problem: certificate has expiredMore details here: http://curl.haxx.se/docs/sslcerts.htmlcurl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option.If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL).If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. downloading https://codeload.github.com/kimpettersen/random-sublime-text-plugin/zip/master.
ignored packages updated to: [Vintage]
found 1 files for base name Phoenix Dark.sublime-theme
theme loaded
reloading Packages/User/Preferences.sublime-settings
found 1 files for base name Phoenix Dark.sublime-theme
theme loaded
@wbond

This comment has been minimized.

Copy link
Owner

commented Sep 3, 2014

@jampow From looking at their site, it definitely does not seem like the codeload.github.com certificate has expired. I wonder if you have an out-of-date intermediate certificate, similar to what this article is discussing: http://www.infoq.com/news/2014/07/digicert-expired-keychain-mac.

Perhaps check and see if Linux Mint has an updated SSL CA cert package?

@bsod90

This comment has been minimized.

Copy link

commented Sep 8, 2014

Just confirming the same issue on Mac OS Mavericks

@wbond

This comment has been minimized.

Copy link
Owner

commented Sep 8, 2014

@bsod90 I'll need a debug log from you - all of the debug logs I have seen are from Curl, and by default OS X should not be using curl for downloads.

@bsod90

This comment has been minimized.

Copy link

commented Sep 8, 2014

@wbond Uhh, sorry... I just fixed it by reinstalling package control, so it's not happening anymore...
but I promise, I'll paste the log here if it will happen once again :)

@srph

This comment has been minimized.

Copy link

commented Sep 8, 2014

I seem to experience this problem after installing a package. After around few minutes, I am able to download and install packages again. I might try to upgrade my ST first, then post more information about my OS and ST, and issue when I encounter it once more.

@sagar-ranglani

This comment has been minimized.

Copy link

commented Sep 30, 2014

@zoechi 's solution works! Thanx! 👍

@blueacker

This comment has been minimized.

Copy link

commented Sep 30, 2014

在 2014年9月30日,下午4:58,Sagar Ranglani notifications@github.com 写道:

@zoechi 's solution works! Thanx!


Reply to this email directly or view it on GitHub.

@davidhq

This comment has been minimized.

Copy link

commented Oct 14, 2014

cd ~/Library/Application Support/Sublime Text 3/Packages/Package Control
git pull

@wbond

This comment has been minimized.

Copy link
Owner

commented Oct 31, 2014

From what I can tell this issue only affect old, out-dated versions of Package Control. If you have this problem, please update to at least 2.0.0.

@wbond wbond closed this Oct 31, 2014
@wang3g

This comment has been minimized.

Copy link

commented Nov 5, 2014

Hi wbond,

I've tried your suggestion, but no luck. Below is my log:

startup, version: 2221 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 2/sublime_text.exe
working dir: /C/Windows/system32
packages path: /C/Users/Wenzhong/AppData/Roaming/Sublime Text 2/Packages
settings path: /C/Users/Wenzhong/AppData/Roaming/Sublime Text 2/Settings
source packages: 49 installed packages: 48, running PackageSetup
Py_GetProgramName(): sublime_text.exe
Py_GetExecPrefix(): C:\Program Files\Sublime Text 2
Py_GetProgramFullPath(): C:\Program Files\Sublime Text 2\sublime_text.exe
Py_GetPath(): C:\Program Files\Sublime Text 2\python26.zip;C:\Program Files\Sublime Text 2\DLLs;C:\Program Files\Sublime Text 2\lib;C:\Program Files\Sublime Text 2\lib\plat-win;C:\Program Files\Sublime Text 2\lib\lib-tk;C:\Program Files\Sublime Text 2
Py_GetPythonHome(): C:\Program Files\Sublime Text 2
PackageSetup returned: -1
catalogue loaded
found 9 files for base name Default.sublime-keymap
found 1 files for base name Default.sublime-mousemap
found 7 files for base name Main.sublime-menu
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\AngularJS\AngularJS-sublime-package.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\AngularJS\jscompletions.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\AngularJS\message.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\AngularJS\sublime_commands.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\AngularJS\viewlocation.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Better Completion\main.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\CSS\css_completions.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\comment.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\copy_path.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\delete_word.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\detect_indentation.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\duplicate_line.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\echo.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\exec.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\fold.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\font.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\goto_line.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\indentation.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\kill_ring.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\mark.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\new_templates.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\open_file_settings.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\open_in_browser.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\paragraph.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\save_on_focus_lost.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\scroll.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\set_unsaved_view_name.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\side_bar.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\sort.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\swap_line.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\switch_file.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\transform.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\transpose.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Default\trim_trailing_white_space.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Diff\diff.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\HTML\encode_html_entities.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\HTML\html_completions.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\HTML2Jade\html2jade.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\HTMLBeautify\HTMLBeautify.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\JSHint Gutter\JSHint.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\JSHint\JSHint.py
Reloading plugin C:\Users\Wenzhong\AppData\Roaming\Sublime Text 2\Packages\Package Control\Package Control.py
plugin init time: 0.467747
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
pre session restore time: 1.01075
wrote startup cache, added files: 2 orphaned files: 0 total files: 115 cache hits: 113
startup time: 1.20219 (package setup was run)
loaded 1261 snippets
Package Control: Skipping automatic upgrade, last run at 2014-11-05 16:09:14, next run at 2014-11-05 17:09:14 or after
Package Control: Fetching list of available packages
Platform: windows-x64
Sublime Text Version: 2221
Package Control Version: 2.0.0
Package Control: Download Debug
URL: https://sublime.wbond.net/channel.json
Resolved IP: 50.116.34.243
Timeout: 30
Package Control: WinINet Debug Proxy
proxy:
proxy bypass:
proxy username:
proxy password:
Package Control: WinINet HTTPS Debug General
Server SSL Certificate:
subject: ZtL8p1RCzFndzRrqxUKqA6bD5HjQv5Zb, US, sublime.wbond.net, GT52951423, See www.rapidssl.com/resources/cps (c)12, Domain Control Validated - RapidSSL(R), sublime.wbond.net
issuer: US, "GeoTrust, Inc.", RapidSSL CA
common name: sublime.wbond.net
issue date: Mon, 07 Apr 2014 11:04:43 GMT
expire date: Thu, 26 Feb 2015 20:13:18 GMT
Package Control: WinINet HTTPS Debug Write
GET /channel.json HTTP/1.1
Accept-Encoding: gzip,deflate
If-Modified-Since: Wed, 05 Nov 2014 05:40:14 GMT
User-Agent: Sublime Package Control v2.0.0
Host: sublime.wbond.net
Connection: Keep-Alive
Cache-Control: no-cache
Package Control: WinINet HTTPS Debug Read
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 05 Nov 2014 05:55:46 GMT
Content-Type: application/json
Last-Modified: Wed, 05 Nov 2014 05:50:14 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Content-Encoding: gzip
Package Control: Caching https://sublime.wbond.net/channel.json in ad7758d143e99a76034aad71ae2a1f3b
ignored packages updated to: [Vintage, Git]
found 1 files for base name Default.sublime-theme
Package Control: Fetching list of available packages
Platform: windows-x64
Sublime Text Version: 2221
Package Control Version: 2.0.0
reloading /C/Users/Wenzhong/AppData/Roaming/Sublime Text 2/Packages/User/Preferences.sublime-settings
theme loaded
found 1 files for base name Default.sublime-theme
theme loaded
Package Control: Download Debug
URL: https://sublime.wbond.net/channel.json
Resolved IP: 50.116.34.243
Timeout: 30
Package Control: WinINet HTTPS Debug General
Re-using connection to sublime.wbond.net on port 443 for request #1
Package Control: WinINet Debug Proxy
proxy:
proxy bypass:
proxy username:
proxy password:
Package Control: WinINet HTTPS Debug Write
GET /channel.json HTTP/1.1
Accept-Encoding: gzip,deflate
If-Modified-Since: Wed, 05 Nov 2014 05:50:14 GMT
User-Agent: Sublime Package Control v2.0.0
Host: sublime.wbond.net
Connection: Keep-Alive
Cache-Control: no-cache
Package Control: WinINet HTTPS Debug Read
HTTP/1.1 304 Not Modified
Server: nginx
Date: Wed, 05 Nov 2014 05:55:52 GMT
Last-Modified: Wed, 05 Nov 2014 05:50:14 GMT
Connection: keep-alive
ETag: "5459ba96-196166"
Package Control: Using cached content for https://sublime.wbond.net/channel.json
Package Control: Unable to find file package-metadata.json in the package Git
Package Control: Download Debug
URL: https://codeload.github.com/kemayo/sublime-text-git/zip/master
Resolved IP: 192.30.252.144
Timeout: 30
Package Control: Error downloading package. Connection refused (errno 12029) during HTTP write phase of downloading https://codeload.github.com/kemayo/sublime-text-git/zip/master.
error: Package Control

Unable to download Git. Please view the console for more details.
ignored packages updated to: [Vintage]
found 1 files for base name Default.sublime-theme
reloading /C/Users/Wenzhong/AppData/Roaming/Sublime Text 2/Packages/User/Preferences.sublime-settings
theme loaded
found 1 files for base name Default.sublime-theme
theme loaded
Package Control: WinINet HTTPS Debug General
Closing connection to codeload.github.com on port 443 after 0 requests
Package Control: WinINet HTTPS Debug General
Closing connection to sublime.wbond.net on port 443 after 2 requests

@andreieftimie

This comment has been minimized.

Copy link

commented Nov 19, 2014

I see the same thing on OSX Yosemite:

ignored packages updated to: [Vintage, JavaScriptNext - ES6 Syntax]
reloading Packages/User/Preferences.sublime-settings
Package Control: Error downloading package. HTTP exception InvalidCertificateException (Host codeload.github.com returned an invalid certificate ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:550)) 
) downloading https://codeload.github.com/Benvie/JavaScriptNext.tmLanguage/zip/master.
ignored packages updated to: [Vintage]
reloading Packages/User/Preferences.sublime-settings
@wbond

This comment has been minimized.

Copy link
Owner

commented Nov 19, 2014

@andreieftimie This issue is closed.

If you are having trouble with Package Control, please make a new issue with a full debug log as described at https://packagecontrol.io/docs/issues. Currently you haven't provided the information necessary to help you.

@jampow

This comment has been minimized.

Copy link

commented Nov 24, 2014

The @zoechi solution worked for me too! Tks

@Porioux

This comment has been minimized.

Copy link

commented Feb 2, 2015

Fixed for me too. Thanks !

@zedd45

This comment has been minimized.

Copy link

commented Feb 14, 2015

@zoechi's solution worked for me, as well. OSX.9.5, Sublime Text Build 3065

@FichteFoll

This comment has been minimized.

Copy link
Contributor

commented Feb 14, 2015

For all others still discovering this issue, you can find the "official" instructions here: https://packagecontrol.io/docs/troubleshooting#Purging_Old_Versions

@maodd

This comment has been minimized.

Copy link

commented Mar 13, 2017

I got this issue on Mac, and this didn't fix for me. But the settings from here did the trick:
"downloader_precedence": { "windows": ["wininet"], "osx": ["curl","urllib"], "linux": ["urllib", "curl", "wget"] }

By default osx only has urllib, manually added curl before urllib fixed my issue.

@CPfi12

This comment has been minimized.

Copy link

commented May 21, 2017

Where can you find the config files to delete?

@payamazadi

This comment has been minimized.

Copy link

commented Aug 14, 2017

This isn't strictly a Sublime versioning/bug issue. It seems this can happen on certain network environments, such as mine, where the system has particular proxy settings that screw with downloading content over HTTPS. The reason is if you have a proxy SSL certificate, then all certificates originating from a different domain are untrusted unless you trust them. The solution is to use a browser to download the certificate (e.g. from https://packagecontrol.io/channel_v3.json) and then adding it into your keychain/trusted certs/etc.

@Mufkalif

This comment has been minimized.

Copy link

commented Apr 21, 2018

like this ?

**

indexing [job 75]: no files were indexed out of the 1 queued, abandoning crawl
ignored packages updated to: ["Oceanic Color Scheme", "Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
Exception in thread Thread-16:
Traceback (most recent call last):
File "./python3.3/threading.py", line 901, in _bootstrap_inner
File "package_control.package_installer in C:\Users\john\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package", line 202, in run
File "package_control.package_manager in C:\Users\john\AppData\Roaming\Sublime Text 3\Installed Packages\Package Control.sublime-package", line 1060, in install_package
File "./python3.3/tempfile.py", line 307, in mkdtemp
File "./python3.3/tempfile.py", line 251, in gettempdir
File "./python3.3/tempfile.py", line 192, in _get_default_tempdir
FileNotFoundError: [Errno 2] No usable temporary directory found in ['c:\temp', 'c:\tmp', '\temp', '\tmp', 'C:\Program Files\Sublime Text 3']****

**

@tablatronix

This comment has been minimized.

Copy link

commented Apr 21, 2018

same problem, wiped .cache folder, same result

I do not have proxy, or anything like that, unless there is something wrong with my ca chain

Package Control: Download Debug
  URL: https://api.github.com/repos/gepd/Deviot
  Timeout: 30
  Resolved IP: 192.30.253.116
  Resolved IPv6: ::ffff:192.30.253.116
Package Control: Urllib HTTPS Debug General
  Connecting to api.github.com on port 443
Package Control: Urllib HTTPS Debug General
  Upgrading connection to SSL using CA certs file at /Users/shawn/Library/Application Support/Sublime Text 3/Packages/User/Package Control.merged-ca-bundle
  Using hostname "api.github.com" for TLS SNI extension
Package Control: Error downloading repository. HTTP exception InvalidCertificateException (Host api.github.com returned an invalid certificate ([SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:548))) downloading https://api.github.com/repos/gepd/Deviot.
Package Control: Error downloading repository. HTTP exception InvalidCertificateException (Host api.github.com returned an invalid certificate ([SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:548))) downloading https://api.github.com/repos/gepd/Deviot.
Package Control: Error downloading repository. HTTP exception InvalidCertificateException (Host api.github.com returned an invalid certificate ([SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:548))) downloading https://api.github.com/repos/bcharbonnier/SublimeFileSync.
Package Control: Fetching list of available packages and dependencies
  Platform: osx-x64
  Sublime Text Version: 3143
  Package Control Version: 3.3.0
Package Control: Urllib HTTPS Debug General
  Closing connection to rawgit.com on port 443 after 1 request
Package Control: Urllib HTTPS Debug General
  Closing connection to packagecontrol.io on port 443 after 1 request
@tablatronix

This comment has been minimized.

Copy link

commented Apr 21, 2018

this fixed it
#736 (comment)

@maestrale

This comment has been minimized.

Copy link

commented Nov 6, 2018

Updating to 3.1 solved it for me

@7samasm

This comment has been minimized.

Copy link

commented Jul 15, 2019

@maodd thanks that's helps me alot even i am on linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.