Closed weberam2 closed 1 year ago
Hi, Thanks for your fast response
ok, so I added /xnat
to my XNAT_HOST but still get an error
================================================================
Checking your settings for XNAT
No host specified, using XNAT_HOST environment variable.
Checking login for host=https://3tfmri-xnat.bcchr.ca/xnat
Checking connection:host=https://3tfmri-xnat.bcchr.ca/xnat, user=<user>
--> error: Wrong login.
================================================================
I wasn't able to open the URL https://3tfmri-xnat.bcchr.ca on our end. Is the URL network restricted?
Thanks, Karthik
From: Alexander Weber @.> Sent: Thursday, November 17, 2022 12:19 PM To: VUIIS/dax @.> Cc: Subscribed @.***> Subject: Re: [VUIIS/dax] .netrc file with XNAT that has login, user and password (Issue #409)
Hi, Thanks for your fast response
ok, so I added /xnat to my XNAT_HOST but still get an error
— Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FVUIIS%2Fdax%2Fissues%2F409%23issuecomment-1319030113&data=05%7C01%7Ckarthik.ramadass%40vanderbilt.edu%7C5dbafa4e57b747c4c88b08dac8c84efa%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C638043059899448341%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=X0v0jOxWI%2Fhu2%2FC8IXIDx%2BGta8IrXjuCoV4cmHRq%2BSs%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIPO7BI2OXUSUPOBPO2LKX3WIZZMFANCNFSM6AAAAAASDUWNVE&data=05%7C01%7Ckarthik.ramadass%40vanderbilt.edu%7C5dbafa4e57b747c4c88b08dac8c84efa%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C638043059899448341%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=v4NJuRs6BGJgC4BkqVZB9C4qRb%2BOsUqgVVtJXEZMQ2A%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Sorry, I should have mentioned that Yes, it requires a VPN However, the computer I am trying to use dax on is on that VPN
Cheers
Is your login an institutional one, handled via LDAP? Or an xnat-specific one (localdb)? I am not sure how pyxnat.Interface works with LDAP credentials.
You might try deleting the .netrc and just entering username/password manually to XnatCheckLogin, if you haven't already.
When i get rid of my ~/.netrc file, I just get this
XnatCheckLogin
================================================================
Checking your settings for XNAT
No host specified, using XNAT_HOST environment variable.
Checking login for host=https://3tfmri-xnat.bcchr.ca/xnat
ERROR:login not found, set in ~/.netrc
Closing, because we @VUIIS/vuiis-cci-team are not planning related changes to the codebase. Always open to suggestions though if I've missed anything in the discussion above.
Hi I am trying to login to my XNAT with dax but am having issues My xnat is: https://3tfmri-xnat.bcchr.ca If you go there with a browser, you will see there is a Login option, then a user and password
I tried following the instructions at https://dax.readthedocs.io/en/latest/installing_dax_in_a_virtual_environment.html
and
export XNAT_HOST=https://3tfmri-xnat.bcchr.ca
When I run
XnatCheckLogin
I get:
I'm wondering if I also need to include a 'login' in my .netrc file? or set user as BCCHR/? OR SOMETHING like that...
I can login to my XNAT on my browser with my user and pwd no problem...
Any insight would help
Cheers,
Alex W.