help with xsync alias token and some feedback on xsync docs

79 views
Skip to first unread message

John McLean

unread,
Feb 18, 2022, 6:07:39 AM2/18/22
to xnat_discussion
Hi,

xsync looks like it is an amazing tool, I'm trying to connect one xnat (v1.8.2.2) to another (v1.8.3) in different part of same org but after installing and working through setup guide, at point of trying to add remote server credentials i got the error. 'Could not get alias token. Please check username and password. '

I haven't touched alias token in XNAT before so it threw me off a bit. I went and looked at: XNAT Documentation: Generating an Alias Token for Scripted Authentication

I work through this and added / validated tokens and tried again but still no luck.

I went and checked xapi and xsync logs. xapi.log states...

2022-02-18 10:28:46,964 [http-nio-8080-exec-8] ERROR org.nrg.xapi.rest.XapiRestControllerAdvice - HTTP status 500: Request by user johnmc to URL /xapi/xsync/remoteREST caused an internal server error
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://xnat-crf.xggc.scot.nhs.uk/data/services/tokens/issue": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

We are continuing to look into this but any advice about how to work through this would be much appreciated? 

Thanks
John McLean 

  

Moore, Charlie

unread,
Feb 18, 2022, 3:30:42 PM2/18/22
to xnat_di...@googlegroups.com
Hi John,

That looks like your source XNAT instance does not like the SSL cert for your destination server. If you try something like this from your source server​:

...then you'll probably see a similar error, which would confirm the issue.

Thanks,
Charlie

From: xnat_di...@googlegroups.com <xnat_di...@googlegroups.com> on behalf of John McLean <johnmc...@gmail.com>
Sent: Friday, February 18, 2022 5:07 AM
To: xnat_discussion <xnat_di...@googlegroups.com>
Subject: [XNAT Discussion] help with xsync alias token and some feedback on xsync docs
 

* External Email - Caution *

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/4ef032eb-2c5c-461c-8a38-d890160b49bdn%40googlegroups.com.

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Reply all
Reply to author
Forward
0 new messages