The OONI API seems to be returning 429 for several requests. It seems we do not forward the X-Real-Ip header used for ratelimiting: https://github.com/ooni/backend/blob/master/api/ooniapi/rate_limit_quotas.py#L98. This allows us to set the X-Real-IP http header in the backend-proxy and forward it to the service running host.
The OONI API seems to be returning
429
for several requests. It seems we do not forward theX-Real-Ip
header used for ratelimiting: https://github.com/ooni/backend/blob/master/api/ooniapi/rate_limit_quotas.py#L98. This allows us to set theX-Real-IP
http header in the backend-proxy and forward it to the service running host.