package_control
package_control copied to clipboard
Can not access packagecontrol.io via a web proxy
I cannot download https://packagecontrol.io/channel_v3.json via a web proxy called polipo.
My environment is a little complex. I access the internet through a http proxy called polipo which listen the 127.0.0.1:8123, polipo connected with a socks5 proxy. Everything is ok, but any access to packagecontrol.io will return timeout.
Logs here:
➜ polipo wget https://packagecontrol.io/channel_v3.json
--2019-04-11 18:28:36-- https://packagecontrol.io/channel_v3.json
Resolving localhost (localhost)... ::1, fe80::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8123... failed: Connection refused.
Connecting to localhost (localhost)|fe80::1|:8123... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:8123... connected.
^C
➜ polipo wget https://example.com/
--2019-04-11 18:29:09-- https://example.com/
Resolving localhost (localhost)... ::1, fe80::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:8123... failed: Connection refused.
Connecting to localhost (localhost)|fe80::1|:8123... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:8123... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1270 (1.2K) [text/html]
Saving to: ‘index.html’
index.html 100%[==============================================================================================================================================================>] 1.24K --.-KB/s in 0s
Package Control: Urllib HTTPS Debug General
Connecting to 127.0.0.1 on port 8123
Package Control: Urllib HTTPS Debug Write
CONNECT packagecontrol.io:443 HTTP/1.1
Host: packagecontrol.io:443
User-Agent: Package Control v3.3.0
Proxy-Connection: Keep-Alive
Package Control: Downloading https://packagecontrol.io/channel_v3.json timed out, trying again
Package Control: Urllib HTTPS Debug General
Connecting to 127.0.0.1 on port 8123
Package Control: Urllib HTTPS Debug Write
CONNECT packagecontrol.io:443 HTTP/1.1
Host: packagecontrol.io:443
User-Agent: Package Control v3.3.0
Proxy-Connection: Keep-Alive
Package Control: Downloading https://packagecontrol.io/channel_v3.json timed out, trying again
Package Control: Urllib HTTPS Debug General
Connecting to 127.0.0.1 on port 8123
Package Control: Urllib HTTPS Debug Write
CONNECT packagecontrol.io:443 HTTP/1.1
Host: packagecontrol.io:443
User-Agent: Package Control v3.3.0
Proxy-Connection: Keep-Alive
Package Control: Unable to download https://packagecontrol.io/channel_v3.json after 3 attempts
2019-04-11 18:29:10 (17.3 MB/s) - ‘index.html’ saved [1270/1270]