Getting "Application Error" when trying to push my database to Amazon RDS using gemku gem

Whenever I try to redirect my local mysql database to Amazon RDS, I get application error 503:

bundle exec heroku db:push
...
Sending schema
Schema:         40% |================                          | ETA:  00:00:38
Saving session to push_201106170529.dat..
!!! Caught Server Exception
HTTP CODE: 503
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/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>

I use bends 0.3.23

So far, the error message is similar to the message indicated here: Heroku helps Amazon RDS rails supplant the database error my problem is not related to the Amazon security group, as it is already configured.

Anyone else run into this problem?

+3
source share
2 answers

I received the same HTML response message and HTTP error code using Heroku with a CURL POST request.

heroku logs | tail :

2016-04-20T10:56:17.509354+00:00 heroku[router]: 
at=error code=H12 desc="Request timeout" method=POST [...]

H12 - . , "HTTP- 30 " [1].

https://devcenter.heroku.com/articles/request-timeout.

[1] https://devcenter.heroku.com/articles/error-codes#h12-request-timeout

+1

heroku db: push, , .

, , , db .

0

All Articles