I am using Evernote Ruby API to develop a web application(using rails and oauth). But while running the application in Ubuntu 12.04 I am getting an error "SSL_connect SYSCALL returned=5 errno=0 state=unknown state." This happens only in ubuntu 12.04. Ubuntu versions < 12.04 doesnt have this problem.
相关问题
- Question marks after images and js/css files in ra
- Using :remote => true with hover event
- Eager-loading association count with Arel (Rails 3
- How to specify memcache server to Rack::Session::M
- Why am I getting a “C compiler cannot create execu
相关文章
- Ruby using wrong version of openssl
- Right way to deploy Rails + Puma + Postgres app to
- AWS S3 in rails - how to set the s3_signature_vers
- Difference between Thread#run and Thread#wakeup?
- how to call a active record named scope with a str
- How to add a JSON column in MySQL with Rails 5 Mig
- “No explicit conversion of Symbol into String” for
- form_for wrong number of arguments in rails 4
What is your current SSL_Cert_file environmental variable set to? Try setting the SSL_Cert_file environmental variable to:
If that doesn't work and you are using RVM maybe setting the path to:
~/.rvm/usr/ssl/cert.pem
Before you make any changes just note down what the path currently is so that you can set it back if needed.
This issue is being caused by a known bug in Ubuntu openssl 1.0.1:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/965371
https://serverfault.com/questions/389197/ssl-routinesssl23-writessl-handshake-failure
Unfortunately, there's a lot of fingerpointing going on and no fixes. If you're running Ruby 1.9 you can force the SSL version to either TLSv1 or SSLv3 to fix it (the problem is with TLSv1.1):
Ruby SSL error - sslv3 alert unexpected message