← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1766660] [NEW] jenkins.EmptyResponseException raised when a response is given

 

Public bug reported:

Using python-jerkins 1.0.0 to get build info raises an
EmptyResponseException despite getting a response from the Jenkins
server.

There are no content-length or transfer-encoding headers in the
response, leading to the incorrect classification.

response.text length was good, as was status of response.

Headers were:

{'Date': 'Tue, 24 Apr 2018 16:31:36 GMT',
 'X-Content-Type-Options': 'nosniff',
 'X-Jenkins': '2.46.3.2',
 'X-Jenkins-Session': '03171bd7',
 'Content-Type': 'application/json;charset=UTF-8',
 'Content-Encoding': 'gzip',
 'Connection': 'close',
 'Server': 'Jetty(9.2.z-SNAPSHOT)',
 'Set-Cookie': 'SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/',
 'Cache-control': 'private'}

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

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

Title:
  jenkins.EmptyResponseException raised when a response is given

Status in Python Jenkins:
  New

Bug description:
  Using python-jerkins 1.0.0 to get build info raises an
  EmptyResponseException despite getting a response from the Jenkins
  server.

  There are no content-length or transfer-encoding headers in the
  response, leading to the incorrect classification.

  response.text length was good, as was status of response.

  Headers were:

  {'Date': 'Tue, 24 Apr 2018 16:31:36 GMT',
   'X-Content-Type-Options': 'nosniff',
   'X-Jenkins': '2.46.3.2',
   'X-Jenkins-Session': '03171bd7',
   'Content-Type': 'application/json;charset=UTF-8',
   'Content-Encoding': 'gzip',
   'Connection': 'close',
   'Server': 'Jetty(9.2.z-SNAPSHOT)',
   'Set-Cookie': 'SERVERID=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/',
   'Cache-control': 'private'}

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1766660/+subscriptions


Follow ups