Error install Pipeline 1.7.4.

42 views
Skip to first unread message

alvaro....@gmail.com

unread,
Jan 16, 2018, 12:58:27 PM1/16/18
to xnat_discussion
Hello,

I'm trying to install the XNAT Pipeline 1.7.4 and get the following time-out error:

./gradlew
Downloading https://services.gradle.org/distributions/gradle-4.1-all.zip

Exception in thread "main" java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:579)
        at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625)
        at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
        at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
        at org.gradle.wrapper.Download.downloadInternal(Download.java:66)
        at org.gradle.wrapper.Download.download(Download.java:51)
        at org.gradle.wrapper.Install$1.call(Install.java:62)
        at org.gradle.wrapper.Install$1.call(Install.java:48)
        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
        at org.gradle.wrapper.Install.createDist(Install.java:48)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)


has anyone a hint where to check?

Thanks
Alvaro

Bogdan Mitrea

unread,
Jan 18, 2018, 11:23:11 AM1/18/18
to xnat_discussion
Make sure you have internet access and that access to the gradle website is not blocked by a firewall.

Herrick, Rick

unread,
Jan 18, 2018, 11:36:33 AM1/18/18
to xnat_di...@googlegroups.com

If you don’t have internet access on the machine where you’re installing the pipeline engine, you can download that zip file directly on another machine then transfer it over. You then need to move or copy the gradle-4.1-all.zip file into the folder:

 

~/.gradle/wrapper/dists/gradle-4.1-all/bzyivzo6n839fup2jbap0tjew

 

That ~ should be the home folder for the user installing the pipeline. This is usually the XNAT user, but it’s fine if not: you just need to make sure that, once the pipeline engine is installed, you set the permissions so that the XNAT user can access the pipeline engine and write to files there. The easiest (and best) way is just to make the XNAT user the owner of the pipeline engine folder, e.g.:

 

$ chown -R xnat.xnat /data/xnat/pipeline

 

If you install the pipeline engine as the XNAT user, you won’t need to bother with that.

 

-- 

Rick Herrick

Sr. Programmer/Analyst

Neuroinformatics Research Group

Washington University School of Medicine

Phone: +1 (314) 273-1645

--
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 post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.

 


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