a month ago
This is a network connectivity issue — Railway cannot reach the Discord API. The requests are timing out consistently.
This could be:
Railway's network is blocking Discord
Discord's firewall is blocking Railway's IPs
DNS resolution failing for Discord's API endpoints
Let me check if your bot can at least connect to Discord to receive messages. Does the bot log in successfully after the command registration fails?
Check your latest logs for a message like "Bot is ready" or "Logged in as..." after the timeout error. Can you paste what you see after the timeout?
If the bot does login successfully, then the issue is specifically with the REST API calls for command registration, not general Discord connectivity.
If the bot doesn't login either, then it's a broader networking issue and I'll need to escalate to Railway support.
1 Replies
a month ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • about 1 month ago