Report this

What is the reason for this report?

Does DO have a misconfiguration on Cloudflare?

Posted on October 30, 2021
fush

By fush

Hi, I am receiving a 429 HTTP error code (TooManyRequests) using DO API, it was strange to me, I don’t use the API up to the point of draining 5000 requests in one hour, but it does not matter, I regenerated an Api Key and ran: curl https://api.digitalocean.com/v2/account -H ‘Authorization: Bearer <API_TOKEN>’ -D -

On my local PC, It shows the counter has reset as this is a new Token:

ratelimit-limit: 5000
ratelimit-remaining: 4999

Now on my server, it still returns 429, the response comes from Cloudflare…

Is not this a flaw? If you handle rate limit by yourself why are you letting Cloudflare put their flawed anti-abuse system on top of you? They have caused a DoS on my application now… Your system is not behaving as documented thanks to Cloudflare.

Please give some elaboration on this, and if possible fix this, at this time Cloudflare is taken over your Rate Limit feature and imposing his own which is arbitrary and not following your documentation.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey @fush,

In our public community, we aim to answer open questions about anything SysAdmin, DigitalOcean and beyond. However, we make every attempt to keep personal information safe and so don’t ever access personal account information here. This means we can’t provide help with any account issues.

Please reach out to our amazing support team who will be more than happy to assist you with your account issue! :)

https://www.digitalocean.com/support/

Make sure to include the response headers, specifically cf-ray and x-request-id if it exists.

Regards, - Bobby.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.