10 months ago
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?
5 Replies
10 months 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
10 months ago
what is the executable file for
10 months 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
9 months ago
i am also getting same problem, Please someone tell me what i should do now
9 months ago
Make sure your project files (excluding node_modules) total less than 45MB
9 months ago
how do i know that please
9 months ago
how to reduce size
9 months ago
my project file size is 43 mb but still getting timeout error please help
9 months ago
you would want to upload your project to GitHub and deploy from your repo instead
8 months ago
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.
8 months ago
If you are trying to upload more than 45MB via the CLI you will need to use GitHub instead