a month ago
My project was working.
I updated two files in the backend.
then railway link and railway up
in frontend, replaced a file
npm run build
railway link and railway up
It was deployed correctly but I could not login. It is showing "Failed to Fetch" on the login page
I replaced those files back
two files in the backend.
then railway link and railway up
in frontend, replaced a file
npm run build
railway link and railway up
But the project is still showing "Failed to Fetch" on the login page
How can I fix it
Pinned Solution
a month ago
I'm able to attempt a login just fine. Have you tried using a different network, device, or a VPN?
16 Replies
a month ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • about 1 month ago
a month ago
How can I roll back precious installation
a month ago
You can roll back to a previous deployment by clicking on your service and pressing the 3 dots next to the desired deployment.
a month ago
Also, did the changes work locally? You might be able to see something that can help with debugging in devtools.
a month ago
I rolled back to the previous version, still Failed to fetch
0x5b62656e5d
You can roll back to a previous deployment by clicking on your service and pressing the 3 dots next to the desired deployment.
a month ago
I rolled back to both the frontend and backend but still Failed to fetch
0x5b62656e5d
Can you share the URL?
a month ago
a month ago
I'm able to attempt a login just fine. Have you tried using a different network, device, or a VPN?
0x5b62656e5d
I'm able to attempt a login just fine. Have you tried using a different network, device, or a VPN?
a month ago
It is working now. What can be the problem? I needed to make some change to the results pdf, and QR code reading. So, I updated the codes. Can I try to deploy again with the updated codes. Due to these error, I have created several projects for the same work.
a month ago
Do you have caching enabled? (This could also be the result of browser or device caching).
0x5b62656e5d
Do you have caching enabled? (This could also be the result of browser or device caching).
a month ago
how can I fix it.
a month ago
If caching is disabled in your Railway's project settings, you can't really "fix" this. You'd just either hard reload (Cmd/Ctrl + Shift + R) or clear cache/cookies in your browser for the site.
0x5b62656e5d
If caching is disabled in your Railway's project settings, you can't really "fix" this. You'd just either hard reload (Cmd/Ctrl + Shift + R) or clear cache/cookies in your browser for the site.
a month ago
Okay. I will try it. Should I update this project or create a new project with proposed changes?
a month ago
That is up to you (though creating a new project probably isn't necessary).
0x5b62656e5d
That is up to you (though creating a new project probably isn't necessary).
a month ago
Thanks. I will try again and revert back.
Status changed to Solved 0x5b62656e5d • 18 days ago