package_control icon indicating copy to clipboard operation
package_control copied to clipboard

Package Control: Error downloading channel. URL error [WinError 10013]

Open devnewbee opened this issue 6 years ago • 10 comments

There are no packages available for installation

I have followed the troubleshooting guide, https://packagecontrol.io/docs/troubleshooting, but I still can't seem to run package control.

I am getting these errors from the console...

Package Control: Attempting to use Urllib downloader due to WinINet error: Error downloading channel. Connection refused (errno 12029) during HTTP write phase of downloading https://packagecontrol.io/channel_v3.json. Package Control: Error downloading channel. URL error [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions downloading https://packagecontrol.io/channel_v3.json.

I made sure my firewall was not blocking ST3. On my browser, I can access the https://packagecontrol.io/channel_v3.json page without any problems, I can also visit https://packagecontrol.io

I have also read some issues here concerning this type of problem, but none of their solutions worked for me.

devnewbee avatar Jan 02 '20 13:01 devnewbee

Same here :(

tywunon avatar Jan 22 '20 18:01 tywunon

Try changing the downloader_precedence setting. See https://packagecontrol.io/docs/settings#setting-downloader_precedence. Since you are on Windows, you'll want to try something like:

"downloader_precedence": {
    "windows": ["urllib", "wininet"],
    "osx": ["urllib"],
    "linux": ["urllib", "curl", "wget"]
}

wbond avatar Jan 22 '20 18:01 wbond

for me it only happend on linux, and I already tried that, did not work

tywunon avatar Jan 22 '20 19:01 tywunon

Oh, that would be somewhat different then. Please open new issue and be sure to include the error you are seeing. This issue is about a problem with WinInet not working.

wbond avatar Jan 22 '20 19:01 wbond

Okay sorry.

tywunon avatar Jan 22 '20 19:01 tywunon

Try changing the downloader_precedence setting. See https://packagecontrol.io/docs/settings#setting-downloader_precedence. Since you are on Windows, you'll want to try something like:

"downloader_precedence": {
    "windows": ["urllib", "wininet"],
    "osx": ["urllib"],
    "linux": ["urllib", "curl", "wget"]
}

I'm having the same issues. Did try the above, still nothing. Have tried various ways nothing seems to work. However I can add packages with Package Control: Add Repository, this seems to be my only work around at the moment?

Dafaq-lang avatar Aug 11 '20 12:08 Dafaq-lang

Can you provide a debug log? https://packagecontrol.io/docs/issues

wbond avatar Aug 17 '20 15:08 wbond

Can you provide a debug log? https://packagecontrol.io/docs/issues

Thanks for your reply. Discovered some processes for sublime were not included by the firewall, sublime was added but for some reason ignored some of the processes, once those were added worked like a bomb.

Dafaq-lang avatar Aug 19 '20 15:08 Dafaq-lang

Same here. How did you guys fix it ? Here is my versions: Platform: windows-x64 Sublime Text Version: 4107 Package Control Version: 3.4.1

Strange, it's fine for Sublime Text 3. Same enviroment and configuration.

Damn, It works fine now after rebooting my PC. So it's none of package_control's business.

hailin84 avatar May 26 '21 07:05 hailin84

By fixing firewall rules, I guess [WinError 10013] just means no connection was blocked.

deathaxe avatar May 26 '21 16:05 deathaxe

Closing as being a firewall configuration issue.

see: https://github.com/wbond/package_control/issues/1346

deathaxe avatar Sep 17 '22 12:09 deathaxe