7 months ago
Hello,
I'm using Railway to act as my backend server. As of right now, I have no error messages on the railway side. I'm providing the railway URL to my backend URL env. The provider I was using before was Render on their free plan and while slow, it was working. The Railway URL is failing, so its trying to resort to localhost. Why isn't the railway URL working? Posting relevant screenshots. Ask for more info if needed. Thanks.
Line 11: https://snipboard.io/6YT79f.jpg
Netlify: https://snipboard.io/nC9Nk7.jpg
Redirect failure: https://snipboard.io/KTqXlR.jpg
3 Replies
7 months ago
Your backend is simply redirecting to the wrong location, this isn't an issue with Railway, but a code issue on your side.
It worked on Render as they were monkey patching your app to fix this issue for you, we however only run your app as-is.
7 months ago
Your claim is presumptuous and unfounded. It worked on my localhost. The only thing that changed was the values for the env.
Support is slow, uninformative, and unhelpful, so I've already moved on. Thanks for nothing.
7 months ago
It works on localhost because localhost would be the correct redirect url when developing locally.
Render is patching around the incorrect redirect location hiding the misconfiguration from you.
Support is slow on the trial plan, unfortunately we are not able to offer priority support to the trial tier.