Railway up -> operation timed out
fvjohnny
HOBBYOP

10 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
HOBBYOP

10 months ago

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


maddsua
HOBBY

10 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
HOBBYOP

10 months ago

Its only 30 MB 😄

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


maddsua
HOBBY

10 months ago

Hmm okay, that sounds strange ngl


maddsua
HOBBY

10 months ago

That thang should not fail to upload just measley 30 mb


maddsua
HOBBY

10 months ago

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


maddsua
HOBBY

10 months ago

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


fvjohnny
HOBBYOP

10 months ago

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


brody
EMPLOYEE

10 months ago

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


fvjohnny
HOBBYOP

10 months ago

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


brody
EMPLOYEE

10 months ago

45MB iirc


fvjohnny
HOBBYOP

10 months ago

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


brody
EMPLOYEE

10 months ago

wouldnt you want the next folder in the .gitignore?


maddsua
HOBBY

10 months ago

Real


fvjohnny
HOBBYOP

10 months ago

Not using git yet


brody
EMPLOYEE

10 months ago

like it should have been in there all along


brody
EMPLOYEE

10 months ago

got me there


fvjohnny
HOBBYOP

10 months ago

like im not using a repo yet


brody
EMPLOYEE

10 months ago

use .gitignore anyway, the cli respects it too


fvjohnny
HOBBYOP

10 months ago

I see 😄


brody
EMPLOYEE

10 months ago

!s


Status changed to Solved brody 10 months ago


Loading...