Skip to content

Instantly share code, notes, and snippets.

@Ferada
Created December 3, 2014 14:56
Show Gist options
  • Save Ferada/374b0f3f9a777ef6f27d to your computer and use it in GitHub Desktop.
Save Ferada/374b0f3f9a777ef6f27d to your computer and use it in GitHub Desktop.
DigitalOcean error in tugboat.
0 ~ % tugboat ssh -e my-host
Droplet fuzzy name provided. Finding droplet ID...757: unexpected token at '<!DOCTYPE html>
<html>
<head>
<title>DigitalOcean - Seems we've encountered a problem!</title>
<style type="text/css">
body {
background-color: #27a1e3;
margin: 0px;
padding: 0px;
}
div.header{
background-color: #E2F4FE;
background-image: url('https://assets.digitalocean.com/public/waves.png');
background-repeat: repeat-x;
background-position: center bottom;
padding-top: 150px;
}
div.main{
overflow: auto;
width: 960px;
margin: auto;
margin-top: 50px;
}
div.text{
width: 450px;
float: left;
}
div.text p{
color: #fff;
font-size: 18pt;
font-family: helvetica;
}
div.mascot{
width: 450px;
float: right;
}
div.copyright{
clear: both;
}
div.copyright p{
color: #fff;
text-align: center;
font-size: 10pt;
font-family: helvetica;
padding-top: 60px;
}
</style>
</head>
<body>
<div class="header">
</div>
<div class="main">
<div class="text">
<a href="https://www.digitalocean.com"><img src="https://assets.digitalocean.com/public/logo.png"></a>
<p>Oh no! It seems as though we've encountered a problem! Please try your request again.</p>
</div>
<div class="mascot">
<img src="https://assets.digitalocean.com/public/mascot.png" />
</div>
</div>
<div class="copyright">
<p>&copy;2011-2013 DigitalOcean<sup>TM</sup>, Inc. All Rights Reserved.</p>
</div>
<div style="display:none">
::CLOUDFLARE_ERROR_500S_BOX::
</div>
</body>
'!
/var/lib/gems/1.9.1/gems/tugboat-0.2.1/lib/tugboat/middleware/authentication_middleware.rb:24:in `rescue in call': undefined method `status' for #<String:0x00000002a24200> (NoMethodError)
from /var/lib/gems/1.9.1/gems/tugboat-0.2.1/lib/tugboat/middleware/authentication_middleware.rb:20:in `call'
from /var/lib/gems/1.9.1/gems/faraday-0.8.9/lib/faraday/connection.rb:253:in `run_request'
from /var/lib/gems/1.9.1/gems/faraday-0.8.9/lib/faraday/connection.rb:106:in `get'
from /var/lib/gems/1.9.1/gems/digital_ocean-1.0.1/lib/digital_ocean/resource/droplet.rb:6:in `list'
from /var/lib/gems/1.9.1/gems/tugboat-0.2.1/lib/tugboat/middleware/find_droplet.rb:75:in `call'
from /var/lib/gems/1.9.1/gems/tugboat-0.2.1/lib/tugboat/middleware/inject_client.rb:33:in `call'
from /var/lib/gems/1.9.1/gems/tugboat-0.2.1/lib/tugboat/middleware/check_configuration.rb:19:in `call'
from /var/lib/gems/1.9.1/gems/tugboat-0.2.1/lib/tugboat/middleware/inject_configuration.rb:10:in `call'
from /var/lib/gems/1.9.1/gems/middleware-0.1.0/lib/middleware/runner.rb:31:in `call'
from /var/lib/gems/1.9.1/gems/middleware-0.1.0/lib/middleware/builder.rb:102:in `call'
from /var/lib/gems/1.9.1/gems/tugboat-0.2.1/lib/tugboat/cli.rb:104:in `ssh'
from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
from /var/lib/gems/1.9.1/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
from /var/lib/gems/1.9.1/gems/tugboat-0.2.1/bin/tugboat:10:in `<top (required)>'
from /usr/local/bin/tugboat:23:in `load'
from /usr/local/bin/tugboat:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment