bgreenlee / sublime-github

Sublime Text 2/3 plugin that provides a number of useful commands for GitHub.
MIT License
456 stars 92 forks source link

SSL3_GET_SERVER_CERTIFICATE:certificate verify failed #35

Closed truekonrads closed 11 years ago

truekonrads commented 11 years ago

I get a certificate verify failed for every operation:

On Win7 64, '2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]

Traceback (most recent call last):
  File ".\sublime_plugin.py", line 362, in run_
  File ".\sublime_github.py", line 106, in run
  File ".\sublime_github.py", line 113, in get_gists
  File ".\github.py", line 128, in list_gists
  File ".\github.py", line 65, in get
  File ".\github.py", line 86, in request
  File "C:\Users\XXX\AppData\Roaming\Sublime Text 2\Packages\sublime-github\lib\requests\sessions.py", line 200, in request
    r.send(prefetch=prefetch)
  File "C:\Users\XXX\AppData\Roaming\Sublime Text 2\Packages\sublime-github\lib\requests\models.py", line 536, in send
    raise SSLError(e)
requests.exceptions.SSLError: [Errno 1] _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
bgreenlee commented 11 years ago

Thanks for the report. I'll try to take a look at it soon.

michaelbartnett commented 11 years ago

Same here, slightly different trace. First time authenticating on this install.

Click OK and then enter your GitHub username and password below (neither will be stored; they are only used to generate an access token).
Traceback (most recent call last):
  File ".\sublime_github.py", line 82, in on_done_password
  File ".\github.py", line 49, in get_token
  File "C:\Users\Michael\AppData\Roaming\Sublime Text 2\Packages\sublime-github\lib\requests\sessions.py", line 250, in post
    return self.request('post', url, data=data, **kwargs)
  File "C:\Users\Michael\AppData\Roaming\Sublime Text 2\Packages\sublime-github\lib\requests\sessions.py", line 200, in request
    r.send(prefetch=prefetch)
  File "C:\Users\Michael\AppData\Roaming\Sublime Text 2\Packages\sublime-github\lib\requests\models.py", line 536, in send
    raise SSLError(e)
requests.exceptions.SSLError: [Errno 1] _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
marcionicolau commented 11 years ago

Fist time authenticantig.

Traceback (most recent call last):
  File ".\sublime_plugin.py", line 362, in run_
  File ".\sublime_github.py", line 116, in run
  File ".\sublime_github.py", line 123, in get_gists
  File ".\github.py", line 126, in list_gists
  File ".\github.py", line 65, in get
  File ".\github.py", line 86, in request
  File "C:\Users\nicolau\AppData\Roaming\Sublime Text 2\Packages\sublime-github\lib\requests\sessions.py", line 200, in request
    r.send(prefetch=prefetch)
  File "C:\Users\nicolau\AppData\Roaming\Sublime Text 2\Packages\sublime-github\lib\requests\models.py", line 536, in send
    raise SSLError(e)
requests.exceptions.SSLError: [Errno 1] _ssl.c:480: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
bgreenlee commented 11 years ago

Should be fixed now. Let me know if you have any more problems.