package_control icon indicating copy to clipboard operation
package_control copied to clipboard

Package Control still does not work

Open will4378 opened this issue 6 years ago • 8 comments

Package Control is not working in the Netherlands. Have I missed something?

will4378 avatar Oct 15 '19 11:10 will4378

Does it still not work? You may need to refresh your dns cache.

FichteFoll avatar Oct 15 '19 13:10 FichteFoll

After DNS flush, still 404.

>>> import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "./python3.3/urllib/request.py", line 156, in urlopen
  File "./python3.3/urllib/request.py", line 475, in open
  File "./python3.3/urllib/request.py", line 587, in http_response
  File "./python3.3/urllib/request.py", line 513, in error
  File "./python3.3/urllib/request.py", line 447, in _call_chain
  File "./python3.3/urllib/request.py", line 595, in http_error_default
urllib.error.HTTPError: HTTP Error 404: Not Found

Note that the reason that I am attempting to reinstall Package Control is that it was unable to install any new packages:

Package Control: Skipping automatic upgrade, last run at 2019-10-15 09:43:54, next run at 2019-10-15 10:43:54 or after
Package Control: Error downloading channel. URL error [Errno 61] Connection refused downloading https://packagecontrol.io/channel_v3.json.

Also note that I was able to get https://packagecontrol.io/channel_v3.json just fine from a browser earlier, but it now also reports connection refused.

john-aws avatar Oct 15 '19 13:10 john-aws

I get connection refused with https and a "This domain was recently registered at Namecheap. Please check back later!" message when accessing via http (from NL).

catch22 avatar Oct 15 '19 17:10 catch22

I can confirm this from Chicago, US. I do see the Namecheap page.

bhavyanshu avatar Oct 15 '19 18:10 bhavyanshu

Please report what IP you are getting for packagecontrol.io. Mostly likely the DNS system somewhere between the root servers and you has cached the IP when the domain was expired.

wbond avatar Oct 15 '19 19:10 wbond

198.54.117.200

catch22 avatar Oct 15 '19 19:10 catch22

The correct IP (as of today) is 50.116.34.243.

Querying Google's DNS servers gives:

wbond$ dig @8.8.8.8 packagecontrol.io

; <<>> DiG 9.10.6 <<>> @8.8.8.8 packagecontrol.io
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30767
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;packagecontrol.io.		IN	A

;; ANSWER SECTION:
packagecontrol.io.	154	IN	A	50.116.34.243

;; Query time: 51 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Oct 15 15:05:21 EDT 2019
;; MSG SIZE  rcvd: 62

wbond avatar Oct 15 '19 19:10 wbond

Package Control is working again. Location Netherlands. Also PackageControl.io is reachable again!

ghost avatar Oct 16 '19 15:10 ghost