Discord Bot Blocked by Cloudflare Rate Limiting (Error 1015) on Railway IP

phpmypython
HOBBY

5 days ago

My Discord bot has been running successfully on Railway for several months but suddenly stopped working today with no code changes. After debugging, I

discovered Railway's assigned IP address is being rate-limited by Cloudflare when attempting to connect to Discord's API.

Technical Details:

- Error: Cloudflare Error 1015 - "You are being rate limited"

- HTTP Status: 429

- Blocked IP: 162.220.234.25

- Discord API Response: Full Cloudflare HTML error page instead of JSON

What I've Tried:

- Generated fresh Discord bot token - still gets 403/429

- Verified all bot permissions and intents are enabled

- Added comprehensive error logging to confirm the issue

- Bot can reach general endpoints but gets blocked on authenticated requests

$10 Bounty

3 Replies

Railway
BOT

5 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


5 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 5 days ago


phpmypython
HOBBY

5 days ago

I moved my application to another region and that resolved it. You guys got your ip in US East blocked by cloudflare.


Status changed to Open itsrems 5 days ago


ssesfahani
HOBBY

5 days ago

My Discord bot can also not login on us-east. I switched to us-west.