-
Notifications
You must be signed in to change notification settings - Fork 264
-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
httplib.BadStatusLine: ' ' #95
Comments
@vipulob Please try version from master branch using command below: $ pip install https://github.com/diyan/pywinrm/archive/master.zip /cc @nitzmahone |
I did use master branch. |
@vipulob : That can't be current master, as the traceback references urllib2 (which has been nuked from current master for requests)... Please try with current master. Thanks! |
Closing for inactivity |
output = winrm_obj.run_cmd(cmd)
File "/usr/lib/python2.7/site-packages/winrm/init.py", line 33, in run_cmd
self.protocol.close_shell(shell_id)
File "/usr/lib/python2.7/site-packages/winrm/winrm/protocol.py", line 211, in close_shell
rs = self.send_message(xmltodict.unparse(rq))
File "/usr/lib/python2.7/site-packages/winrm/winrm/protocol.py", line 190, in send_message
return self.transport.send_message(message)
File "/usr/lib/python2.7/site-packages/winrm/transport.py", line 108, in send_message
response = self.opener.open(request, timeout=self.timeout)
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1187, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1045, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 409, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 373, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine: ' '
I am getting this error sometimes.
The text was updated successfully, but these errors were encountered: