`rescue in transmit': Request Timeout
CHH opened this issue · comments
Christoph Hochstrasser commented
I get this every time I try to build PHP via vulcan
for my PHP Buildpack (see ./support/package_php
).
/app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:184:in `rescue in transmit': Request Timeout (RestClient::RequestTimeout)
from /app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:140:in `transmit'
from /app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
from /app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'
from /app/vendor/gems/gems/couchrest-1.1.2/lib/couchrest/rest_api.rb:89:in `execute'
from /app/vendor/gems/gems/couchrest-1.1.2/lib/couchrest/rest_api.rb:50:in `put'
from /app/vendor/gems/gems/couchrest-1.1.2/lib/couchrest/database.rb:316:in `put_attachment'
from /app/vendor/gems/gems/couchrest-1.1.2/lib/couchrest/helper/attachments.rb:8:in `put_attachment'
from bin/vulcan-make:74:in `block (2 levels) in <main>'
from bin/vulcan-make:18:in `chdir'
from bin/vulcan-make:18:in `block in <main>'
from /usr/local/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
from bin/vulcan-make:17:in `<main>'
>> Downloading build artifacts to: /var/folders/5t/bl8h70sn58x9mbd9tmb28t0w0000gn/T/php_xxxx.bBeGlZwT/php-5.3.25.tgz
(available at http://chh-buildserver.herokuapp.com/output/e4ed77a6-c956-47bc-86d4-59b93f23c33c)
503 Service Unavailable: <!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="//s3.amazonaws.com/heroku_pages/error.html">
<p>Application Error</p>
</iframe>
</body>
</html>
Christoph Hochstrasser commented
I think I've found the issue. It's because my Cloudant database is full. I've deleted the database and it works fine now.
I think it would be great if Vulcan could clean up old builds somehow, so you don't have to do this yourself.