A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/travis-ci/travis.rb/issues/246 below:

Improve error handling when RubyGems.org is offline · Issue #246 · travis-ci/travis.rb · GitHub

On a new install (sudo gem install travis) just now, while RubyGems.org had an outage the CLI was unusable, with rather substandard error behavior:

$ travis encrypt FOO=bar
757: unexpected token at '<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    <link href="/stylesheets/reset.css" media="screen" rel="stylesheet" type="text/css" />
    <link href="/stylesheets/960.css" media="screen" rel="stylesheet" type="text/css" />
    <link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" />
    <!--[if IE 7]>
      <link href="/stylesheets/ie7.css" media="screen" rel="stylesheet" type="text/css" />
    <![endif]-->
    <title>under maintenance | RubyGems.org</title>
  </head>
  <body>
    <div class="container_12">
      <div class="prefix_1 grid_4 header">
        <h1><a href="/" title="Home">RubyGems.org</a></h1>
      </div>
      <div class="grid_6 suffix_1 nav">
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
      </div>
      <div class="prefix_1 grid_10 suffix_1 main">
        <div class="info">
          <div class="title">
            <h2>Under maintenance</h2>
            <h3>I'm having a good time... *not*!</h3>
          </div>
          <p>We'll be back to 100% soon. Some long migration or fixes are being put in place. Hold on!</p>
          <p>Please checkout <a href="http://twitter.com/rubygems_status">@rubygems_status</a> and <a href="http://status.rubygems.org/">status.rubygems.org</a> for more real-time status updates.</p>
          <p>While you wait...</p>
          <p style="text-align: center">
            <iframe width="420" height="315" src="http://www.youtube.com/embed/g4ouPGGLI6Q" frameborder="0" allowfullscreen></iframe>
          </p>
        </div>
      </div>
      <div class="prefix_1 grid_10 suffix_1 footer">
        <div class="links">
        </div>
      </div>
    </div>
  </body>
</html>'

Later, once RubyGems.org changed from "under maintenance" to "Server Error", we also observed this output:

$ travis encrypt FOO=bar
undefined method `split' for nil:NilClass
for a full error report, run travis report

The CLI started behaving normally once RubyGems.org came back. Unfortunately, nothing useful captured in travis report:

$ travis report
System
Ruby:                     Ruby 1.9.3-p0
Operating System:         Ubuntu 12.04
RubyGems:                 RubyGems 1.8.11

CLI
Version:                  1.7.4
Plugins:                  none
Auto-Completion:          no
Last Version Check:       2014-11-14 22:51:55 +0000

Session
API Endpoint:             https://api.travis-ci.org/
Logged In:                no
Verify SSL:               yes
Enterprise:               no

Endpoints
org:                      https://api.travis-ci.org/ (current)

cc: @lisp


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4