簡體   English   中英

Heroku-Ruby On rails-域更改后發生錯誤

[英]Heroku - Ruby On rails - Error after domain change

我的應用程序已經運行了24個小時以上,沒有問題。

我決定嘗試將自定義域添加到我的網站。 我按照說明進行操作,然后轉到我的Godaddy面板,並將www從@更改為mysite.heroku.com

我去睡覺了,今天早上醒來時,我得到了這個錯誤

An error occurred in the application and your page could not be served. Please try again in a few moments.

如果您是應用程序所有者,請檢查您的日志以獲取詳細信息。”

檢查日志后,這就是我看到的

2013-03-02T10:22:24+00:00 heroku[web.1]: Process exited with status 1
2013-03-02T10:22:24+00:00 heroku[web.1]: State changed from starting to crashed
2013-03-02T10:22:25+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=vauxden.herokuapp.com fwd="176.251.155.165" dyno= queue= wait= connect= service= status=503 bytes=
2013-03-02T10:22:26+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=vauxden.herokuapp.com fwd="176.251.155.165" dyno= queue= wait= connect= service= status=503 bytes=
2013-03-02T10:22:39+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=vauxden.herokuapp.com fwd="176.251.155.165" dyno= queue= wait= connect= service= status=503 bytes=
2013-03-02T10:22:39+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=vauxden.herokuapp.com fwd="176.251.155.165" dyno= queue= wait= connect= service= status=503 bytes=

我對Rails和Heroku上的ruby還是比較陌生,所以我不知道如何解決此錯誤。

我還刪除了自定義域,並在我的Godaddy面板中將所有內容恢復為正常,但仍然出現此錯誤。

我試圖推送最新版本的代碼,但沒有任何區別。

部署應用程序后,您是否執行過heroku run rake db:migrate嗎?

GoDaddy可能會讓人感到痛苦,而我僅次於開發人員上面所說的^。 可能需要花費一兩天的時間才能正確加載,因此在那方面尋找問題的根源可能不可靠。

檢查以確保所有內容在您的應用程序的Heroku側都能正常運行。 Heroku的狀態看起來不錯, https://status.heroku.com/

您的應用程序在進行本地測試時還沒有崩潰嗎? http:// localhost:3000 /任何

檢查您的寶石,其他寶石似乎也有類似問題。 鏈接

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM