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

(Bug) API Calls to /domain/*/reports/site/data are hanging #883

Open
ppsweb opened this issue Oct 21, 2021 · 7 comments
Open

(Bug) API Calls to /domain/*/reports/site/data are hanging #883

ppsweb opened this issue Oct 21, 2021 · 7 comments

Comments

@ppsweb
Copy link

ppsweb commented Oct 21, 2021

I'm using postman to call this URL:
https://api.gsa.gov/analytics/dap/v1.1/domain/usajobs.gov/reports/site/data?api_key=MY_API_KEY

I'm fairly sure this exact endpoint was working a few weeks ago but now its just hanging. It's not failing, so theres no error message to report, but it just hangs in Postman with no response.

Other endpoints are working just fine for me, so its not my API Key.

Any idea why this is failing all of a sudden?

@ppsweb
Copy link
Author

ppsweb commented Oct 21, 2021

Follow up: after hanging for a long time, I got a 504 Connection Time Out.

@ppsweb
Copy link
Author

ppsweb commented Nov 18, 2021

Hey @tdlowden just checking in - any idea what happened to this endpoint?

@tdlowden
Copy link
Contributor

Hi ppsweb. We tried to figure this out a few months ago, as referenced at 18F/analytics-reporter-api#122. Honestly, we thought we solved it. But apparently it is still occurring. If I'm being honest, we don't have resources at the moment to try to dig really deep into the API. I will mark it in our roadmap for investigation, but I can't commit to any timeline for a fix. apologies

@ppsweb
Copy link
Author

ppsweb commented Nov 18, 2021

Ok gotcha, thanks for your quick response - I'll follow that other issue to keep track of it. Thanks all of your work on this project! You can close this issue as a duplicate if you want.

@Souvik-Root
Copy link

Hi,

Any updates on this issue?

I tried the API Url - https://api.gsa.gov/analytics/dap/v1.1/domain/weather.gov/reports/domain/data?api_key=MY_API_KEY

It does not return any response and just keeps loading. Then I get 504 Connection Time Out.

@tdlowden
Copy link
Contributor

Hi. No updates as of now. My recommendation would be to try using the limit parameter to decrease the amount of records or run the report without specifying domain and extract the weather.gov information from the larger list. Sorry, we haven't been able to solve this!

@Souvik-Root
Copy link

Souvik-Root commented Feb 28, 2022

@tdlowden

I tried using the limit parameter making the url - https://api.gsa.gov/analytics/dap/v1.1/domain/weather.gov/reports/domain/data?limit=5

I tried this on postman and it took 39.92s to provide me with a response.

image

The API is very slow right now.

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