Deployment fails because of failed snapshot creation
Anonymous
HOBBYOP

a year ago

When I deploy my service via railway up I get an timeout error and the dashboard shows me that the deployment failed because the code snapshot could be created.

"Failed to create code snapshot. Please review your last commit, or try again.

If this error persists, please reach out to the Railway team."

I'm not sure if the timeout is related to the deployment error. I don't know how to proceed as I don't get any more information.

Solved

10 Replies

Anonymous
HOBBYOP

a year ago

Project ID: ef0c328d-a45c-4118-aa4a-7ad5ceac55c3


a year ago

Hello,

Can you run up with the --verbose flag?


Anonymous
HOBBYOP

a year ago

I'm getting just "error sending request for url" after the upload started. I got no other output for upload.


a year ago

Please provide the verbose output.


Anonymous
HOBBYOP

a year ago

> Select a service henri
  Indexed                                                                         
  Compressed [====================] 100%                                          railway up
service: aa82282f-701d-4014-b707-e64c3014275a
environment: bd9054de-9c34-4468-a3d7-5767d4035d4e
bytes: 58041151
url: https://backboard.railway.com/project/ef0c328d-a45c-4118-aa4a-7ad5ceac55c3/environment/bd9054de-9c34-4468-a3d7-5767d4035d4e/up?serviceId=aa82282f-701d-4014-b707-e64c3014275a
error sending request for url (https://backboard.railway.com/project/ef0c328d-a45c-4118-aa4a-7ad5ceac55c3/environment/bd9054de-9c34-4468-a3d7-5767d4035d4e/up?serviceId=aa82282f-701d-4014-b707-e64c3014275a)

Caused by:
    operation timed out

a year ago

~58 MB would be far above the size limit that you can upload with railway up


Anonymous
HOBBYOP

a year ago

What is the limit? Where can I read about it?


a year ago

IIRC it is 15 MB.


Anonymous
HOBBYOP

a year ago

Thanks for you help! It seems the size was the problem. After I've setup .railwayignore to limit what files should be uploaded by railway, it worked.


a year ago

!s


Status changed to Solved brody 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...