Hi,
Does anyone know why I might suddently be getting the following error when
starting up my Marvin tests?
I see this problem on Ubuntu 14.04, but not on Mac OS X.
On both platforms, I’ve got requests 2.11.1 installed (current version).
I’ve tried un-install and re-install requests, but I get the same error.
2016-11-04 08:08:13,177 - DEBUG - Parsing Test data successful
2016-11-04 08:08:13,177 - DEBUG - Payload: {'account': 'admin', 'command':
'listUsers', 'response': 'json'}
2016-11-04 08:08:13,178 - DEBUG - ========Sending GET Cmd : listUsers=======
2016-11-04 08:08:13,336 - ERROR - __sendGetReqToCS : Exception Occurred:
("Connection broken: error(104, 'Connection reset by peer')", error(104,
'Connection reset by peer'))
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py",
line 189, in __sendGetReqToCS
verify=self.httpsFlag)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 70, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in
request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475,
in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 628,
in send
r.content
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 755,
in content
self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or
bytes()
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 679,
in generate
raise ChunkedEncodingError(e)
Thanks!
Mike