Open AndyObtiva opened 3 years ago
Oh, and it also sometimes works with some combination of gem login
and gem push
as though the credentials are getting screwed up.
[] jruby-openssl $ gem login
[] jruby-openssl $ gem push --verbose ruby-maven-libs-3.9.6.1.gem
Pushing gem to https://rubygems.org...
POST https://rubygems.org/api/v1/gems
connection reset after 1 requests, retrying
POST https://rubygems.org/api/v1/gems
401 Unauthorized
You have enabled multi-factor authentication. Please enter OTP code.
Code: 023862
POST https://rubygems.org/api/v1/gems
connection reset after 1 requests, retrying
POST https://rubygems.org/api/v1/gems
200 OK
Gem was already pushed: ruby-maven-libs (3.9.6.1)
Environment Information
Provide at least:
jruby -v
) and command line (flags, JRUBY_OPTS, etc):9.3.0.0
uname -a
):Darwin Andys-MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64
Other relevant info you may wish to add:
gem --version
returns 3.2.28Expected Behavior
Running
gem push path_to_gem.gem
should result in releasing the gem to RubyGems.org successfully.This works in
jruby-9.2.19.0
Actual Behavior
In
jruby-9.3.0.0
, I get a broken pipe IOError when runninggem push path_to_gem.gem
:It works fine in
ruby-3.0.2
andjruby-9.2.19.0
. My Internet works well and the same in all cases.