[Users] vdsClient not work ,it waiting all the time

bigclouds bigclouds at 163.com
Mon Mar 18 08:23:19 UTC 2013


i use   SecureXMLRPCServer.py to test xml-rpc, just change cert,key,ca to mine.
Encounter the same problem also。
if SSL-reading cause this problem, len is fixed to 1024. socket is syncing to recv all 1024 bytes.


thanks







At 2013-03-18 16:10:10,bigclouds <bigclouds at 163.com> wrote:

hi, vdsclient waiting all the time
client can send command, i see server side return result.
but client  can not return.




[root at localhost mcvda]# python mcvdacli.py 
connecting to 192.168.88.101:54321 ssl True ts /etc/pki/mcvda
<ServerProxy for 192.168.88.101:54321/RPC2>
^CTraceback (most recent call last):
  File "mcvdacli.py", line 124, in <module>
    print server.ping()
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
    return self._ parse_response(h.getfile(), sock)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1382, in _parse_response
    response = file.read(1024)
  File "/usr/lib64/python2.6/socket.py", line 383, in read
    data = self._sock.recv(left)
  File "/usr/lib64/python2.6/ssl.py", line 215, in recv
    return self.read(buflen)
  File "/usr/lib64/python2.6/ssl.py", line 136, in read
    return self._sslobj.read(len)
KeyboardInterrupt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130318/b64b23ae/attachment-0001.html>


More information about the Users mailing list