-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
When issuing two concomitant requests over the same eAPI session I can get the following errors:
File "/usr/local/lib/python2.7/dist-packages/pyeapi/client.py", line 730, in run_commands
response = self._connection.execute(commands, encoding, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyeapi/eapilib.py", line 495, in execute
response = self.send(request)
File "/usr/local/lib/python2.7/dist-packages/pyeapi/eapilib.py", line 388, in send
response = self.transport.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1099, in getresponse
raise ResponseNotReady()
ResponseNotReady File "/usr/local/lib/python2.7/dist-packages/pyeapi/client.py", line 730, in run_commands
response = self._connection.execute(commands, encoding, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyeapi/eapilib.py", line 495, in execute
response = self.send(request)
File "/usr/local/lib/python2.7/dist-packages/pyeapi/eapilib.py", line 372, in send
self.transport.putrequest('POST', '/command-api')
File "/usr/lib/python2.7/httplib.py", line 921, in putrequest
raise CannotSendRequest()
CannotSendRequestor
File "/usr/local/lib/python2.7/dist-packages/pyeapi/client.py", line 730, in run_commands
response = self._connection.execute(commands, encoding, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyeapi/eapilib.py", line 495, in execute
response = self.send(request)
File "/usr/local/lib/python2.7/dist-packages/pyeapi/eapilib.py", line 392, in send
response_content = response.read()
File "/usr/lib/python2.7/httplib.py", line 578, in read
return self._read_chunked(amt)
File "/usr/lib/python2.7/httplib.py", line 636, in _read_chunked
value.append(self._safe_read(chunk_left))
File "/usr/lib/python2.7/httplib.py", line 693, in _safe_read
chunk = self.fp.read(min(amt, MAXAMOUNT))
AttributeError: 'NoneType' object has no attribute 'read'For the moment I would only like to understand if this is known, desired or should be corrected.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels