Signalen / backend

Backend for Signalen, an application that helps cities manage and prioritize nuisance reports.

Home Page:https://signalen.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Find out why rate-limiting is not working correctly

bartjkdp opened this issue · comments

commented

This makes sure rate-limiting is being applied as designed, e.g. by using memcache backend. After releasing the new release the following errors occured. In the logs requests are blocked with status code 429:

image

image

Rate-limiting should not occur as requests are private endpoints and from logged in users.

Possible explanations:

  • The original IP is not determined correctly (check if we pass X-Forwarded-For correctly).
  • Logged in user is not determined correctly.
commented

@CBuiVNG is fixing this in Amsterdam#819