Connection went away when retrieving channelv3.json
Hi,
I'm sorry to open a new issue but I tried the other ones and it didn't work for me.
I just installed Sublime Text 3 for my new computer(which is running Lubuntu 16.10) and the package control.
And I got this log when I click on "Install package" :
Package Control: Fetching list of available packages and dependencies Platform: linux-x64 Sublime Text Version: 3126 Package Control Version: 3.2.1 Package Control: Download Debug URL: https://packagecontrol.io/channel_v3.json Timeout: 30 Resolved IP: 50.116.34.243 Resolved IPv6: 2600:3c02:e000:42::1 Package Control: Urllib Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt (274340 bytes) Package Control: Urllib HTTPS Debug General Connecting to packagecontrol.io on port 443 Package Control: Urllib HTTPS Debug General Upgrading connection to SSL using CA certs file at /home/adrien/.config/sublime-text-3/Packages/User/Package Control.merged-ca-bundle Successfully upgraded connection to packagecontrol.io:443 with SSL Using TLSv1/SSLv3 with cipher ECDHE-RSA-AES128-SHA Server SSL certificate: subject: CN=packagecontrol.io subject alt name: packagecontrol.io, www.packagecontrol.io expire date: Nov 27 23:59:59 2019 GMT Certificate validated for packagecontrol.io Package Control: Urllib HTTPS Debug Write GET /channel_v3.json HTTP/1.1 User-Agent: Package Control v3.2.1 Host: packagecontrol.io Connection: Keep-Alive Accept-Encoding: bzip2,gzip,deflate Package Control: Connection went away while trying to download https://packagecontrol.io/channel_v3.json, trying again Package Control: Urllib Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt (274340 bytes) Package Control: Urllib HTTPS Debug General Connecting to packagecontrol.io on port 443 Package Control: Urllib HTTPS Debug General Upgrading connection to SSL using CA certs file at /home/adrien/.config/sublime-text-3/Packages/User/Package Control.merged-ca-bundle Successfully upgraded connection to packagecontrol.io:443 with SSL Using TLSv1/SSLv3 with cipher ECDHE-RSA-AES128-SHA Server SSL certificate: subject: CN=packagecontrol.io subject alt name: packagecontrol.io, www.packagecontrol.io expire date: Nov 27 23:59:59 2019 GMT Certificate validated for packagecontrol.io Package Control: Urllib HTTPS Debug Write GET /channel_v3.json HTTP/1.1 User-Agent: Package Control v3.2.1 Host: packagecontrol.io Connection: Keep-Alive Accept-Encoding: bzip2,gzip,deflate Package Control: Connection went away while trying to download https://packagecontrol.io/channel_v3.json, trying again Package Control: Urllib Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt (274340 bytes) Package Control: Urllib HTTPS Debug General Connecting to packagecontrol.io on port 443 Package Control: Urllib HTTPS Debug General Upgrading connection to SSL using CA certs file at /home/adrien/.config/sublime-text-3/Packages/User/Package Control.merged-ca-bundle Successfully upgraded connection to packagecontrol.io:443 with SSL Using TLSv1/SSLv3 with cipher ECDHE-RSA-AES128-SHA Server SSL certificate: subject: CN=packagecontrol.io subject alt name: packagecontrol.io, www.packagecontrol.io expire date: Nov 27 23:59:59 2019 GMT Certificate validated for packagecontrol.io Package Control: Urllib HTTPS Debug Write GET /channel_v3.json HTTP/1.1 User-Agent: Package Control v3.2.1 Host: packagecontrol.io Connection: Keep-Alive Accept-Encoding: bzip2,gzip,deflate Package Control: Connection went away while trying to download https://packagecontrol.io/channel_v3.json, trying again Package Control: Urllib Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt (274340 bytes) Package Control: Unable to download https://packagecontrol.io/channel_v3.json after 3 attempts
I tried to re-install sublime, manually install the package control, update my certificates. None of them worked... The weirdest thing is I can access https://packagecontrol.io/channel_v3.json with my browser, so for some reason it's just only in sublime... It's also not my network, since I can install packages with my other PC running Ubuntu 16.04
I'm using all the latest downloads for sublime and package control (Build 3126 for sublime and v3.2.1 for package control)
Thanks in advance
Exactly the same for me. Can't download packages from sublime but can access https://packagecontrol.io/channel_v3.json just fine from my browser.
I'm having problems on Ubuntu 14.04 but can access packages just fine on my OSX (latest) laptop on the same network.
Having a similar problem. Have purged and reinstalled sublime and package control several times. Debug info below. I can also access https://packagecontrol.io/channel_v3.json just fine from my browser...
Package Control: Fetching list of available packages and dependencies Platform: linux-x64 Sublime Text Version: 3126 Package Control Version: 3.2.1 Package Control: Download Debug URL: https://packagecontrol.io/channel_v3.json Timeout: 30 Resolved IP: 50.116.34.243 Resolved IPv6: 2600:3c02:e000:42::1 Package Control: Urllib Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt (274340 bytes) Package Control: Urllib HTTPS Debug General Connecting to packagecontrol.io on port 443 Package Control: Urllib HTTPS Debug General Upgrading connection to SSL using CA certs file at /home/peter/.config/sublime-text-3/Packages/User/Package Control.merged-ca-bundle Successfully upgraded connection to packagecontrol.io:443 with SSL Using TLSv1/SSLv3 with cipher ECDHE-RSA-AES128-SHA Server SSL certificate: subject: CN=packagecontrol.io subject alt name: packagecontrol.io, www.packagecontrol.io expire date: Nov 27 23:59:59 2019 GMT Certificate validated for packagecontrol.io Package Control: Urllib HTTPS Debug Write GET /channel_v3.json HTTP/1.1 If-None-Match: "58b9e05e-462b2" If-Modified-Since: Fri, 03 Mar 2017 21:30:06 GMT Connection: Keep-Alive Host: packagecontrol.io Accept-Encoding: bzip2,gzip,deflate User-Agent: Package Control v3.2.1 Package Control: Urllib HTTPS Debug Read HTTP/1.1 200 OK Server: nginx Date: Fri, 03 Mar 2017 22:23:45 GMT Content-Type: application/json Content-Length: 286634 Last-Modified: Fri, 03 Mar 2017 22:20:05 GMT Connection: keep-alive ETag: "58b9ec15-45faa" Content-Encoding: bzip2 Vary: Accept-Encoding Strict-Transport-Security: max-age=15552000 Accept-Ranges: bytes Package Control: Caching https://packagecontrol.io/channel_v3.json in /home/peter/.config/sublime-text-3/Packages/User/Package Control.cache/01524fae79697630d0454ba3fabd9414 Package Control: Connection went away while trying to download https://packagecontrol.io/channel_v3.json, trying again Package Control: Urllib Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt (274340 bytes) Package Control: Urllib HTTPS Debug General Connecting to packagecontrol.io on port 443 Package Control: Urllib HTTPS Debug General Upgrading connection to SSL using CA certs file at /home/peter/.config/sublime-text-3/Packages/User/Package Control.merged-ca-bundle Successfully upgraded connection to packagecontrol.io:443 with SSL Using TLSv1/SSLv3 with cipher ECDHE-RSA-AES128-SHA Server SSL certificate: subject: CN=packagecontrol.io subject alt name: packagecontrol.io, www.packagecontrol.io expire date: Nov 27 23:59:59 2019 GMT Certificate validated for packagecontrol.io Package Control: Urllib HTTPS Debug Write GET /channel_v3.json HTTP/1.1 If-None-Match: "58b9e05e-462b2" If-Modified-Since: Fri, 03 Mar 2017 21:30:06 GMT Connection: Keep-Alive Host: packagecontrol.io Accept-Encoding: bzip2,gzip,deflate User-Agent: Package Control v3.2.1 Package Control: Urllib HTTPS Debug Read HTTP/1.1 200 OK Server: nginx Date: Fri, 03 Mar 2017 22:23:46 GMT Content-Type: application/json Content-Length: 286634 Last-Modified: Fri, 03 Mar 2017 22:20:05 GMT Connection: keep-alive ETag: "58b9ec15-45faa" Content-Encoding: bzip2 Vary: Accept-Encoding Strict-Transport-Security: max-age=15552000 Accept-Ranges: bytes Package Control: Caching https://packagecontrol.io/channel_v3.json in /home/peter/.config/sublime-text-3/Packages/User/Package Control.cache/01524fae79697630d0454ba3fabd9414 Package Control: Connection went away while trying to download https://packagecontrol.io/channel_v3.json, trying again Package Control: Urllib Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt (274340 bytes) Package Control: Urllib HTTPS Debug General Connecting to packagecontrol.io on port 443 Package Control: Urllib HTTPS Debug General Upgrading connection to SSL using CA certs file at /home/peter/.config/sublime-text-3/Packages/User/Package Control.merged-ca-bundle Successfully upgraded connection to packagecontrol.io:443 with SSL Using TLSv1/SSLv3 with cipher ECDHE-RSA-AES128-SHA Server SSL certificate: subject: CN=packagecontrol.io subject alt name: packagecontrol.io, www.packagecontrol.io expire date: Nov 27 23:59:59 2019 GMT Certificate validated for packagecontrol.io Package Control: Urllib HTTPS Debug Write GET /channel_v3.json HTTP/1.1 If-None-Match: "58b9e05e-462b2" If-Modified-Since: Fri, 03 Mar 2017 21:30:06 GMT Connection: Keep-Alive Host: packagecontrol.io Accept-Encoding: bzip2,gzip,deflate User-Agent: Package Control v3.2.1 Package Control: Urllib HTTPS Debug Read HTTP/1.1 200 OK Server: nginx Date: Fri, 03 Mar 2017 22:23:47 GMT Content-Type: application/json Content-Length: 286634 Last-Modified: Fri, 03 Mar 2017 22:20:05 GMT Connection: keep-alive ETag: "58b9ec15-45faa" Content-Encoding: bzip2 Vary: Accept-Encoding Strict-Transport-Security: max-age=15552000 Accept-Ranges: bytes Package Control: Caching https://packagecontrol.io/channel_v3.json in /home/peter/.config/sublime-text-3/Packages/User/Package Control.cache/01524fae79697630d0454ba3fabd9414 Package Control: Connection went away while trying to download https://packagecontrol.io/channel_v3.json, trying again Package Control: Urllib Debug Proxy http_proxy: https_proxy: proxy_username: proxy_password: Package Control: Found system CA bundle at /usr/lib/ssl/certs/ca-certificates.crt (274340 bytes) Package Control: Unable to download https://packagecontrol.io/channel_v3.json after 3 attempts
I am using linux and had the same issue. I tracked it back to Urllib issues. By adding the following entry to my package control user settings I was able to properly get package control to work again.
"downloader_precedence":
{
"linux":
[
"curl", "wget", "urllib"
],
"osx":
[
"urllib"
],
"windows":
[
"wininet"
]
},
Excellent! Thank you very much it's working! I'm marking it resolved then.
Just want to say thank you, that resolved the problem for me as well on ubuntu
Thank you @gbd360 , This solved the issue on Ubuntu 16.04
This is epic! It's working.... After hours search for solution, finally :+1:
Щиро дякую, чотири дні бився з install package. Це єдине, що допомогло.
The problem still exist on Sublime Text 3.1.1 Build 3176. And the browser can open https://packagecontrol.io/channel_v3.json correctly.
In my case the file could not be curled through my terminal too so I try to add http proxy for it and it works. I add this line to package control user settings:
"http_proxy": "your_host:your_port"
Preferences > Package Settings > Package Control > Settings - User
ADD following text.
"channels":
[
"http://static.bolin.site/channel_v3.json",
//"https://packagecontrol.io/channel_v3.json",
//"https://web.archive.org/web/20160103232808/https://packagecontrol.io/channel_v3.json",
],
Note that using a channel URL that is served over HTTP and thus not encrypted is severely insecure and makes you subject to simple MITM attacks when you attempt to install a package or even when launching ST and PC checks for updates. Not considering the fact that you are at the discretion of the hosting provider of that domain. They may change any package download to do any kind of RCE. You must be aware of the risk involved when replacing the default channel with a mirror.
For those having this error when using the vpn, what you only need is to add "http_proxy": "your_host:your_port" in your Preferences > Package Settings > Package Control > Settings - User.
This solved my problem.
I had to include "repository_channels": [ "http://sublime.wbond.net/repositories.json" ], on the package control sublime settings apart of the http_proxy and https_proxy