Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

projects don't get retrieved (openssl errors) #16

Open
zalexki opened this issue Aug 4, 2019 · 0 comments
Open

projects don't get retrieved (openssl errors) #16

zalexki opened this issue Aug 4, 2019 · 0 comments

Comments

@zalexki
Copy link

zalexki commented Aug 4, 2019

Fresh install this workflow and got this in the logs after adding the token and trying to use it.

Any idea ? (already tried to update openssl)

macos 10.12
Python 2.7.16
'OpenSSL 1.0.2s 28 May 2019'

13:26:33 workflow.py:2526 INFO     checking for update ...
13:26:33 update.py:312 INFO     retrieving releases: lukewaite/alfred-gitlab
13:26:33 background.py:242 ERROR    [__workflow_update_check] command failed with status 1
13:26:33 update.py:13 INFO     Calling API page 1
13:26:33 workflow.py:2266 ERROR    <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)>
Traceback (most recent call last):
  File "/Users/alex/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.AAD72EA7-A4A2-4B7A-911C-528938620683/workflow/workflow.py", line 2259, in run
    func(self)
  File "/Users/alex/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.AAD72EA7-A4A2-4B7A-911C-528938620683/update.py", line 41, in main
    projects = wf.cached_data('projects', wrapper, max_age=3600)
  File "/Users/alex/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.AAD72EA7-A4A2-4B7A-911C-528938620683/workflow/workflow.py", line 1890, in cached_data
    data = data_func()
  File "/Users/alex/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.AAD72EA7-A4A2-4B7A-911C-528938620683/update.py", line 39, in wrapper
    return get_projects(api_key, api_url)
  File "/Users/alex/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.AAD72EA7-A4A2-4B7A-911C-528938620683/update.py", line 10, in get_projects
    return get_project_page(api_key, url, 1, [])
  File "/Users/alex/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.AAD72EA7-A4A2-4B7A-911C-528938620683/update.py", line 15, in get_project_page
    r = web.get(url, params)
  File "/Users/alex/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.AAD72EA7-A4A2-4B7A-911C-528938620683/workflow/web.py", line 583, in get
    stream=stream)
  File "/Users/alex/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.AAD72EA7-A4A2-4B7A-911C-528938620683/workflow/web.py", line 571, in request
    return Response(req, stream)
  File "/Users/alex/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.AAD72EA7-A4A2-4B7A-911C-528938620683/workflow/web.py", line 214, in __init__
    self.raw = urllib2.urlopen(request)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1240, in https_open
    context=self._context)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)
URLError: <urlopen error [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)>```
@zalexki zalexki changed the title projects don't get retrieved projects don't get retrieved (openssl errors) Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant