a month ago
Issue Description:
I'm deploying n8n on Railway using the latest setup. Despite following all setup steps and adding the required environment variables, my n8n Webhook node still shows:
CopyEdit
Production URL: https:///webhook/generate-script
—or sometimes—
CopyEdit
Production URL: http://localhost:5678/webhook/generate-script
I'm expecting it to show my public Railway domain like:
CopyEdit
https://n8n-automation-production-xxxxx.up.railway.app/webhook/generate-script
Environment Setup:
I’ve added these environment variables under both Shared Variables
and directly in the n8n
service:
VariableValueWEBHOOK_URLhttps://${{RAILWAY_PUBLIC_DOMAIN}}/N8N_EDITOR_BASE_URLhttps://${{RAILWAY_PUBLIC_DOMAIN}}/N8N_LISTEN_ADDRESS::PORT5678
I’ve saved and redeployed multiple times, and I’m still not seeing the proper Production URL inside n8n.
What I Need Help With:
Ensuring the
RAILWAY_PUBLIC_DOMAIN
resolves correctly in n8nMaking sure n8n recognizes the environment config and outputs the correct webhook URL
What I’ve Tried:
Switching webhook node to Production mode
Activating and saving the workflow
Redeploying after variable changes
Logging out/logging in again to n8n
Creating a new workflow and webhook node
1 Replies
a month ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Failure of Inbound Webhook POST's - Not Reaching Service Container (Printify -> n8n)
🧵 n8n webhook URLs still use old domain after project rename (primary-production-33ad → n8n-andrlu)
If you find the answer from one of these, please let us know by solving the thread!
a month 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 • about 1 month ago
Status changed to Solved barinderaus6107-cmd • about 1 month ago