Skip to content

Instantly share code, notes, and snippets.

@coryschires
Created November 2, 2011 02:03
Show Gist options
  • Save coryschires/1332657 to your computer and use it in GitHub Desktop.
Save coryschires/1332657 to your computer and use it in GitHub Desktop.
Heroku push error
ruby-1.9.2-head@scholastica[master*]$ heroku db:pull --confirm scholastica
Loaded Taps v0.3.23
Auto-detected local database: postgres://127.0.0.1/eruditee_development?encoding=utf8
Warning: Data in the database 'postgres://127.0.0.1/eruditee_development?encoding=utf8' will be overwritten and will not be recoverable.
Receiving schema
Schema: 0% | | ETA: --:--:--
Schema: 3% |= | ETA: 00:00:44
Schema: 7% |== | ETA: 00:00:37
Schema: 11% |==== | ETA: 00:00:33
Schema: 15% |====== | ETA: 00:00:30
Schema: 19% |======= | ETA: 00:00:31
Schema: 23% |========= | ETA: 00:00:28
Schema: 26% |========== | ETA: 00:00:26
Schema: 30% |============ | ETA: 00:00:25
Schema: 34% |============== | ETA: 00:00:23
Schema: 38% |=============== | ETA: 00:00:22
Schema: 42% |================= | ETA: 00:00:20
Schema: 46% |=================== | ETA: 00:00:19
Schema: 50% |===================== | ETA: 00:00:18
Schema: 53% |====================== | ETA: 00:00:16
Schema: 57% |======================= | ETA: 00:00:15
Schema: 61% |========================= | ETA: 00:00:13
Schema: 65% |=========================== | ETA: 00:00:12
Schema: 69% |============================ | ETA: 00:00:11
Schema: 73% |============================== | ETA: 00:00:09
Schema: 76% |=============================== | ETA: 00:00:08
Saving session to pull_201111011849.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>
@coryschires
Copy link
Author

It was failing at different percentages while retrieving the schema.

@KDonohoe
Copy link

KDonohoe commented Nov 2, 2011

With the HTTP Code 503, Looks like something to do with the heroku servers themselves. It could be timing out while receiving the schema. I have had the same errors in the past, After playing about, the quickest way I rectified it was to start a new instance of the application server and continue.

@coryschires
Copy link
Author

Thanks for looking into it. I also submitted a support ticket at Heroku. They confirmed that it was indeed something on their end (restarting taps servers).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment