Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81933 > unrolled thread

Not Able to Log in on XNAT server through PyXNAT

Started bysuyash.d.b@gmail.com
First post2014-12-04 10:43 -0800
Last post2014-12-05 12:36 -0800
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Not Able to Log in on XNAT server through PyXNAT suyash.d.b@gmail.com - 2014-12-04 10:43 -0800
    Re: Not Able to Log in on XNAT server through PyXNAT dieter <dieter@handshake.de> - 2014-12-05 08:41 +0100
      Re: Not Able to Log in on XNAT server through PyXNAT suyash.d.b@gmail.com - 2014-12-05 12:36 -0800

#81933 — Not Able to Log in on XNAT server through PyXNAT

Fromsuyash.d.b@gmail.com
Date2014-12-04 10:43 -0800
SubjectNot Able to Log in on XNAT server through PyXNAT
Message-ID<45a19adc-0245-4410-9017-1b86a4245719@googlegroups.com>
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 "<stdin>", line 1, in <module>
  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



Before accessing XNAT using REST API, do i need to make any changes/install something on XNAT server/my pc(have installed Pyxnat)..?

Many Thanks in Advance..

Suyash  

[toc] | [next] | [standalone]


#81986

Fromdieter <dieter@handshake.de>
Date2014-12-05 08:41 +0100
Message-ID<mailman.16613.1417765299.18130.python-list@python.org>
In reply to#81933
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 "<stdin>", line 1, in <module>
>   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).

[toc] | [prev] | [next] | [standalone]


#82020

Fromsuyash.d.b@gmail.com
Date2014-12-05 12:36 -0800
Message-ID<ce89b9dd-3e58-4f05-befa-f620e98f3f95@googlegroups.com>
In reply to#81986
On Friday, December 5, 2014 2:41:54 AM UTC-5, dieter wrote:
> 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 "<stdin>", line 1, in <module>
> >   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).

Thanks a ton for the help. i will check with our server administrator.
 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web