Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant OpenSSL::PKey::EC #29

Open
p0indexter opened this issue Feb 23, 2016 · 5 comments
Open

uninitialized constant OpenSSL::PKey::EC #29

p0indexter opened this issue Feb 23, 2016 · 5 comments

Comments

@p0indexter
Copy link

On Max OSX using jruby 9.0.5.0 I get the error "uninitialized constant OpenSSL::PKey::EC" when I run
$ rake letsencrypt_plugin
If anyone wants to duplicate issue follow the installation instructions except in the gemfile use:
gem 'letsencrypt_plugin', :git => "https://github.com/lgromanowski/letsencrypt-plugin.git"
Because jRuby is comparable to ruby 2.2.0

@lgromanowski
Copy link
Owner

Hi,
could you please post ruby trace?

@p0indexter
Copy link
Author

Trace:

200-168-100-8:employment calebmitchellsmith$ rake letsencrypt_plugin --trace NOTE: ActiveRecord 4.2 with adapter: mssql is not (yet) fully supported by AR-JDBC, please consider helping us out. rake aborted! NameError: uninitialized constant OpenSSL::PKey::EC /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/json-jwt-1.5.2/lib/json/jwk/jwkizable.rb:69:in'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/json-jwt-1.5.2/lib/json/jwt.rb:1:in <top>' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/json-jwt-1.5.2/lib/json/jwt.rb:102:in'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/acme-client-0.3.0/lib/acme-client.rb:1:in <top>' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/acme-client-0.3.0/lib/acme-client.rb:5:in'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/acme-client-0.3.0/lib/acme/client.rb:1:in require' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/acme-client-0.3.0/lib/acme/client.rb:1:inblock in (root)'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/acme-client-0.3.0/lib/acme/client.rb:1:in each' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/acme-client-0.3.0/lib/acme/client.rb:1:inblock in (root)'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/bundler/gems/letsencrypt-plugin-e75ceed41c55/lib/letsencrypt_plugin.rb:1:in each' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/bundler/gems/letsencrypt-plugin-e75ceed41c55/lib/letsencrypt_plugin.rb:1:in(root)'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/bundler/gems/letsencrypt-plugin-e75ceed41c55/lib/letsencrypt_plugin.rb:7:in (root)' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/bundler-1.9.9/lib/bundler/runtime.rb:1:in'
/Users/calebmitchellsmith/.rvm/rubies/jruby-9.0.5.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54:in require' /Users/calebmitchellsmith/.rvm/rubies/jruby-9.0.5.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54:inrequire'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/bundler-1.9.9/lib/bundler/runtime.rb:76:in <top>' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/bundler-1.9.9/lib/bundler/runtime.rb:72:inload'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/bundler-1.9.9/lib/bundler/runtime.rb:72:in require' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/bundler-1.9.9/lib/bundler/runtime.rb:61:inrequire'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@emp2/gems/bundler-1.9.9/lib/bundler.rb:134:in block in require' /Users/calebmitchellsmith/Dropbox/Programing/Ruby/EMI/FTN/employment/config/application.rb:25:in(root)'
/Users/calebmitchellsmith/Dropbox/Programing/Ruby/EMI/FTN/employment/Rakefile:1:in (root)' /Users/calebmitchellsmith/Dropbox/Programing/Ruby/EMI/FTN/employment/Rakefile:4:inblock in (root)'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@global/gems/rake-10.5.0/lib/rake/rake_module.rb:1:in (root)' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@global/gems/rake-10.5.0/lib/rake/rake_module.rb:28:inload_rakefile'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@global/gems/rake-10.5.0/lib/rake/application.rb:690:in <top>' /Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@global/bin/rake:23:inload'
/Users/calebmitchellsmith/.rvm/gems/jruby-9.0.5.0@global/bin/rake:23:in <top>'

@lgromanowski
Copy link
Owner

Hi,
it seems to be related to: jruby/jruby#1261 - could you please check on most recent one version of jruby?

@p0indexter
Copy link
Author

This trace is from the most recent version - 9.0.5.0

@p0indexter
Copy link
Author

Opps, it looks like this is indeed a jRuby issue, down the thread they state the error resurfaced in jRuby 9K. Im going to try 1.7.13 and work my way up from there, to find which version of jRuby reintroduced the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants