-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update HiTIDE to internally request calls to use POST instead of GET to avoid 413 error #58
Comments
@davidcolemanjpl Please test this in UAT. You may need to do a large # of granules download to really test it. |
Test in Harmony OPS v0.0.1043: (6/12/24) SWOT_L2_LR_SSH_BASIC_2.0 (C2799465428-POCLOUD) API Requests:
Job complete_with_errors https://harmony.earthdata.nasa.gov/C2799465428-POCLOUD/ogc-api-coverages/1.0.0/collections/all/coverage/rangeset?forceAsync=true&subset=lat(34.84931:35.83342)&subset=lon(-125.57812:-124.73438)&subset=time("2024-01-01T18:00:00%2B00:00":"2024-02-21T07:00:00%2B00:00")&skipPreview=true
{
% curl --location --request GET 'https://harmony.earthdata.nasa.gov/C2799465428-POCLOUD/ogc-api-coverages/1.0.0/collections/all/coverage/rangeset?subset=lat(-30:20)&subset=lon(120:160)&subset=time("2023-05-01T00:00:00":"2024-12-21T23:59:59.999999")&maxResults=10'
Actual output Results: (??) see Harmony job statuses: https://harmony.earthdata.nasa.gov/jobs/f2ce8f65-1fb6-49ff-ab83-29cde1a5e061 or |
@jbyrne6 Please update this with a test case for David. Specifically for testing HiTIDE with a large number of granules to exercise the POST. Maybe you could even define a test case in OPS that is failing (error 413) and David can test it in UAT and it should work. |
@jbyrne6 Where are we with this one? |
From Stepheny:
While testing the data subscriber harmony integration, I ran into a “413 request entity too large” error when submitting too many granule ID’s in my GET request to Harmony. I asked the Harmony team about this and they suggested I use a POST request instead of a GET request, which won’t have that issue and is what EDSC uses when submitting Harmony jobs. I figured I’d let you know, as this should impact HiTIDE as well if a user selects a large number of granules
The text was updated successfully, but these errors were encountered: