tag:help.rubygems.org,2010-01-19:/discussions/problems/11047-receiving-500-error-when-pushing-gemRubyGems.org: Discussion 2015-08-17T19:39:20Ztag:help.rubygems.org,2010-01-19:Comment/294352582013-10-16T17:43:30Z2013-10-16T17:43:31ZReceiving 500 error when pushing gem<div><p>I tried to re-open the discussion that I started yesterday as
instructed but the option was not available to me. I am still
receiving the same error as of this morning trying to do the same
thing. Here is the error so you don't have to reference the
previous discussion:</p>
<p>$ bundle exec rake release --trace ** Invoke release
(first_time) ** Invoke build (first_time) ** Execute build
mods_display 0.2.0 built to pkg/mods_display-0.2.0.gem.<br>
** Execute release Tag v0.2.0 has already been created.<br>
rake aborted!<br>
Pushing gem to <a href=
"https://rubygems.org">https://rubygems.org</a>...<br>
<br>
500 Internal Server Error<br>
<br></p>
<h1>500 Internal Server Error</h1>
<br>
<hr>
nginx<br>
<br>
<br>
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/gem_helper.rb:150:in
<code>sh'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/gem_helper.rb:84:in</code>rubygem_push'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/gem_helper.rb:78:in
<code>release_gem'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/gem_helper.rb:50:in</code>block
in install'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in
<code>call'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in</code>block
in execute'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in
<code>each'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in</code>execute'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:175:in
<code>block in invoke_with_call_chain'
~/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in</code>mon_synchronize'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in
<code>invoke_with_call_chain'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:161:in</code>invoke'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:149:in
<code>invoke_task'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in</code>block
(2 levels) in top_level'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in
<code>each'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in</code>block
in top_level'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:115:in
<code>run_with_threads'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:100:in</code>top_level'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:78:in
<code>block in run'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in</code>standard_exception_handling'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:75:in
<code>run'
~/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/rake-10.1.0/bin/rake:33:in</code>'
~/.rbenv/versions/2.0.0-p247/bin/rake:23:in <code>load'
~/.rbenv/versions/2.0.0-p247/bin/rake:23:in</code>' Tasks: TOP
=> release
<p>Any thoughts?</p></div>jessie.kecktag:help.rubygems.org,2010-01-19:Comment/294352582013-10-16T17:48:25Z2013-10-16T17:48:29ZReceiving 500 error when pushing gem<div><p>Me too.<br></p>
<pre>
<code>gem push pkg/rerun-0.8.2.gem
Pushing gem to https://rubygems.org...
<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html></code>
</pre></div>Alex Chaffeetag:help.rubygems.org,2010-01-19:Comment/294352582013-10-16T18:08:00Z2015-08-17T19:39:19ZReceiving 500 error when pushing gem<div><p>...and, it just worked. If it's a load balancer thing, maybe the
solution is to keep trying until you randomly hit a non-broken
server.</p></div>Alex Chaffeetag:help.rubygems.org,2010-01-19:Comment/294352582013-10-16T20:40:17Z2013-10-16T20:40:18ZReceiving 500 error when pushing gem<div><p>It looks like the gem was pushed and is up on rubygems.org and
after pushing an additional patch release this afternoon I did not
receive the 500 error.</p>
<p>Thanks</p></div>jessie.kecktag:help.rubygems.org,2010-01-19:Comment/294352582013-10-16T20:52:48Z2013-10-16T20:52:48ZReceiving 500 error when pushing gem<div><p>Great!</p>
<p>BTW, when you comment on a discussion it re-opens.</p></div>Eric Hodel