← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1637292] [NEW] _ssl.c:316: Invalid SSL protocol variant specified.

 

Public bug reported:

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?

** Affects: python-jenkins
     Importance: Undecided
         Status: New

** Description changed:

  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__.
+   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__.
+     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__.
+     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__.
+     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))
+     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?

-- 
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


Follow ups