Can see list of Gist, but cannot open #49

davidpatrick opened this Issue Oct 16, 2012 · 3 comments


None yet
3 participants

I am connecting to a local enterprise server. I can connect to the server, I can see a list of my gists, and I can even save gists, but whenever I open one I get the following error: 'Gist: Eerror while contacting GitHub'

The console puts out

[u'Sublime: Setting up gist', u'Test']
Traceback (most recent call last):
File "./", line 154, in _fn
File "./", line 506, in handle_gist
File "./", line 224, in open_gist
File "./", line 280, in api_request_native
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 126, in urlopen
return, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 391, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 409, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 369, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 1189, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 1156, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 61] Connection refused>


deiga commented Feb 16, 2013

@batreyud is this still not working?
Would you mind doing a few steps to help troubleshooting?

  • open Sublime Text 2/Packages/Gist/ in an editor
  • search for def api_request_native(
  • above the following lines, insert print('URL:', request.get_full_url())
    with contextlib.closing
  • then keep the ST2 console open while trying to open a gist
  • copy the line starting with URL: and paste it here :)

condemil commented Aug 10, 2013

@batreyud you still have this issue?


condemil commented Mar 29, 2014

Looks like there is no issue any more

condemil closed this Mar 29, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment