10 months 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:
perlCopyEdit
Production URL: https:///webhook/generate-script
āor sometimesā
bashCopyEdit
Production URL: http://localhost:5678/webhook/generate-script
I'm expecting it to show my public Railway domain like:
bashCopyEdit
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_DOMAINresolves correctly in n8n - Making 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
10 months 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)
- š§µ n8n webhook is directing to localhost
- š§µ Stale Build Cache
If you find the answer from one of these, please let us know by solving the thread!
10 months 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 ⢠10 months ago
Status changed to Solved barinderaus6107-cmd ⢠10 months ago