-
Notifications
You must be signed in to change notification settings - Fork 56
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
Rate limited response error causes infinite loop #352
Comments
@jborichevskiy sorry for the trouble, and thanks for the offer to help! Email [email protected] if you need us to temporarily increase your monthly error quota as a result of this. @sorentwo what solution do you like best? |
@joshuap I think we should use |
Sounds good, thanks! @jborichevskiy would you like to submit that PR? |
Sure thing - will do in a few! |
@joshuap I made an oops - it is already
|
Hi, any update on that? Having the same issue with this. |
Apologies - been sidetracked with some other work. Haven't figured out a fix here yet but will update when I do. |
We had another user report something similar—they received thousands of "Honeybadger rate limit exceeded" errors. I'm looking to get this wrapped up in a few weeks. |
From @rabidpraxis:
|
I am seeing an infinite notification loop happen when hitting any exception reported by Honeybadger while having exceeded our account rate limit.
Upon reporting, the first response is
[warn] [Honeybadger] API failure: "{\"error\":\"Rate Limit Exceeded\"}
. It looks like this failure is then being caught atclient.ex:162
, but thenLogger.error
is called - sending this new notification and continuing the loop. This continues until the server is restarted.Proposed fixes
Switching the calls from
Logger.error
toLogger.warn
stops the loop from starting. I'm happy to submit a PR with this but I'm not sure this is the ideal fix for everyone.An alternative might be to use @sezaru's exclude_error config option PR #342 but it would need to be merged in first.
Open to other solutions or ideas here! Thanks.
Version info
Using honeybadger 0.16.0.
Reproduced on multiple systems (Elixir 1.11.0-dev (82dca55) (compiled with Erlang/OTP 23) on MacOS 10.15.7) and (elixir 1.10.2 / Erlang 22.2 on Ubuntu 18.04.5 LTS).
Front conversations
The text was updated successfully, but these errors were encountered: