WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] socket.error

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] socket.error
From: babu krthk <r.g.babukarthik@xxxxxxxxx>
Date: Wed, 27 Jul 2011 02:57:01 -0700
Delivery-date: Wed, 27 Jul 2011 02:59:34 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=MZac2Wul9bm5jyj4BklX6kS9JjvYK14fV5I6Xfy7r2k=; b=Z+KryM1FV1P8qko68rm4EdSH2ZJYlbBouHNNrNNLcivHE/lrwq17wP1qQGIXbRikWn 76UhoTaJxpX9GpoW/UVZVtoA3pIOzp0vmKTWEvX5X79u0v8WMpj9xcqAHreRjwR+P/0i +nKbcFd8Sl2FRUkP8nhLxLHm3VGN0PhJRbslE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
hi i am using sdk when i try to create a session
with xen cloud  platform , its showing me
the following error
please help me , iam using xenapi sdk and python





[root@localhost python]# python connection.py
(104, 'Connection reset by peer')
Traceback (most recent call last):
  File "migration.py", line 6, in ?
    session.xenapi.login_with_password("root","karthik")
  File "/usr/lib/python2.4/site-packages/XenAPI.py", line 229, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.4/site-packages/XenAPI.py", line 124, in xenapi_request
    self._login(methodname, params)
  File "/usr/lib/python2.4/site-packages/XenAPI.py", line 148, in _login
    result = _parse_result(getattr(self, 'session.%s' % method)(*params))
  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.4/xmlrpclib.py", line 1131, in request
    errcode, errmsg, headers = h.getreply()
  File "/usr/lib/python2.4/httplib.py", line 1143, in getreply
 response = self._conn.getresponse()
  File "/usr/lib/python2.4/httplib.py", line 872, in getresponse
    response.begin()
  File "/usr/lib/python2.4/httplib.py", line 336, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.4/httplib.py", line 294, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.4/socket.py", line 325, in readline
    data = ""> socket.error: (104, 'Connection reset by peer')

--
R.G.BABUKARTHIK

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] socket.error, babu krthk <=