Username/Password Authentication failed

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
stavstat
Posts: 1
Joined: Wed Dec 28, 2022 6:05 am America/New_York
Answers: 0

Username/Password Authentication failed

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

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
Attachments
ERROR.jpg
ERROR.jpg (42.83 KiB) Not viewed yet

Filters:

mgreene
Posts: 207
Joined: Wed Sep 25, 2019 9:35 am America/New_York
Answers: 2
Been thanked: 1 time

Re: Username/Password Authentication failed

by mgreene » Wed Dec 28, 2022 10:46 am America/New_York

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.

ikaros_b_1982
Posts: 3
Joined: Thu Dec 29, 2022 5:40 am America/New_York
Answers: 0

Re: Username/Password Authentication failed

by ikaros_b_1982 » Thu Dec 29, 2022 5:54 am America/New_York

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!

mgreene
Posts: 207
Joined: Wed Sep 25, 2019 9:35 am America/New_York
Answers: 2
Been thanked: 1 time

Re: Username/Password Authentication failed

by mgreene » Thu Dec 29, 2022 4:53 pm America/New_York

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

ikaros_b_1982
Posts: 3
Joined: Thu Dec 29, 2022 5:40 am America/New_York
Answers: 0

Re: Username/Password Authentication failed

by ikaros_b_1982 » Fri Dec 30, 2022 6:27 am America/New_York

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!
Attachments
urls.pdf
(369.04 KiB) Downloaded 205 times
wget version.jpg
wget version.jpg (14.05 KiB) Not viewed yet
wget downwnload.jpg
wget downwnload.jpg (101.47 KiB) Not viewed yet

mgreene
Posts: 207
Joined: Wed Sep 25, 2019 9:35 am America/New_York
Answers: 2
Been thanked: 1 time

Re: Username/Password Authentication failed

by mgreene » Tue Jan 03, 2023 4:12 pm America/New_York

Thanks for your response, please try the wget command without using the --auth-no-challenge=on option.

ikaros_b_1982
Posts: 3
Joined: Thu Dec 29, 2022 5:40 am America/New_York
Answers: 0

Re: Username/Password Authentication failed

by ikaros_b_1982 » Thu Jan 05, 2023 11:32 am America/New_York

Yes, that worked perfectly!

Thank you very much!

mgreene
Posts: 207
Joined: Wed Sep 25, 2019 9:35 am America/New_York
Answers: 2
Been thanked: 1 time

Re: Username/Password Authentication failed

by mgreene » Thu Jan 05, 2023 11:55 am America/New_York

You are so welcome!

Post Reply