Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'tutorial': 0.03; 'intermediate': 0.07; 'skip:" 60': 0.07; '__init__': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '(without': 0.16; 'behavior).': 0.16; 'blocked': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:Not': 0.16; 'unexpectedly': 0.16; 'unhappy': 0.16; 'all,': 0.19; 'trying': 0.19; 'working.': 0.19; 'reset': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; '(or': 0.24; 'url:edu': 0.26; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'raise': 0.29; '"",': 0.31; '>>>>': 0.31; 'firewall': 0.31; 'writes:': 0.31; 'file': 0.32; '(most': 0.33; 'url:non-standard http port': 0.33; 'skip:_ 10': 0.34; 'problem': 0.35; 'connection': 0.35; 'charset:us-ascii': 0.36; 'remote': 0.38; 'server': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'mentioned': 0.61; 'simply': 0.61; 'received:217': 0.63; 'email addr:gmail.com': 0.63; 'reached': 0.63; 'our': 0.64; 'provide': 0.64; 'contact': 0.67; 'presented': 0.69; 'connection.': 0.74; 'university.': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: Not Able to Log in on XNAT server through PyXNAT Date: Fri, 05 Dec 2014 08:41:26 +0100 References: <45a19adc-0245-4410-9017-1b86a4245719@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e0b085.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:9Ni04I+nZFM58JMxLUmg/fEPSRk= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417765299 news.xs4all.nl 2964 [2001:888:2000:d::a6]:41575 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81986 suyash.d.b@gmail.com writes: > Hello All, > > I have installed pyxnat on my mac. With pyxnat i am trying to access XNAT server in our university. As mentioned on the tutorial i tried both ways, neither is working. Following error is displayed: > >>>> central=Interface(server='http://hd-hni-xnat.cac.cornell.edu:8443/xnat') > User: sdb99 > Password: > Traceback (most recent call last): > File "", line 1, in > File "/Library/Python/2.7/site-packages/pyxnat/core/interfaces.py", line 228, in __init__ > self._get_entry_point() > File "/Library/Python/2.7/site-packages/pyxnat/core/interfaces.py", line 268, in _get_entry_point > raise e > socket.error: [Errno 54] Connection reset by peer "Connection reset by peer" means that the remote server unexpectedly closed the connection. This may be a problem at the remote site or an intermediate firewall or the remote site may be unhappy with the request is hase been presented - and instead of an error response simply closed the connection (bad behavior). I would try to contact the administrators of your "XNAT" server whether they can provide some help: * did your request reached the server (or was it blocked on its way to the server)? * if yes, why was the connection closed (without response).