jnraine / munkiserver

Visit https://github.com/munkiserver/munkiserver for active development — this repository is no longer maintained
85 stars 27 forks source link

CentOS 6.4 - Response header missing #176

Closed Ern-st closed 11 years ago

Ern-st commented 11 years ago

We updated our test server to CentOS 6.4. apache (2.2.15) is same version as 6.3 & Phusion Passenger (3.0.18) is also the same.

But when I run "managedsoftwareupdate" it fails on line 218 of /usr/local/munki/munkilib/fetch.py Line 218: header['http_result_description'] = info.split(None, 2)[2]

It's trying to split the response header on " " and select the third element, only there is no third element.

On 6.3 it returns: HTTP/1.1 200 OK

But on 6.4 it only returns: HTTP/1.1 200

I've googled a bit and it seems to be a "feature" of Passenger? Any ideas?

Ern-st commented 11 years ago

I've updated Passenger to 4.0rc6 and it seems to have resolved the issue.

rickychilcott commented 11 years ago

Closing issue