Page 1 of 1

getanc.py fails on RHEL 6.10 but works on RHEL 7.10

Posted: Sun Jun 27, 2021 7:17 pm America/New_York
by smasse
The following command works on RHEL 7.10 but fails on RHEL 6.10

/usr/local/seadas/7.5/scripts/getanc.py --force-download --mission=aqua --start=2021167231218
*** ERROR: Authentication Failue retrieving:
*** oceandata.sci.gsfc.nasa.gov/ob/getfile/N202116800_MET_NCEPR2_6h.hdf
*** Please check that your ~/.netrc file is setup correctly and has proper permissions.
***
*** see: https://oceancolor.gsfc.nasa.gov/data/download_methods/
***

I am using the same access credentials (same .netrc with same ownership and permissions) on both machines.
The last time I successfully downloaded ancillaries on RHEL 6.10 was on April 15, 2021.

Is there a way to check the download without the Python script to see if it is the problem?

Thanks.

Re: getanc.py fails on RHEL 6.10 but works on RHEL 7.10

Posted: Fri Jul 02, 2021 6:33 am America/New_York
by gnwiii
When NASA moved to HTTPS there were problems with older linux distros that didn't support any of the ciphers NASA was using. The forum posts from that period include ways to diagnose problems with https connections. See
<viewtopic.php?f=7&t=1046&sid=9f22b450f8 ... d52d0f5df9> and similar posts from that period.

Once you understand the issue you may get advice on ways to work around them on CentOS 6 from CentOS forums.