簡體   English   中英

拒絕訪問heroku應用

[英]access denied to heroku app

我剛剛在Koding終端Chrome應用中創建了ruby on rails 4應用。 我成功地使用git將應用程序推送到了Heroku,但是每當我嘗試訪問我的應用程序<myapp>.herokuapp.com的域時,我<myapp>.herokuapp.com看到一個頁面:

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

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

當我查看http://s3.amazonaws.com/heroku_pages/error.html/日志時,它說:

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>DA3A6B32D49C510F</RequestId>
<HostId>1GLJkU8UYRWbwRD/P0rquzPhTnLOwUeRL37HBveDCKVjEY3yqc9GUtW84ivmx57l</HostId>
</Error>

我是在Heroku上發布應用程序的新手,任何幫助將不勝感激!

您的生產環境中存在錯誤。 要在本地計算機上嘗試,請運行:

rails的RAILS_ENV =生產

暫無
暫無

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

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