# jRuby error using het/https

**URL:** <https://www.ruby-forum.com/t/jruby-error-using-het-https/80331>\
**Category:** Ruby\
**Created:** [December 24, 2006, 7:05am UTC](https://www.ruby-forum.com/t/jruby-error-using-het-https/80331 "2006-12-24T07:05:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [December 24, 2006, 7:05am UTC](https://www.ruby-forum.com/t/jruby-error-using-het-https/80331/1 "2006-12-24T07:05:30Z")

</div>

when using :  
require ‘net/https’ under jRuby 0.92  
i get the following error :

/Users/yvon/bin/jruby/lib/ruby/1.8/openssl/cipher.rb:57:in `new’ wrong  
argument.

this is using the script given by “jin” at  
\<[www.jinsync.com/files/jinsync\_0.25\_alpha.zip](http://www.jinsync.com/files/jinsync_0.25_alpha.zip)\>

but most probably has nothing to do with jin’s script rather than jRuby  
environment.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [December 24, 2006, 11:39am UTC](https://www.ruby-forum.com/t/jruby-error-using-het-https/80331/2 "2006-12-24T11:39:41Z")

</div>

Père Noël wrote:

> but most probably has nothing to do with jin’s script rather than jRuby  
> environment.

Interesting. Can you pop over to the JRuby dev or user lists and report  
this again? The SSL support in JRuby is extremely new, so you may have  
stumbled on a problem with it.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [December 24, 2006, 12:21pm UTC](https://www.ruby-forum.com/t/jruby-error-using-het-https/80331/3 "2006-12-24T12:21:43Z")

</div>

Charles Oliver N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Interesting. Can you pop over to the JRuby dev or user lists and report  
> this again? The SSL support in JRuby is extremely new, so you may have  
> stumbled on a problem with it.

done 😉
