Page 1 of 1

redirected you too many times

Posted: Tue Jun 15, 2021 9:16 pm America/New_York
by earthsound
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

Re: redirected you too many times

Posted: Tue Jun 22, 2021 4:34 am America/New_York
by pankajb64
I'm facing the same problem. Any help is appreciated.

Re: redirected you too many times

Posted: Tue Jun 22, 2021 2:28 pm America/New_York
by LAADS_UserServices_M
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.

Re: redirected you too many times

Posted: Tue Jun 22, 2021 3:53 pm America/New_York
by LAADS_UserServices_M
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.

Re: redirected you too many times

Posted: Wed Jun 23, 2021 10:51 am America/New_York
by LAADS_UserServices_M
It looks like this has been fixed. Please let us know if you still see this or other issues related to logins.