_ssl.c:316: Invalid SSL protocol variant specified.
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-
py", line 212, in get_job_info
self.server + JOB_INFO % self._get_
File ".../python_
py", line 277, in jenkins_open
self.
File ".../python_
py", line 195, in maybe_add_crumb
self.server + CRUMB_URL), add_crumb=False)
File ".../python_
py", line 302, in jenkins_open
raise JenkinsExceptio
JenkinsException: Error in request: _ssl.c:316: Invalid SSL protocol variant specified.
Anyone have any thoughts on this?
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