Timeout error when doing railway up

I have a Docker image with a single executable of size 90MB. When trying to deploy with 'railway up' it compresses successfully to 100% and starts to upload. After about 15 seconds it stops with the following error: error sending request for url (https://backboard.railway.app/project/c4f2671e-035f-4b49-94f0-dd4aa3e09c33/environ...: operation timed out Caused by: operation timed out I tried with a smaller executable(32kB) and it deploys and runs fine. When uploading the network upload rate goes up to 1.5~2 MB/s...so that means after the 15 second timeout it managed to upload just about 30MB of the file, not enough time. What can be done? Is there a way to change the timeout, or other ways to deploy the app without size/time restrictions?
13 Replies
Percy
Percy5mo ago
Project ID: c4f2671e-035f-4b49-94f0-dd4aa3e09c33
Brody
Brody5mo ago
I have a Docker image with a single executable of size 90MB.
please explain what you mean, because railway up can not deploy docker images
pestatije2
pestatije2OP5mo ago
The deployment folder contains a Dockerfile and the executable file.
Brody
Brody5mo ago
what is the executable file for
pestatije2
pestatije2OP5mo ago
It's a native image of a java Spring app
Brody
Brody5mo ago
railway up can only upload 45mb, but regardless, you would want to have the dockerfile build the spring app, not pre include the file
pestatije2
pestatije2OP5mo ago
ok, ill look into that, thx
Duchess
Duchess4mo ago
New reply sent from Help Station thread:
i am also getting same problem, Please someone tell me what i should do now
You're seeing this because this thread has been automatically linked to the Help Station thread.
Brody
Brody4mo ago
Make sure your project files (excluding node_modules) total less than 45MB
Duchess
Duchess4mo ago
New reply sent from Help Station thread:
how do i know that please
You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
how to reduce size
You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
my project file size is 43 mb but still getting timeout error please help
You're seeing this because this thread has been automatically linked to the Help Station thread.
Brody
Brody4mo ago
you would want to upload your project to GitHub and deploy from your repo instead
Duchess
Duchess4mo ago
New reply sent from Help Station thread:
I am facing the same issue when following the guide to deploy the server part for Wasp-lang. The issue occurs when executing the 'railway up' command. For reference, here is the instruction link: https://wasp-lang.dev/docs/advanced/deployment/manually#railway-server-client-and-database.
You're seeing this because this thread has been automatically linked to the Help Station thread.
Deploying Manually | Wasp
This document explains how to build and prepare your Wasp app for deployment.
Brody
Brody4mo ago
If you are trying to upload more than 45MB via the CLI you will need to use GitHub instead
Want results from more Discord servers?
Add your server