_ssl.c:316: Invalid SSL protocol variant specified.

Bug #1637292 reported by d
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python Jenkins
New
Undecided
Unassigned

Bug Description

Getting the following when trying to negotiate with python-jenkins with https requests:
File "<console>", line 1, in <module>
  File ".../python-2.7/lib/python2.7/site-packages/python_jenkins-0.4.5-py2.7.egg/jenkins/__init__.
py", line 212, in get_job_info
    self.server + JOB_INFO % self._get_encoded_params(locals())))
  File ".../python_jenkins/0.4.5/python-2.7/lib/python2.7/site-packages/python_jenkins-0.4.5-py2.7.egg/jenkins/__init__.
py", line 277, in jenkins_open
    self.maybe_add_crumb(req)
  File ".../python_jenkins/0.4.5/python-2.7/lib/python2.7/site-packages/python_jenkins-0.4.5-py2.7.egg/jenkins/__init__.
py", line 195, in maybe_add_crumb
    self.server + CRUMB_URL), add_crumb=False)
  File ".../python_jenkins/0.4.5/python-2.7/lib/python2.7/site-packages/python_jenkins-0.4.5-py2.7.egg/jenkins/__init__.
py", line 302, in jenkins_open
    raise JenkinsException('Error in request: %s' % (e.reason))
JenkinsException: Error in request: _ssl.c:316: Invalid SSL protocol variant specified.

Anyone have any thoughts on this?

d (sealth)
description: updated
Revision history for this message
Khai Do (zaro0508) wrote :

I believe python-jenkins does not support passing SSL context yet. There are a few patchs to add support for that is in review[1]. There are also a few patches to skip SSL as well. Both sets have been dormant for a while. Feel free to fix/update and push up for review if you like.

[1] https://review.openstack.org/#/q/project:openstack/python-jenkins+status:open+message:ssl

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.