Modify ↓
Ticket #802 (closed defect: fixed)
KeyError for content-length when using SSL client without python-ssl
Reported by: | strauss | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.0.1 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: |
Description
Here is the unmasked backtrace, along with a pprint of the headers:
[email protected]:~# bcfg2 -vqn <class xmlrpclib._Method at 0xb7e024dc> {'connection': 'close', 'content-type': 'text/html', 'date': 'Wed, 18 Nov 2009 22:49:08 GMT', 'server': 'BaseHTTP/0.3 Python/2.4.3'} Unknown failure Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Bcfg2/Proxy.py", line 58, in __call__ return _Method.__call__(self, *args) File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request verbose=self.__verbose File "/usr/lib/python2.5/site-packages/Bcfg2/Proxy.py", line 258, in request msglen = int(headers.dict['content-length']) KeyError: 'content-length' Failed to download probes from bcfg2 Server Failure
Attachments
Change History
comment:2 Changed 13 years ago by Martin Schwier <[email protected]…>
I have the problem too.
desai: You asked me which version I run on irc. Its 1.0.0 on lenny without python-ssl.
comment:3 Changed 13 years ago by solj
- Status changed from new to closed
- Resolution set to fixed
Looks like this is fixed by [r5626].
comment:4 Changed 13 years ago by Martin Schwier <[email protected]…>
Is a bugfix release of 1.0.0 planed to fix this or do I have to use the trunk version?
Note: See
TracTickets for help on using
tickets.
It's currently possible to work around this by installing python-ssl to the client.