a month ago
I started deploying some new changes to my github repo and they just started failing and I didn't know why. nothing seemed off at the start so I'm really confused what's going on. redeploys fail as well.
41 Replies
a month ago
Hey, can you show the logs. which may reveal more about why the deployment failed?
a month ago
Interesting, can you share the service ID (or the URL to the service in question)?
a month ago
No worries, you can get it with CMD/CTRL+K > Copy Service ID.
a month ago
!t
a month ago
This thread has been escalated to the Railway team.
Status changed to Awaiting Railway Response uxuz • about 1 month ago
I figured out that my problem is build timeout. I’m on the hobby plan and my builds have been really slow lately but I have expected that since I have quite the dependencies and its node.js but I was wondering if I can do anything to decrease the build time?
a month ago
What kind of application are you building or what kind of dependencies do you have for the build to take this long?
It’s just a simple web app with express and I don’t have nothing that crazy I believe
{
"name": "gildnovel",
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": "18.x"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/yuyulbm/novels.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/yuyulbm/novels/issues"
},
"homepage": "https://github.com/yuyulbm/novels",
"dependencies": {
"@aws-sdk/client-s3": "^3.490.0",
"@aws-sdk/s3-request-presigner": "^3.490.0",
"axios": "^0.27.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"cypress": "^13.1.0",
"dotenv": "^16.3.1",
"express": "^4.18.1",
"express-session": "^1.18.0",
"jsonwebtoken": "^8.5.1",
"jspdf": "^3.0.3",
"memorystore": "^1.6.7",
"mongoose": "^6.0.12",
"multer": "^1.4.3",
"nodemon": "^3.0.1",
"passport": "^0.7.0",
"passport-google-oauth": "^2.0.0",
"path": "^0.12.7",
"request": "^2.88.2",
"resize-image-buffer": "^1.0.0",
"stripe": "^16.9.0",
"uuid": "^9.0.1"
}
}Yeah it keeps getting stuck at image build but I checked it at 4 minutes and it said it was done?

a month ago
Does the build "timeout" (or perhaps just fail) after 4 minutes?
a month ago
I am not sure if this going to help, but you can try turning the metal build environment off if it is on. This can be found in your service's settings.

a month ago
<:mildpanic:804271964587819059>
Thank you for your help <:salute:1137099685417451530> <:lfg:786867302888505364>
Though I am confused as why turning off metal made it faster when it should make builds faster <:bigbrain:666602645397700608>
a month ago
Something is definitely off
a month ago
Only conductors and team members can mark the thread as solved.
Status changed to Solved uxuz • about 1 month ago






