elastic / jarvis

Logstash's ChatOps bot, J.A.R.V.I.S.
41 stars 28 forks source link

Error when publishing gem #89

Open danhermann opened 6 years ago

danhermann commented 6 years ago

When publishing version 5.0.3 of logstash-plugins/logstash-input-tcp, the error below was returned although the plugin did appear to publish successfully to rubygems.org (spaces inserted intentionally in HTML tags so they aren't rendered in the issue description):

(sadpanda) An error occurred in publish: JSON::ParserError - 765: 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/static.css" rel='stylesheet' type='text/css'> < title>Page not found | RubyGems.org</title> < /head> < body> < div class="wrapper"> < div class="image__wrapper"> < img class="error__illustration__bubble" alt="Gem missing from treasure chest" src="/images/cross.png"> < img height="530" alt="404 error" src="/images/sea_floor.svg"></img> < /div> < div class="content"> < h1>Page not found.</h1> < p>It will be mine. Oh yes. It will be mine.</p> < a href="/">Back to RubyGems.org →</a> < /div> < /div> < /body> < /html> '

robbavey commented 6 years ago

This also happened when publishing 5.0.4 of the tcp input plugin:

An error occurred in publish: JSON::ParserError - 765: 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/static.css" rel='stylesheet' type='text/css'>
   <title>Page not found | RubyGems.org</title>
 </head>
 <body>
   <div class="wrapper">
     <div class="image__wrapper">
       <img class="error__illustration__bubble" alt="Gem missing from treasure chest" src="/images/cross.png">
       <img height="530" alt="404 error" src="/images/sea_floor.svg"></img>
     </div>
     <div class="content">
       <h1>Page not found.</h1>
       <p>It will be mine. Oh yes. It will be mine.</p>
       <a href="/">Back to RubyGems.org →</a>
     </div>
   </div>
 </body>
</html>
yaauie commented 5 years ago

Occurred again publishing v5.0.5 of logstash-output-influxdb.

hamdi777 commented 4 years ago

this error is always occuring, i can't push my gem to rubygems server