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

Built-in rate-limiting #3

Open
ghost opened this issue Aug 6, 2015 · 7 comments
Open

Built-in rate-limiting #3

ghost opened this issue Aug 6, 2015 · 7 comments

Comments

@ghost
Copy link

ghost commented Aug 6, 2015

No description provided.

@MelchiSalins
Copy link

Can you expound on this issue please? what exactly is trying to be achieved ?

@ghost
Copy link
Author

ghost commented Jan 14, 2016

The Sumo Logic API has rate limits (documented here). I think the SDK should know these limits and operate accordingly.

@MelchiSalins
Copy link

Thanks, I'll take a look at this and try and come up with a fix for it. I am currently having to put my application to sleep implicitly to avoid the rate limits.

@mritchie712
Copy link

Does anyone have a short term patch for this? I'm getting a

HTTPError: 504 Server Error: GATEWAY_TIMEOUT

And I think it's due to the rate limiting

@ghost
Copy link
Author

ghost commented May 6, 2016

When the REST API rate-limits you will receive a 429: Too many requests. The 504 is a server error which most likely occurred during an outage of some backend service that the API depends on. @mritchie712 please let me know if you're still having this issue.

@ghost ghost closed this as completed May 6, 2016
@ghost ghost reopened this May 6, 2016
@mritchie712
Copy link

In case anyone else is having this issue... I solved it by using the Search Job API instead of the search API.

https://github.com/SumoLogic/sumo-api-doc/wiki/Search-Job-API

@oriadam
Copy link

oriadam commented Aug 25, 2016

Do you know of a PHP implementation of the Search Job API ?
I want to update the Sumologic Google Charts php project

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