4 days ago
My Express app is deployed with a single replica, single active deployment. A request to a path (e.g. /reset-passcode) returns 200 with the correct HTML when tested from inside the container (fetch('http://localhost:8080/...')), but the exact same path on the public domain returns 404 with Express's default "Cannot GET" message. This persists after: restarting the service, triggering a fresh redeploy, and fully regenerating the public domain (old one deleted, new one issued). Verified from multiple browsers/incognito sessions with cache-busting query params, so it's not client-side or edge caching. x-powered-by: Express is present on the 404 response, and server: railway-hikari / x-railway-edge headers are present. Service: acountability-app, project remarkable-abundance.
Pinned Solution
4 days ago
Is the hostname on the emailed link correct? Make sure you’re using the RAILWAY_PUBLIC_DOMAIN variable.
10 Replies
4 days ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 4 days ago
0x5b62656e5d
Can you share the URL?
4 days ago
acountability-app-production.up.railway.app
mayori
.
4 days ago
it's not on. (shows active meaning that it's not) you what i mean
4 days ago
I'm able to access it just fine. Try accessing the site from an incognito window.
Also, do you have CDN caching turned on? If so, try disabling it.
dacoolboyy333
it's not on. (shows active meaning that it's not) you what i mean
4 days ago
Yeah, I read the status code wrong, my bad
mayori
Yeah, I read the status code wrong, my bad
4 days ago
all good 👍
0x5b62656e5d
I'm able to access it just fine. Try accessing the site from an incognito window. Also, do you have CDN caching turned on? If so, try disabling it.
4 days ago
I can access it but the issue occurs when you go to the accountability partner after you log in on the top right and save a passcode after creating the passcode then click forget passcode it works and sends email with a link but that link doesn't work.
4 days ago
Is the hostname on the emailed link correct? Make sure you’re using the RAILWAY_PUBLIC_DOMAIN variable.
4 days ago
turns out i was having 2 different links. The one in the variable was different from the one in the network tab. Thanks for the help!
Status changed to Solved mayori • 4 days ago
