"railway up" fails and says "operation timed out"
22blaster
PROOP

10 months ago

I have a simple stock wordpress site. I wanted to set my local dev environment up. I am on the step of railway up which I thought would set up the env locally but it does this:

  Indexed                                                             
  Compressed [====================] 100%                              
error sending request for url (https://backboard.railway.com/project/)

Indexed - 3 seconds
Compressed - 6 seconds
Uploading and then showing the error - 15 seconds

What should I do?

Solved

32 Replies

10 months ago

can you try with the --verbose flag please?


22blaster
PROOP

10 months ago

554b621c-d3f9-4dc8-a11b-19adafdcc10e


22blaster
PROOP

10 months ago

  Indexed                                                                                                                                                                                    
  Compressed [====================] 100%                                                                                                                                                     railway up
service: 5eaa4009-14ef-4e43-ba02-9618a09727ab
environment: dff7eabe-7f19-4e34-8cc5-49ba12ac59e6
bytes: 46298588
url: https://backboard.railway.com/project/554b621c-d3f9-4dc8-a11b-19adafdcc10e/environment/dff7eabe-7f19-4e34-8cc5-49ba12ac59e6/up?serviceId=5eaa4009-14ef-4e43-ba02-9618a09727ab
error sending request for url (https://backboard.railway.com/project/554b621c-d3f9-4dc8-a11b-19adafdcc10e/environment/dff7eabe-7f19-4e34-8cc5-49ba12ac59e6/up?serviceId=5eaa4009-14ef-4e43-ba02-9618a09727ab)

Caused by:
    operation timed out

10 months ago

that's likely too big of an upload


22blaster
PROOP

10 months ago

what is it uploading? This is the correct method to set up my dev env locally right?


10 months ago

the CLI is uploading a tarball of your project, the resulting tarball is too big at about 45MB


22blaster
PROOP

10 months ago

so railway only provides the easy local dev setup if your project is under 45mb?


10 months ago

I guess you could look at it that way


22blaster
PROOP

10 months ago

Do you suggest for people like me instead to do docker compose to do local set up?


10 months ago

I'm not seeing how railway up and docker compose relate here, they do two very different things


10 months ago

I suggest not to store large files inside of your project folder


22blaster
PROOP

10 months ago

I want to set up my local dev env, I was thinking railway up would set up my local dev env automatically, pluiggin in values and connecting services


10 months ago

railway up uploads your code to a service


22blaster
PROOP

10 months ago

I saw a modal? on my screen that said something about setting up locally


10 months ago

it doesn't setup anything locally


22blaster
PROOP

10 months ago

it said to do railway link


22blaster
PROOP

10 months ago

and then some other comamnd


22blaster
PROOP

10 months ago

and then I hit done


22blaster
PROOP

10 months ago

and now the modal is gone and nothing happened


22blaster
PROOP

10 months ago

hmmm


22blaster
PROOP

10 months ago

Is there a command or anything, where it can set up your local dev env? maybe I just misunderstood


10 months ago

if you want to run your application locally with the railway environment variables from your service, you want railway run


22blaster
PROOP

10 months ago

yessssss


22blaster
PROOP

10 months ago

oh


22blaster
PROOP

10 months ago

but it wont set up stuff automatically


22blaster
PROOP

10 months ago

I just have a dockerfile, and a wp-content folder with themes and plugins director


22blaster
PROOP

10 months ago

wordpress stuff


10 months ago

you can use a local php server


22blaster
PROOP

10 months ago

eg. php server, or nginx, apache, then set up wordpress and all that stuff, or…..am I wrong that I can use docker compose to easily set up my local dev env?


10 months ago

use whatever method you are most comfortable with


22blaster
PROOP

10 months ago

thank you sir


10 months ago

!s


Status changed to Solved brody 10 months ago


Loading...