Problem with @update.afni.binaries using proxy connection

Hi AFNI people!

I’m trying to uppdate the current version of AFNI running on our analysis servers (and my local computer) while connected to a network using a proxy for internet access. This have worked in the past but I can no longer get it to update! The same problem occurs on both analysis servers and my local computer. The proxy is fine since I can both use a browser and install packages from the terminal. For example, this installed Kate without problem in the same login session:

yum install kate

When connecting my local computer to the ordinary network I could update AFNI , which means that the servers are not down. The output below seems to suggest that the proxy is working as well:
“Connecting to proxy.hu.liu.se (proxy.hu.liu.se)|130.236.5.152|:9999… connected.
Proxy request sent, awaiting response… 200 OK”

Any thoughts? The version here does not seem up to date so I cannot do it the @update.afni.binaries -local way.


[admin@maul ~]$ tcsh /usr//@update.afni.binaries -package linux_openmp_64
-- have AFNI binaries under /usr/local/afni/abin
-- install dir: using existing /usr/local/afni/abin
-- attempting to install package linux_openmp_64 under
   install dir: /usr/local/afni/abin...
-- have install dir
nuking old temporary directory...
++ working in new temp dir, .tmp.install
++ getting install prog linux_openmp_64/@update.afni.binaries ...
--2016-08-11 11:30:36--  http://afni.nimh.nih.gov/pub/dist/bin/linux_openmp_64/@update.afni.binaries
Resolving proxy.hu.liu.se (proxy.hu.liu.se)... 130.236.5.152
Connecting to proxy.hu.liu.se (proxy.hu.liu.se)|130.236.5.152|:9999... connected.
Proxy request sent, awaiting response... 200 OK
Length: 32816 (32K) [text/plain]
Saving to: ‘@update.afni.binaries’

100%[===============================================================================================================================>] 32 816      --.-K/s   in 0,1s    

2016-08-11 11:30:36 (257 KB/s) - ‘@update.afni.binaries’ saved [32816/32816]

++ using updated @update.afni.binaries, instead...

++ running: tcsh tmp.@update.afni.binaries -no_recur -package linux_openmp_64
-- running tmp.@update.afni.binaries version 2.9, May 5, 2016
-- have AFNI binaries under /usr/local/afni/abin
-- install dir: using existing /usr/local/afni/abin
-- will download from https://afni.nimh.nih.gov via wget

-- attempting to install package linux_openmp_64 under
   install dir: /usr/local/afni/abin...
-- have install dir
deleting old temporary directory...
++ working in new temp dir, .tmp.install
-- skipping update of tmp.@update.afni.binaries
++ downloading test file: wget linux_openmp_64/afni ...
--2016-08-11 11:30:36--  https://afni.nimh.nih.gov/pub/dist/bin/linux_openmp_64/afni
Resolving afni.nimh.nih.gov (afni.nimh.nih.gov)... 156.40.187.114, 2607:f220:419:4103::114
Connecting to afni.nimh.nih.gov (afni.nimh.nih.gov)|156.40.187.114|:443... failed: Connection timed out.
Connecting to afni.nimh.nih.gov (afni.nimh.nih.gov)|2607:f220:419:4103::114|:443... failed: Network is unreachable.
rm: cannot remove ‘afni’: No such file or directory

++ update needed, installing...

++ downloading full package: wget linux_openmp_64.tgz ...
--2016-08-11 11:32:45--  https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz
Resolving afni.nimh.nih.gov (afni.nimh.nih.gov)... 156.40.187.114, 2607:f220:419:4103::114
Connecting to afni.nimh.nih.gov (afni.nimh.nih.gov)|156.40.187.114|:443... failed: Connection timed out.
Connecting to afni.nimh.nih.gov (afni.nimh.nih.gov)|2607:f220:419:4103::114|:443... failed: Network is unreachable.
** failed to download package https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz

That is peculiar. The program was able to download
the current version of itself, but was not able to
download the tgz package. Perhaps we have a rule
for that. I will check with Brian.

But the -local way should work. What version are
you suggesting does not seem up to date? The
linux_openmp_64.tgz package is currently from Aug 6.
We have not done a build in a few days.

Maybe you looked at the timestamps under pub/dist/tgz.
Those are unfortunately not usually accurate. We are
not allowed to directly show the filesystem contents,
so those dates are usually old. But the packages are
current.

To be sure, what happens when you go after that
package?

wget [https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz](https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz)
  • rick

The version on the website is said to be:


Note

The current latest and greatest version of AFNI is: 16.1.13

But when running afni -ver on my updated system is says 16.2.09. That is why I did not try the -local procedure! I’m I missing something?

When running the suggested wget command I run into (I think) the exact same problem (both servers and my desktop):


[root@maul Downloads]# wget https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz
--2016-08-11 15:46:54--  https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz
Resolving afni.nimh.nih.gov (afni.nimh.nih.gov)... 156.40.187.114, 2607:f220:419:4103::114
Connecting to afni.nimh.nih.gov (afni.nimh.nih.gov)|156.40.187.114|:443...

Then nothing happens and the network times out.

So, should I download this locally on my other computer, using another connection, and then send it to the servers via the network and run?:


tcsh @update.afni.binaries -package linux_openmp_64 -local ~/Downloads/linux_openmp_64.tgz

I wonder why afni does not allow me to download it via wget using the proxy. Because I can download other stuff with wget. E.g. a picture from a newspaper site if I type wget (adress to image).

That gave me the .jpg on my desktop!

Thanks.

Your 16.2.09 version is current, that particular
web page does not yet have a mechanism to report
the current version (though I believe that is the
intention).

Use the -local_package option, without -package.

For now, use the local method to update the
computers that cannot see the afni site. We
will try to figure out what goes wrong when
downloading the other items.

Thanks,

  • rick

Hi again,

I have now successfully updated afni to version 16.2.09 using the -local_package method. The binaries from the page was updated even though the version displayed on the page was old.

Regarding the proxy problems: We have had some problems accessing the afni pages, such as the function help pages and this message board. When trying to get to an afni page it takes forever but eventually the page loads. It is better now but we have had issues. I’m not sure if the issue is with our proxy our if your page is proxy hostile… :). Other pages works fine though and we did have the wget problem. Might be worth looking into!

Thanks!

Robin

Hi Robin.

If you notice a time when there is a
problem, please feel free to send an
email message (click on my name).

Thanks!

  • rick

Sure!! But the wget command still does not work even though I can access this message board.

Hi Robin,

Would you please give wget another try? Brian noticed
that you may be running into a problem using IPv6, so
maybe the proxy isn’t exactly the problem.

Please let us know.

Thanks,

  • rick