503 The service is temporarily unavailable when I start my site in hijack mode

When I ran my url from openshift it showed me below error

Service is temporarily unavailable

The server is temporarily unable to serve your request due to service downtime or bandwidth issues. Please try again later.

Apache / 2.2.15 (Red Hat) Server at appdomain.rhcloud.com Port 80 "

please give me some advice, how do I solve this problem?

+3


source to share


3 answers


The best way to troubleshoot such issues is to check your logs on your device. You can do this in one of two ways.

First, you can use the command rhc tail

to extract the log files:
rhc tail -a <yourappname>



The second way to view your logs is to ssh directly and go to the logs directory.
rhc ssh <your appname>

cd $OPENSHIFT_LOG_DIR

+6


source


Regarding the answer above me ...

as a noob, I would have thought the 503 error meant Redhat was doing some sort of normal maintenance, given that Monday was a holiday. It never crossed my mind that this meant a coding problem, given the wording of the error.



The log showed me that I forgot to "git add ..." a specific folder in my project that was needed after the last push.

+1


source


Log in to your account and restart the app.

enter image description here

0


source







All Articles