Application failed to respond for a few seconds after deploy

I have this recurring issue where every time I do a deploy, its successful, but when I check the domain, I get a Application failed to respond message from Railway. I keep refreshing a couple of times, and then it finally loads the newly deployed app. It's as if the deployment is published before it is ready, even though the logs indicate that the server is listening Any idea what is going on? I tried playing with the health check settings, but it didn't help.
Solution:
That would be why.
Jump to solution
16 Replies
Percy
Percy15mo ago
Project ID: 660f85e6-f8fa-467e-8c57-d93f8eb3304e
Ryan The Temp
Ryan The Temp15mo ago
660f85e6-f8fa-467e-8c57-d93f8eb3304e
MantisInABox
MantisInABox15mo ago
By any chance, are you using volumes with your project?
Ryan The Temp
Ryan The Temp15mo ago
yes, I am
Solution
MantisInABox
MantisInABox15mo ago
That would be why.
MantisInABox
MantisInABox15mo ago
There will be a slight delay from successful deployment to active site
Ryan The Temp
Ryan The Temp15mo ago
I should also note that I always also get an email that the service crashed after a successful deployment I dont know if its related
MantisInABox
MantisInABox15mo ago
This is from the docs on volumes
Ryan The Temp
Ryan The Temp15mo ago
I see,
MantisInABox
MantisInABox15mo ago
It is a safeguard for data integrity
Ryan The Temp
Ryan The Temp15mo ago
makes sense. Is the email that i receive part of that caveat?
MantisInABox
MantisInABox15mo ago
It’s possible. It could just be a false alarm As long as the service is successfully deployed and running I would say it’s safe to ignore those if it’s only at a redeploy and you are testing to make sure it is running But I will bring it to the attention of the team
Ryan The Temp
Ryan The Temp15mo ago
oh ok. So for now, there is no workaround to the volumens caveat? I guess it will be addresed further down the line?
MantisInABox
MantisInABox15mo ago
There is no workaround at this time, unless you were to use s3 or r2 for storage if files
Want results from more Discord servers?
Add your server