簡體   English   中英

Heroku幫助Amazon RDS Rails推送數據庫錯誤

[英]Heroku help Amazon RDS rails push database error

嘗試將數據庫推送到Amazon RDS時出現503錯誤

Home@PC /c/rails/konkurranceportalen (master)
$ heroku db:push
Loaded Taps v0.3.19
Auto-detected local database: mysql://root@127.0.0.1/konkurranceportalen?encodin
g=utf8
Warning: Data in the app 'vinderhimlen' will be overwritten and will not be reco
verable.

 !    WARNING: Potentially Destructive Action
 !    This command will affect the app: vinderhimlen
 !    To proceed, type "vinderhimlen" or re-run this command with --confirm vind
erhimlen

> vinderhimlen
Sending schema
Schema:        100% |==========================================| Time: 00:01:07
Sending indexes
admins:        100% |==========================================| Time: 00:00:01
schema_migrat: 100% |==========================================| Time: 00:00:01
slugs:         100% |==========================================| Time: 00:00:02
Sending data
7 tables, 138 records
admins:        100% |==========================================| Time: 00:00:00
kategoris:       0% |                                          | ETA:  --:--:--
Saving session to push_201103182120.dat..
!!! Caught Server Exception
HTTP CODE: 503
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or
g/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
      <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
      <style type="text/css">
        html, body, iframe { margin: 0; padding: 0; height: 100%; }
        iframe { display: block; width: 100%; border: none; }
      </style>
    <title>Application Error</title></head>
    </head>
    <body>
      <iframe src="https://s3.amazonaws.com/heroku_pages/error.html">
        <p>Application Error</p>
      </iframe>
    </body>
    </html>

Home@PC /c/rails/konkurranceportalen (master)
$

我的Heroku日志http://pastie.org/1687466

問題是Amazon RDS防火牆確實阻止了Heroku。 在Amazon AWS> Amazon RDS中,我確實進入了安全組並添加了一個EC2安全組。

詳細信息如下:

Security Group: default
AWS Account ID: 098166147350

暫無
暫無

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

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