Railway up -> operation timed out
fvjohnny
HOBBYOP

2 years ago

Been using railway for a couple weeks. Now i want to deploy a nextjs server but this is the message I get after executing the command railway up

I tried deleting the project and creating a new one, and my internet connection is stable

Any ideas? :c

Solved

21 Replies

fvjohnny
HOBBYOP

2 years ago

Project ID: 11fdcb60-7ee9-42d2-a276-749a3d344596


maddsua
HOBBY

2 years ago

How big is your project? CLI uploads have a size limit and if your repo contains a lot of media files, you'd have to move those to a volume instead of pushing them along with the code


fvjohnny
HOBBYOP

2 years ago

Its only 30 MB 😄

fvjohnny@SP-LPMAC2407 bot % du -sh astonishing-baby-napkin

30M astonishing-baby-napkin


maddsua
HOBBY

2 years ago

Hmm okay, that sounds strange ngl


maddsua
HOBBY

2 years ago

That thang should not fail to upload just measley 30 mb


maddsua
HOBBY

2 years ago

How long does it take until it fails, by the wall clock?


maddsua
HOBBY

2 years ago

It could be that you just have a really slow connection between you and railway servers


fvjohnny
HOBBYOP

2 years ago

It takes like 3 seconds for it to "time out", so thats pretty strange


2 years ago

Try a smaller repo, move media files out of the project


fvjohnny
HOBBYOP

2 years ago

Its 30MB only, what would the max size be?


2 years ago

45MB iirc


fvjohnny
HOBBYOP

2 years ago

I fixed it by adding my ".next" folder to the .railwayignore file !! Thank you!


2 years ago

wouldnt you want the next folder in the .gitignore?


maddsua
HOBBY

2 years ago

Real


fvjohnny
HOBBYOP

2 years ago

Not using git yet


2 years ago

like it should have been in there all along


2 years ago

got me there


fvjohnny
HOBBYOP

2 years ago

like im not using a repo yet


2 years ago

use .gitignore anyway, the cli respects it too


fvjohnny
HOBBYOP

2 years ago

I see 😄


2 years ago

!s


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...