Page 1 of 1

Username/Password Authentication failed

Posted: Wed Dec 28, 2022 6:12 am America/New_York
by stavstat
Hello

I am trying to download GPM IMERG data over a region from GIOVANNI, using wget and a list of urls (as a txt file).

I used the wget script according to the instruction provided but I get the attached error. I know my credential are correct.

I have downloaded data many times using this method and I've never had any problems so far.

Could you please help me?
Thank you in advance

Re: Username/Password Authentication failed

Posted: Wed Dec 28, 2022 10:46 am America/New_York
by GES DISC - mgreene
Hi,
Could you please provide your full wget command that you are using. Also could you try to download one of the URLs from the Web browser
and let us know the outcome. Thank you.

Re: Username/Password Authentication failed

Posted: Thu Dec 29, 2022 5:54 am America/New_York
by ikaros_b_1982
Thank you for your quick reply.

This is the wget command that I use:

NUL > .urs_cookies

wget --load-cookies D:\WGET\.urs_cookies --save-cookies D:\WGET\.urs_cookies --auth-no-challenge=on --keep-session-cookies --user=ikaros_b_1982 --ask-password --content-disposition -i prov.data_fetch+dGPM_3IMERGDL_06_precipitationCal+t20150101000000_20221130235959.txt

And yes, I can download individual files with no problems.

Thank you again for your help!

Re: Username/Password Authentication failed

Posted: Thu Dec 29, 2022 4:53 pm America/New_York
by GES DISC - mgreene
Please provide the following,
1) version of wget (wget -V) 2) rerun this command as wget --load-cookies D:\WGET\.urs_cookies --save-cookies D:\WGET\.urs_cookies --auth-no-challenge=on --keep-session-cookies --user=ikaros_b_1982 --ask-password --content-disposition https://gpm1.gesdisc.eosdis.nasa.gov/data/GPM_L3/GPM_3IMERGDL.06/2022/12/3B-DAY-L.MS.MRG.3IMERG.20221201-S000000-E235959.V06.nc4 and send us the output

Re: Username/Password Authentication failed

Posted: Fri Dec 30, 2022 6:27 am America/New_York
by ikaros_b_1982
1) WGET version --> 1.20 (screenshot attached)
2) I have successfully downloaded the file with the command you provided. (screenshot attached), but I still face the same problem when I try to download the IMERG file list.

For your information, I can download each file from GIOVANNI when I click on it (hyperlinked) but when I try to download it from the url list (txt file from GIOVANNI with all the urls) I get the same error (url list attached as pdf file).

For example if I run (first url from the txt file)

wget --load-cookies D:\WGET\.urs_cookies --save-cookies D:\WGET\.urs_cookies --auth-no-challenge=on --keep-session-cookies --user=ikaros_b_1982 --ask-password --content-disposition https://giovanni.gsfc.nasa.gov/session/C6D4E6B8-E8FF-11E9-9986-384D60654E61/726ED72E-868F-11ED-A2B0-9BCA3D111B09/726EE944-868F-11ED-A2B0-9BCA3D111B09///scrubbed.GPM_3IMERGDL_06_precipitationCal.20150101.nc

I get the same error.

Thank you for your patience!

Re: Username/Password Authentication failed

Posted: Tue Jan 03, 2023 4:12 pm America/New_York
by GES DISC - mgreene
Thanks for your response, please try the wget command without using the --auth-no-challenge=on option.

Re: Username/Password Authentication failed

Posted: Thu Jan 05, 2023 11:32 am America/New_York
by ikaros_b_1982
Yes, that worked perfectly!

Thank you very much!

Re: Username/Password Authentication failed

Posted: Thu Jan 05, 2023 11:55 am America/New_York
by GES DISC - mgreene
You are so welcome!