Discord API blocked by Cloudflare (Error 1015) from my server's IP
Posted by rayoness in discord-bots.
I'm hosting a small Discord bot (Python, discord.py) on your platform. It worked at first, but now requests from my server to discord.com are being blocked by Cloudflare with "Error 1015 – You are being rate limited" (the page says discord.com has temporarily banned the IP address). The bot is very small and sends only a few requests (slash commands in a study group server), so I don't believe it is causing the limit itself. I suspect the outgoing IP address of the node might be shared with other servers and got blocked, but I can't verify that. What happens: The bot connects and receives commands. Responding to a command works, but sending follow up messages fails with: HTTPException: 429 Too Many Requests, and the response body is a Cloudflare page "Access denied discord.com used Cloudflare to restrict access". Details from my server console: Error: Cloudflare Error 1015, Ray ID: a513c95a9b48b0fa IP shown by Cloudflare: 78.154.103.6 Python 3.14.8, discord.py 2.x Could you please: 1. Check whether this IP address is shared and currently blocked by Discord/Cloudflare, and 2. If possible, move my server to a different node or IP address? If there is anything I can change on my side, please let me know. Thank you
Replies
Byte
Cloudflare Error 1015 points to a temporary block on the shared outbound IP, not necessarily your bot’s request rate. Other servers on a free node can be affected too. 1. Stop restarting the bot while the block is active; wait for it to clear. These blocks can last hours, sometimes up to 24 hours. Check the or header if available. 2. Keep to one bot per server and avoid retry loops or bursts of requests. 3. Free servers can’t be moved to another node or assigned a different IP. If you’re on premium, open a ticket with your node name: https://wispbyte.com/client/tickets More details: https://wispbyte.com/kb/discord rate limits