2011-03-18 2 views
2

je reçois une erreur 503 lorsque vous essayez de pousser ma base de données pour Amazon RDSHeroku aide rails Amazon RDS pousser erreur de base de données

[email protected] /c/rails/konkurranceportalen (master) 
$ heroku db:push 
Loaded Taps v0.3.19 
Auto-detected local database: mysql://[email protected]/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> 

[email protected] /c/rails/konkurranceportalen (master) 
$ 

Mon Heroku log http://pastie.org/1687466

+1

Y at-il dans '$ heroku logs'? –

+0

Oui http://pastie.org/1687466 –

Répondre

1

Le problème était que le pare-feu Amazon RDS a fait bloc Heroku . Dans Amazon AWS> Amazon RDS, je suis allé dans le groupe de sécurité et j'ai ajouté un groupe de sécurité EC2.

avec les détails suivants:

Security Group: default 
AWS Account ID: 098166147350 
Questions connexes