ember-twiddle icon indicating copy to clipboard operation
ember-twiddle copied to clipboard

Occassional 403 Forbidden from api requests

Open Gaurav0 opened this issue 9 years ago • 5 comments

Rate limiting???

Gaurav0 avatar Mar 28 '16 19:03 Gaurav0

cc/ @joostdevries

Gaurav0 avatar Mar 28 '16 19:03 Gaurav0

  • https://developer.github.com/v3/#increasing-the-unauthenticated-rate-limit-for-oauth-applications
  • https://developer.github.com/changes/2012-10-14-rate-limit-changes/

If this remains a problem I'm guessing we could contact Github to ask them to increase the limit but since these requests are done client-side there's no way for them to make sure it's Twiddle (and not some other app).

An alternative would be to use proxying over API gateway and include client secret which would drastically increase the limit.

joostdevries avatar Apr 12 '16 14:04 joostdevries

Maybe just detect it's happening and tell the user to login? They get a much higher individual rate limit that way I believe

alexspeller avatar Apr 12 '16 15:04 alexspeller

I had the same problem and fixed it by removing proxy declaration in ~.npmrc file.

belgoros avatar Nov 04 '17 09:11 belgoros

If anyone is still having this problem. first try logging in.

Gaurav0 avatar Nov 04 '17 15:11 Gaurav0