Open g4s8 opened 6 years ago
@g4s8/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!
@0crat wait @yegor256 I need more details with this issue
The current API limit rate is 5000 request per hour noted here. @yegor256, is Conditional Requests possible to do?
@fybwid yes, we can do conditional requests, why not?
@g4s8 The current API limit rate is 5000 request per hour noted here and your log also display it at first line.
My opinion, is not the 0pdd who can't get the webhook but it's because the current user is over the allowed quota.
@fybwid but this log was posted as a comment by 0pdd user, so current user is 0pdd in this log. And I don't think it's a webhook quota, but API quota - 0pdd uses Github API to post comments and close tickets.
@g4s8 yes, I'm agree that it wasn't the webhook quota but API quota. It's the same as what I said before, and for more details, on your first line log 403 - API rate limit exceeded for user ID 24456188. // See: https://developer.github.com/v3/#rate-limiting
, is this user ID 24456188
belong to 0pdd?
Also in my opinion, the webhook process is happened but because it's exceed the API limit rate then we got 403
.
@fybwid yes, it's 0pdd user, see https://api.github.com/user/24456188
I've find sample here: https://github.com/rails/rails/blob/master/actionpack/lib/action_controller/metal/conditional_get.rb
and here: https://www.rubydoc.info/gems/sinatra/Sinatra%2FHelpers:etag
Still, I need more enlightenment with applying the conditional requests.
0pdd returns an error for a webhook: