Openshift, 503 Service Unavailable. There are no servers available to process this request.

I have a scalable PHP 5.4 cartridge on Openshift with a bronze account. This is a Wordpress blog and I used it up to 2 weeks ago.

Today I returned to visit him, and he says:

503 Service not available. The server is not available to process this request.

To check the status of the proxy server, I visited this link http://myapp-mydomain.rhcloud.com/haproxy-status , and there I see this:

screenshot

It seems DOWN.

Checking logs with rhc tail I see this line:

==> app-root/logs/haproxy.log <== [ALERT] 077/194638 (138628) : proxy 'express' has no server available! [WARNING] 086/161237 (138628) : Server express/local-gear is DOWN for maintenance. [WARNING] 086/161239 (33522) : config : log format ignored for proxy 'stats' since it has no log address. [WARNING] 086/161239 (33522) : config : log format ignored for proxy 'express' since it has no log address. [WARNING] 086/161239 (33522) : Server express/local-gear is DOWN, reason: Layer7 wrong status, code: 500, info: "HTTP status check returned code <3C>500<3E>", check duration: 65ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. [ALERT] 086/161239 (33522) : proxy 'express' has no server available! [WARNING] 086/161240 (33522) : Server express/local-gear is DOWN for maintenance. [WARNING] 086/161323 (33522) : Server express/local-gear is UP (leaving maintenance). [WARNING] 086/161325 (33522) : Server express/local-gear is DOWN, reason: Layer7 wrong status, code: 500, info: "HTTP status check returned code <3C>500<3E>", check duration: 237ms. 0 active and 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. [ALERT] 086/161325 (33522) : proxy 'express' has no server available! 

I also tried restarting the application using the "restart" button with the opening, but this did not work.

I don’t know how to decide. Any idea?

early

+7
php openshift openshift-cartridge
source share
1 answer

Your free OpenShift gears are handled by unused processing power / throughput. If the server is currently not available for starting transfers for your application, the request will be rejected using "503 Service Unavailable: the server cannot process this request."

If you want to ensure the uptime of your application, use paid transfers.

0
source share

All Articles