redirected you too many times

Please enter here to ask a question about any NASA Science related topics!
Post Reply
earthsound
Posts: 1
Joined: Tue Jun 15, 2021 9:10 pm America/New_York

redirected you too many times

by earthsound » Tue Jun 15, 2021 9:16 pm America/New_York

I'm using a python code with multi-processes to download MYD08(modis water vapor data) . At beginning the downloading is smooth. But a couple days ago, an error raises: " raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects, response=resp) requests.exceptions.TooManyRedirects: Exceeded 30 redirects."
I started 3 processes.

when I use the edge browse to download it directly, I get "ladsweb.modaps.eosdis.nasa.gov redirected you too many times."

So , how to fix the problem? Thanks and Best wishes

Tags:

pankajb64
Posts: 1
Joined: Tue Jun 22, 2021 4:34 am America/New_York

Re: redirected you too many times

by pankajb64 » Tue Jun 22, 2021 4:34 am America/New_York

I'm facing the same problem. Any help is appreciated.

LAADS_UserServices_M
User Services
User Services
Posts: 38
Joined: Mon Sep 30, 2019 8:33 am America/New_York

Re: redirected you too many times

by LAADS_UserServices_M » Tue Jun 22, 2021 2:28 pm America/New_York

That might be due to using an incorrect authorization key. The download redirects are being caused because your authentication is failing and it keeps asking you to login again.
Try again after getting a new ladsweb key. To get a new key login to any ladsweb page using the "Profiles->Login" menu at the top right of any ladsweb page. Then select "Profiles->Generate Token". Use the key that is then displayed, for your downloads.

LAADS_UserServices_M
User Services
User Services
Posts: 38
Joined: Mon Sep 30, 2019 8:33 am America/New_York

Re: redirected you too many times

by LAADS_UserServices_M » Tue Jun 22, 2021 3:53 pm America/New_York

After more investigation we found out that it might be a bug on our side. We have reported it to the appropriate developers. We'll let you know when we have a resolution.

LAADS_UserServices_M
User Services
User Services
Posts: 38
Joined: Mon Sep 30, 2019 8:33 am America/New_York

Re: redirected you too many times

by LAADS_UserServices_M » Wed Jun 23, 2021 10:51 am America/New_York

It looks like this has been fixed. Please let us know if you still see this or other issues related to logins.

Post Reply