Railway up -> operation timed out
fvjohnny
HOBBYOP

a year 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

a year ago

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


maddsua
HOBBY

a year 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

a year ago

Its only 30 MB 😄

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


maddsua
HOBBY

a year ago

Hmm okay, that sounds strange ngl


maddsua
HOBBY

a year ago

That thang should not fail to upload just measley 30 mb


maddsua
HOBBY

a year ago

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


maddsua
HOBBY

a year ago

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


fvjohnny
HOBBYOP

a year ago

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


a year ago

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


fvjohnny
HOBBYOP

a year ago

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


a year ago

45MB iirc


fvjohnny
HOBBYOP

a year ago

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


a year ago

wouldnt you want the next folder in the .gitignore?


maddsua
HOBBY

a year ago

Real


fvjohnny
HOBBYOP

a year ago

Not using git yet


a year ago

like it should have been in there all along


a year ago

got me there


fvjohnny
HOBBYOP

a year ago

like im not using a repo yet


a year ago

use .gitignore anyway, the cli respects it too


fvjohnny
HOBBYOP

a year ago

I see 😄


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...