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

Dan Kenigsberg danken at redhat.com
Mon Mar 18 05:56:46 EDT 2013


On Mon, Mar 18, 2013 at 04:23:19PM +0800, bigclouds wrote:
> 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.
> 

What you are doing is not clear to me. Are you connecting to the same
host?

SecureXMLRPCServer has a test script of its own - does it work for you?
See
  class __Test(object):
      """Self-signed key, generated with
         make -C /etc/pki/tls/certs /tmp/selfsign.pem
         with CN=127.0.0.1
      """

> 
> 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
> 
> 

> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list