Skip to content
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

Need a better error message when requesting too much data #821

Open
ktarbet opened this issue Jul 31, 2024 · 2 comments
Open

Need a better error message when requesting too much data #821

ktarbet opened this issue Jul 31, 2024 · 2 comments

Comments

@ktarbet
Copy link
Collaborator

ktarbet commented Jul 31, 2024

I'm querying hourly data, and once I request 59 or more days ~1400 values, I get a generic error "System Error" without any details.

A message that indicates something like 'your request was too large' would be helpful.

Here is an example:

https://cwms-data.usace.army.mil/cwms-data/timeseries?name=TULA.Flow.Inst.1Hour.0.Ccp-Rev&office=SWT&begin=2024-06-02T15%3A34%3A27.308382&end=2024-07-31T15%3A34%3A27.308382
@Enovotny
Copy link

Enovotny commented Aug 1, 2024

this is only an issue on the DMZ. If you query cwbi-test or other district databases you will not get that error. It is an issue with the DMZ database. once we move to cwms-data to grab from CWBI it shouldn't be an issue.

@krowvin
Copy link
Collaborator

krowvin commented Nov 12, 2024

@MikeNeilson is it possible to return in the 502/503 response from HAProxy to also state what Karl says "Request was too large"

As a holdover until we go to CWBI.

@DanielTOsborne suggested we could update documentation to be more explicit and add documentation for how to handle proxy errors for end users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants