Ruby on Rails
Tuesday, May 27, 2014
On Tuesday, 27 May 2014 00:51:47 UTC-5, Usha wrote:
Dear All,rvm ssl updated sucessfully and Openssl/ca cert seems to be correct in my system but still i get HTTPI::SSL Error, Plz help me , my environment as follows:
$ whereis openssl
openssl: /usr/bin/openssl /usr/include/openssl /usr/share/man/man1/openssl.1ssl.gz
$ env | grep -i "ssl"
SSL_CERT_FILE=/usr/lib/ssl/cert.pem
$ rvm osx-ssl-certs status all
Certificates for /usr/lib/ssl/cert.pem: Up to date.
rvm osx-ssl-certs status all
Certificates for /usr/lib/ssl/cert.pem: Up to date.
$ rvm reload
RVM reloaded
Still it throws the following error, plz suggest how to resolve this, I have spent nearly one day still cant figure out the issue, plz help me , the error as follws:
HTTPI::SSLError in searchesController
SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failure
SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: sslv3 alert handshake failureRAILS_ROOT: /usha/myapp2.1.0/lib/httpi/adapter/httpclient.rb:28:in `request' /ruby-1.8.7-p330/gems/httpi-2. 1.0/lib/httpi.rb:140:in `request' .rvm/gems/ruby-1.8.7-p330/ gems/httpi-2.1.0/lib/httpi.rb: 112:in `post' /.rvm/gems/ruby-1.8.7-p330/ gems/savon-2.3.2/lib/savon/ operation.rb:86:in `call_with_logging' .rvm/gems/ruby-1.8.7-p330/ gems/savon-2.3.2/lib/savon/ request_logger.rb:12:in `call' rvm/gems/ruby-1.8.7-p330/gems/ savon-2.3.2/lib/savon/request_ logger.rb:12:in `/.rvm/gems/ruby-1.8.7-p330/ gems/savon-2.3.2/lib/savon/ client.rb:36:in `call'
Any help is appreciated, Plz shed some light in this issue.
Mislav's ssl doctor script (bottom of the post) can be useful:
http://mislav.uniqpath.com/2013/07/ruby-openssl/
If nothing else, posting what it outputs should provide more information to troubleshoot this issue.
--Matt Jones
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4cea40d1-9c1f-44c9-aa25-11f338fbc74a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment