[英]Error 503 Service Unavailable - PHP error with Yii 2 on OpenShift
[英]Openshift, 503 Service Unavailable. No server is available to handle this request
我在Openshift上有一個可擴展的PHP 5.4盒式磁帶,帶有一個青銅帳戶。 它是一個wordpress博客,我已經使用它直到2周前。
今天,我回來參觀了它,它說:
503服務不可用。 沒有服務器可用於處理此請求。
為了檢查代理狀態,我訪問了這個鏈接http://myapp-mydomain.rhcloud.com/haproxy-status ,我看到了這個:
好像DOWN。
使用rhc tail檢查日志我看到這一行:
==> 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!
我也嘗試使用openshift“restart”按鈕重啟應用程序,但它沒有用。
不知道該怎么解決。 任何想法?
提前致謝
您的免費OpenShift齒輪由未使用的處理/帶寬功率處理。 如果此時沒有可用於為您的應用程序運行齒輪的服務器,則“503服務不可用:沒有服務器可用於處理此請求”將拒絕所請求的請求。
如果您想確保應用的正常運行時間,請使用付費裝備。
此問題適用於不再提供的舊版(v2)OpenShift Online版本。 看起來您的應用無法啟動。
使用MiniShift,OpenShift Starter或OpenShift Pro可能值得再次嘗試
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.