Roblox HTTP requests blocked

nonsenseontop
FREEOP

17 days ago

So I'm trying to have my script GUI detect if an API key is correct then if it is another script executes but i keep getting errors i asked chat GPT and it thinks its a HTTP blocked

$5 Bounty

3 Replies

andresndp
FREE

17 days ago

Can you share more information? What’s the flow: Roblox → Railway or Railway → Roblox? Logs, errors?

Railway does not block outbound HTTP requests - they state this in their documentation. If the issue is Railway → Roblox, the problem is likely on Roblox’s end (they block certain requests to prevent API abuse).


andresndp

Can you share more information? What’s the flow: Roblox → Railway or Railway → Roblox? Logs, errors?Railway does not block outbound HTTP requests - they state this in their documentation. If the issue is Railway → Roblox, the problem is likely on Roblox’s end (they block certain requests to prevent API abuse).

nonsenseontop
FREEOP

16 days ago

## Flow Direction

The flow is Roblox → Railway. Your Roblox game (via the Lua script keyforge-keysystem.lua) makes outbound HTTP POST requests to your Railway-hosted web application API endpoints (primarily /api/validate).

Key technical details:

- Roblox uses HttpService:RequestAsync() to send POST requests to your API

- The request includes key validation data (key, hwid, userAgent)

- Your API processes these requests and responds with validation results

- No outbound requests are made from Railway to Roblox API endpoints

## Current Domain Configuration

Your Lua script currently points to the Vercel domain: https://keyforge-798dhaz2h-nonsenseontops-projects.vercel.app

However, your project configuration shows a custom domain setup with keyforge.lol in the environment variables.

## Database Connectivity

Local testing shows the API connects successfully to your Neon PostgreSQL database. Response from /api/validate succeeds with active keys found.

## Code Verification

I reviewed all API routes, client-side code, and scripts. No code attempts to make outbound HTTP requests to Roblox or Roblox APIs from your Railway deployment.

## Potential Issues

1. Domain mismatch: Roblox may be blocked/unreachable if pointing to old Vercel URL instead of your Railway URL

2. Railway deployment config: Environment variables (DATABASE_URL, custom domain) may need verification in Railway dashboard

3. SSL/Bypass tokens: Your code includes Vercel-specific bypass tokens that aren't needed on Railway

## Recommended Actions

1. Update the DOMAIN constant in keyforge-keysystem.lua to your Railway deployment URL

2. Remove Vercel bypass token logic from the Lua script

3. Verify Railway environment variables match your .env.local configuration

4. Check Railway logs for any connection failures at deployment time


andresndp
FREE

16 days ago

Sounds like this is the main issue: Domain mismatch: Roblox may be blocked/unreachable if pointing to old Vercel URL instead of your Railway URL

Your Lua script is pointing to your old Vercel domain, but you’ve migrated to Railway. Roblox is trying to reach https://keyforge-798dhaz2h-nonsenseontops-projects.vercel.app, which likely isn’t serving your API anymore.

Next Steps

1. Get your Railway deployment URL

2. Update your Lua script

3. Verify environment variables in Railway

4. Check Railway logs


Roblox HTTP requests blocked - Railway Help Station