You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to use the AWS SDK v2 for Ruby.
When preforming a require 'aws-sdk' I get the following stacktrace:
uri:classloader:/jruby/kernel/kernel.rb:28: warning: unsupported exec option: close_others
LoadError: load error: jopenssl/load -- java.lang.SecurityException: class "org.bouncycastle.asn1.ASN1Primitive"'s signer information does not match signer information of other classes in the same package
require at org/jruby/RubyKernel.java:940
<top> at /Users/dfinninger/.rvm/rubies/jruby-9.0.0.0/lib/ruby/stdlib/openssl.rb:1
require at org/jruby/RubyKernel.java:940
<top> at /Users/dfinninger/.rvm/rubies/jruby-9.0.0.0/lib/ruby/stdlib/net/https.rb:1
require at org/jruby/RubyKernel.java:940
<top> at /Users/dfinninger/.rvm/rubies/jruby-9.0.0.0/lib/ruby/stdlib/net/https.rb:22
<class:(root)> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/net_http/connection_pool.rb:1
<module:(root)> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/net_http/connection_pool.rb:2
<module:(root)> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/plugins/net_http.rb:1
<module:NetHttp> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/plugins/net_http.rb:18
<top> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/plugins/net_http.rb:16
<class:Client> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/plugins/net_http.rb:3
<module:Seahorse> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/plugins/net_http.rb:2
<module:(root)> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/plugins/net_http.rb:1
<top> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/base.rb:1
<module:Base> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/base.rb:10
<top> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/base.rb:5
block in Seahorse at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/base.rb:4
call at org/jruby/RubyProc.java:308
block in (root) at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/seahorse/client/base.rb:3
each at org/jruby/RubyArray.java:1560
(root) at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/aws-sdk-core/client.rb:1
<top> at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/aws-sdk-core/client.rb:3
(root) at /Users/dfinninger/.rvm/gems/jruby-9.0.0.0@paddock/gems/aws-sdk-core-2.2.1/lib/aws-sdk-core/client.rb:1
<top> at bin/paddock:6
I also tried running in the newest version of the JRuby docker container:
bundler: failed to load command: bin/paddock (bin/paddock)
LoadError: load error: jopenssl/load -- java.lang.SecurityException: class "org.bouncycastle.crypto.params.ECNamedDomainParameters"'s signer information does not match signer information of other classes in the same package
org/jruby/RubyKernel.java:956:in `require'
/opt/jruby/lib/ruby/stdlib/openssl.rb:1:in `<main>'
org/jruby/RubyKernel.java:956:in `require'
/opt/jruby/lib/ruby/stdlib/net/https.rb:1:in `<main>'
org/jruby/RubyKernel.java:956:in `require'
/opt/jruby/lib/ruby/stdlib/net/https.rb:23:in `<main>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/net_http/connection_pool.rb:1:in `<class:(root)>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/net_http/connection_pool.rb:2:in `<module:(root)>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/plugins/net_http.rb:1:in `<module:(root)>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/plugins/net_http.rb:18:in `<module:NetHttp>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/plugins/net_http.rb:16:in `<main>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/plugins/net_http.rb:3:in `<class:Client>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/plugins/net_http.rb:2:in `<module:Seahorse>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/plugins/net_http.rb:1:in `<module:(root)>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/base.rb:1:in `<main>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/base.rb:10:in `<module:Base>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/base.rb:5:in `<main>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/base.rb:4:in `block in Seahorse'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/seahorse/client/base.rb:3:in `block in (root)'
org/jruby/RubyArray.java:1734:in `each'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/aws-sdk-core/client.rb:1:in `(root)'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/aws-sdk-core/client.rb:3:in `<main>'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/aws-sdk-core/client.rb:1:in `(root)'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/aws-sdk-core.rb:1:in `<main>'
org/jruby/RubyKernel.java:974:in `load'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/aws-sdk-core.rb:460:in `Aws'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/aws-sdk-core.rb:450:in `add_service'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/aws-sdk-core.rb:449:in `add_service'
/usr/local/bundle/gems/aws-sdk-core-2.6.11/lib/aws-sdk-core/sqs.rb:5:in `(root)'
/var/code/paddock/lib/paddock/downloader.rb:1:in `(root)'
/var/code/paddock/lib/paddock/downloader.rb:8:in `initialize'
bin/paddock:6:in `(root)'
JRuby version in container:
jruby 9.1.5.0 (2.3.1) 2016-09-07 036ce39 OpenJDK 64-Bit Server VM 25.102-b14 on 1.8.0_102-8u102-b14.1-1~bpo8+1-b14 +jit [linux-x86_64]
If you need any more information, please let me know.
The text was updated successfully, but these errors were encountered:
this error usually means that there is another bouncy-castle jar on your
classpath or under the JRubyClassloader. sometimes it is install as
extension to the system java.
Hello, I am trying to use the AWS SDK v2 for Ruby.
When preforming a
require 'aws-sdk'
I get the following stacktrace:I also tried running in the newest version of the JRuby docker container:
JRuby version in container:
If you need any more information, please let me know.
The text was updated successfully, but these errors were encountered: