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

9 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

brody
EMPLOYEE

9 months ago

can you try with the --verbose flag please?


22blaster
PROOP

9 months ago

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


22blaster
PROOP

9 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

brody
EMPLOYEE

9 months ago

that's likely too big of an upload


22blaster
PROOP

9 months ago

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


brody
EMPLOYEE

9 months ago

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


22blaster
PROOP

9 months ago

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


brody
EMPLOYEE

9 months ago

I guess you could look at it that way


22blaster
PROOP

9 months ago

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


brody
EMPLOYEE

9 months ago

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


brody
EMPLOYEE

9 months ago

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


22blaster
PROOP

9 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


brody
EMPLOYEE

9 months ago

railway up uploads your code to a service


22blaster
PROOP

9 months ago

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


brody
EMPLOYEE

9 months ago

it doesn't setup anything locally


22blaster
PROOP

9 months ago

it said to do railway link


22blaster
PROOP

9 months ago

and then some other comamnd


22blaster
PROOP

9 months ago

and then I hit done


22blaster
PROOP

9 months ago

and now the modal is gone and nothing happened


22blaster
PROOP

9 months ago

hmmm


22blaster
PROOP

9 months ago

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


brody
EMPLOYEE

9 months ago

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


22blaster
PROOP

9 months ago

yessssss


22blaster
PROOP

9 months ago

oh


22blaster
PROOP

9 months ago

but it wont set up stuff automatically


22blaster
PROOP

9 months ago

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


22blaster
PROOP

9 months ago

wordpress stuff


brody
EMPLOYEE

9 months ago

you can use a local php server


22blaster
PROOP

9 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?


brody
EMPLOYEE

9 months ago

use whatever method you are most comfortable with


22blaster
PROOP

9 months ago

thank you sir


brody
EMPLOYEE

9 months ago

!s


Status changed to Solved brody 9 months ago


Loading...