-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
STAC requests failing #386
Comments
We are seeing the same. There was significant down time when querying HLS throughout the day on Thursday and Friday of last week (9 and 10 Jan): And still downtime on Monday, though less than the previous days: There also appears to be a consistent spike of downtime around 1 PM pacific even on weekends: Same errors are being seen as by @waltersdan above. |
Going to investigate and determine if the signature of the data-harvesting has been updated if so we will readjust our limiting rules and look to see if theres another solution we can make to permanently fix this. Thank you we appreciate your patience |
I'm not sure if this helps, but as an example today, after a period of inactivity, I tried a single STAC query and on the very first attempt it gave me the 'CMR Search rate exceeded' message. |
Hello, wanted to reach out and mention that we were discussing this yesterday. We are going to reassess our current throttling rules around @waltersdan That is helpful thank you |
@waltersdan Are you still running into issues? I have further increased the allowed quantity of requests that we allow through |
Thanks for the update! At first glance this morning things seem to be running smoothly - we'll keep an eye on it for the next few days and let you know. We are using pystac_client, which I understand builds on pystac. A minimal example of our current code:
Is there any preference for using the 'stac' vs 'cloudstac' url to access HLS specifically? If you have any adjustments or best practices that would help on the server end, would certainly appreciate it! |
Hi, I'm also facing this error this morning, here's the error log:
Similarly, this seems to happen randomly over time. The url I'm using is also |
Just to add on, I have also seen the CMR Search rate exceeded come up from time to time when accessing HLS L30/S30 from 'https://cmr.earthdata.nasa.gov/stac/LPCLOUD'. I have only recently returned to accessing HLS from STAC - and have not been keeping a close eye on updates over the last couple of months. But will watch this space and the Earthdata forums! I have found that restarting the kernel sometimes allows me to continue my processing (I iterate through spatial tiles, so can pick up where I left off pretty easily), though other times the error comes up again right away. Tracks back to:
Where bbox is the current tile coordinates I am processing (usually 60 x 60 km2), along with a given datetime range (usually I do a year at a time, currently grabbing 2024 data). catalog comes from: The useful part of the error:
Is there a way to see how close we are to hitting the throttling rules mentioned in https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html#request-moderation? |
@ZZMitch -- That document mentions a Again, that's assuming the value is propagated. |
@waltersdan There is not a preference between @ZZMitch CMR does not have an API to query against the limit to see how close someone is to hitting the throttling rules I asked about it, it is not something on their roadmap to implement. One note is that not all the rules are per user some are sheer volume so unfortunately that means that it is possible that a minority of users can lead to service throttled for other users (Again this is a consequence of needing to protect the CMR API more broadly) |
Hello,
We've been seeing STAC requests failing fairly frequently for the last few days. The requests fail with various errors, and seem to continue failing on retries for a while. It seems to vary from a few minutes to several hours.
Specifically, we have been querying https://cmr.earthdata.nasa.gov/stac/LPCLOUD for the HLSL30 and HLSS30 collections. We have also tried the cloudstac endpoint with similar results. Some examples of the errors have been:
"errors":["GraphQL Error (Code: 504): {\\"response\\":{\\"message\\":\\"Endpoint request timed out\\",\\"status\\":504,\\"headers\\":{}},\\"request\\":{\\"query\\":\\"\\\\n query getCollectionsIds($params: CollectionsInput!) {\\\\n collections(params: $params) {\\\\n count\\\\n cursor\\\\n items {\\\\n conceptId\\\\n entryId\\\\n title\\\\n provider\\\\n }\\\\n }\\\\n }\\\\n\\",\\"variables\\":{\\"params\\":{\\"provider\\":\\"LPCLOUD\\",\\"limit\\":100}}}}"]}',)
{"errors":["An Internal Error has occurred.: {\\"response\\":{\\"errors\\":[{\\"message\\":\\"An Internal Error has occurred.\\",\\"locations\\":[{\\"line\\":3,\\"column\\":5}],\\"path\\":[\\"collections\\"],\\"extensions\\":{\\"code\\":\\"CMR_ERROR\\",\\"stacktrace\\":[\\"GraphQLError: An Internal Error has occurred.\\",\\" at _n (/var/task/src/graphql/handler.js:3968:9410)\\",\\" at Mc.parse (/var/task/src/graphql/handler.js:3968:17828)\\",\\" at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\\",\\" at async Object.k0e [as collectionSourceFetch] (/var/task/src/graphql/handler.js:4044:16429)\\",\\" at async r (/var/task/src/graphql/handler.js:4044:34423)\\"]}}],\\"data\\":null,\\"status\\":200,\\"headers\\":{}},\\"request\\":{\\"query\\":\\"\\\\n query getCollectionsIds($params: CollectionsInput!) {\\\\n collections(params: $params) {\\\\n count\\\\n cursor\\\\n items {\\\\n conceptId\\\\n entryId\\\\n title\\\\n provider\\\\n }\\\\n }\\\\n }\\\\n\\",\\"variables\\":{\\"params\\":{\\"provider\\":\\"LPCLOUD\\",\\"limit\\":100}}}}"]}',)
{"errors":["Oops! Something has gone wrong. We have been alerted and are working to resolve the problem. Please try your request again later."]}',) -> {"errors":["Oops! Something has gone wrong. We have been alerted and are working to resolve the problem. Please try your request again later."]}
<html>\n <head>\n <title>Request Limit Exceeded</title>\n </head>\n <body>\n <p>CMR Search rate exceeded. Please refer to the following for guidance: https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html#request-moderation\n</p>\n </body>\n</html>
The text was updated successfully, but these errors were encountered: