Railway up -> operation timed out

fvjohnny
HOBBY

6 months 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

0 Replies

fvjohnny
HOBBY

6 months ago

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


maddsua
HOBBY

6 months 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
HOBBY

6 months ago

Its only 30 MB 😄

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


maddsua
HOBBY

6 months ago

Hmm okay, that sounds strange ngl


maddsua
HOBBY

6 months ago

That thang should not fail to upload just measley 30 mb


maddsua
HOBBY

6 months ago

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


maddsua
HOBBY

6 months ago

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


fvjohnny
HOBBY

6 months ago

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


6 months ago

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


fvjohnny
HOBBY

6 months ago

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


6 months ago

45MB iirc


fvjohnny
HOBBY

6 months ago

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


6 months ago

wouldnt you want the next folder in the .gitignore?


maddsua
HOBBY

6 months ago

Real


fvjohnny
HOBBY

6 months ago

Not using git yet


6 months ago

like it should have been in there all along


6 months ago

got me there


fvjohnny
HOBBY

6 months ago

like im not using a repo yet


6 months ago

use .gitignore anyway, the cli respects it too


fvjohnny
HOBBY

6 months ago

I see 😄


6 months ago

!s


Status changed to Solved brody 6 months ago


Railway up -> operation timed out - Railway Help Station