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

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

a year ago

can you try with the --verbose flag please?


22blaster
PROOP

a year ago

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


22blaster
PROOP

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

a year ago

that's likely too big of an upload


22blaster
PROOP

a year ago

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


a year ago

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


22blaster
PROOP

a year ago

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


a year ago

I guess you could look at it that way


22blaster
PROOP

a year ago

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


a year ago

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


a year ago

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


22blaster
PROOP

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


a year ago

railway up uploads your code to a service


22blaster
PROOP

a year ago

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


a year ago

it doesn't setup anything locally


22blaster
PROOP

a year ago

it said to do railway link


22blaster
PROOP

a year ago

and then some other comamnd


22blaster
PROOP

a year ago

and then I hit done


22blaster
PROOP

a year ago

and now the modal is gone and nothing happened


22blaster
PROOP

a year ago

hmmm


22blaster
PROOP

a year ago

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


a year ago

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


22blaster
PROOP

a year ago

yessssss


22blaster
PROOP

a year ago

oh


22blaster
PROOP

a year ago

but it wont set up stuff automatically


22blaster
PROOP

a year ago

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


22blaster
PROOP

a year ago

wordpress stuff


a year ago

you can use a local php server


22blaster
PROOP

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


a year ago

use whatever method you are most comfortable with


22blaster
PROOP

a year ago

thank you sir


a year ago

!s


Status changed to Solved brody about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...