R
Railway5mo ago
glatch

Stuck after Build; Deploy not starting

Project ID: 1b25cd0f-f9ea-4a0d-b9f9-77f61f9caea6 Build process is always done in 2 to 8 seconds, but Deploy never starts and it ends up failing (from time out?) after 5 minutes or so. Build log is complete with Publish time: x.xx seconds at the end. Deploy logs empty as expected since it claims to have not started. Project was initially deployed successfully earlier today before env variables were added.
No description
31 Replies
Percy
Percy5mo ago
Project ID: 1b25cd0f-f9ea-4a0d-b9f9-77f61f9caea6
ender_pearl
ender_pearl5mo ago
The affected project uses Node.js and does not have the new build system beta enabled, in case that is relevant. is there is some limit on the size of environment variables? Some of the ones that were set before the issue occurred are quite long
Brody
Brody5mo ago
there's been ongoing issues despite no current open incidents, you can usually get it to go through by canceling that deployment and pushing another deployment
ender_pearl
ender_pearl5mo ago
since this issue started it has consistently done this, but I will try to redeploy
Brody
Brody5mo ago
ctrl / cmd + k -> deploy latest commit
ender_pearl
ender_pearl5mo ago
on a phone atm i found the option in the menu, but it doesn’t seem to have changed anything, still stuck deploying with no deploy logs.
Brody
Brody5mo ago
have you canceled the current deploy?
ender_pearl
ender_pearl5mo ago
all deploys are Removed currently
Brody
Brody5mo ago
try to deploy the latest commit again?
ender_pearl
ender_pearl5mo ago
issue persists, it has been stuck deploying with no logs for a minute now
Brody
Brody5mo ago
how long does the build itself take?
ender_pearl
ender_pearl5mo ago
seconds
Brody
Brody5mo ago
would you happen to know the size of the image?
ender_pearl
ender_pearl5mo ago
how would I find that
Brody
Brody5mo ago
in the build logs
ender_pearl
ender_pearl5mo ago
the size it shows in the last pushing log (17.35mb) or the size: without a unit (2417)?
Brody
Brody5mo ago
are you and the OP of this thread on the same team?
ender_pearl
ender_pearl5mo ago
it is the same project, id 1b25cd0f-f9ea-4a0d-b9f9-77f61f9caea6
Brody
Brody5mo ago
gotcha !t
Duchess
Duchess5mo ago
New reply sent from Help Station thread:
This thread has been escalated to the Railway team.
You're seeing this because this thread has been automatically linked to the Help Station thread.
Jack
Jack5mo ago
A lot of my deployments now also are getting stuck on creating container with no logs. Looks like redeploying the "stuck" deploy and then aboring the "stuck" deploy resolves my issue.
Duchess
Duchess5mo ago
New reply sent from Help Station thread:
Same problem for lots of our deployments
You're seeing this because this thread has been automatically linked to the Help Station thread.
Jack
Jack5mo ago
Also still "taking snapshot of code" for multiple services.
No description
Duchess
Duchess5mo ago
New reply sent from Help Station thread:
The error persists.(snapshot from deployment e7cb215b-de6c-4f0c-963b-0d5265aca42e)
You're seeing this because this thread has been automatically linked to the Help Station thread.
christian
christian5mo ago
We've investigated, and this is the cause for the issue you're seeing here We're looking at addressing this in the future, but the short term move to unblock you here will be to reduce the length of the variables
ender_pearl
ender_pearl5mo ago
oh! I’ll have to move them elsewhere. I was using them to quickly replace some git ignored json files (probably bad practice but I had to quickly do it lol)
christian
christian5mo ago
Great! Please confirm that moving those variables elsewhere unblocks you
Brody
Brody5mo ago
just curious, how long byte wise are these variables?
ender_pearl
ender_pearl5mo ago
one was like 50kb (it was a super hacky workaround to “i can’t put my secrets.json in easily and my laptop broke and editing the code significantly on a phone is a bad idea”)
Brody
Brody5mo ago
could you transition to loading your secrets as regular environment variables?
ender_pearl
ender_pearl5mo ago
I will look into that ok the project does deploy but it crashes because I did not make some necessary code changes yet
Want results from more Discord servers?
Add your server