Can see list of Gist, but cannot open #49

Closed
davidpatrick opened this Issue Oct 16, 2012 · 3 comments

Comments

Projects
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 "./gist.py", line 154, in _fn
File "./gist.py", line 506, in handle_gist
File "./gist.py", line 224, in open_gist
File "./gist.py", line 280, in api_request_native
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 1189, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 1156, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 61] Connection refused>

Contributor

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/gist.py in an editor
  • search for def api_request_native(
  • above the following lines, insert print('URL:', request.get_full_url())
try:
    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 :)
Owner

condemil commented Aug 10, 2013

@batreyud you still have this issue?

Owner

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