4 months 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.
0 Replies
4 months ago
Hello,
Can you run up with the --verbose flag?
I'm getting just "error sending request for url" after the upload started. I got no other output for upload.
4 months ago
Please provide the verbose output.
> 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 out4 months ago
~58 MB would be far above the size limit that you can upload with railway up
4 months ago
IIRC it is 15 MB.
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.
4 months ago
!s
Status changed to Solved brody • 4 months ago