python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00383
[Bug 1637292] Re: _ssl.c:316: Invalid SSL protocol variant specified.
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
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1637292
Title:
_ssl.c:316: Invalid SSL protocol variant specified.
Status in Python Jenkins:
New
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?
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1637292/+subscriptions
References