Skip to content
My project was working. I changed a few files. It stopped worked even when it was deployed correctly
rjmetal26
OP

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

Solved$10 Bounty

Pinned Solution

I'm able to attempt a login just fine. Have you tried using a different network, device, or a VPN?

16 Replies

Railway
BOT

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


rjmetal26
OP

a month ago

How can I roll back precious installation


You can roll back to a previous deployment by clicking on your service and pressing the 3 dots next to the desired deployment.


Also, did the changes work locally? You might be able to see something that can help with debugging in devtools.


rjmetal26
OP

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.

rjmetal26
OP

a month ago

I rolled back to both the frontend and backend but still Failed to fetch


Can you share the URL?



0x5b62656e5d

Can you share the URL?

rjmetal26
OP

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?

rjmetal26
OP

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.


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).

rjmetal26
OP

a month ago

how can I fix it.


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.

rjmetal26
OP

a month ago

Okay. I will try it. Should I update this project or create a new project with proposed changes?


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).

rjmetal26
OP

a month ago

Thanks. I will try again and revert back.


Status changed to Solved 0x5b62656e5d • 18 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...