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

Already on GitHub? Sign in to your account

SSL error on jquery:install --ui #17

Closed
benmoss opened this Issue Nov 5, 2010 · 18 comments

Comments

Projects
None yet

benmoss commented Nov 5, 2010

Doing a fresh install on Rails 3.0.1 with jquery-rails 0.2.5. It installs jquery and jquery-ui and then goes for jQuery-UJS adapter and i get

fetching  jQuery UJS adapter (github HEAD)
/opt/local/lib/ruby/1.8/net/http.rb:586:in `connect': SSL_connect returned=1    errno=0 state=SSLv3 read server certificate B: certificate verify failed   (OpenSSL::SSL::SSLError)

followed by a crap load more http errors and such

Owner

indirect commented Nov 5, 2010

Sounds like github is having certain issues. Hopefully they'll get them sorted soon.

Owner

indirect commented Nov 5, 2010

Erm, certificate issues

Bump. Same thing. Fresh Rails 3.0.0 with jquery-rails 0.2.5.
Tried without the --ui flag and same result. Looks like install won't run till the cert issue gets fixed.

Owner

indirect commented Nov 17, 2010

There's a pull request that disables cert checking, but I don't want to release that. I'm too busy to fix it myself this week, but if one of you wants to update the pull request to include the CA certificates and use them, I will happily pull. I linked to an example of how I did it for the gist gem that you can copy in the pull request.

for quickfix, add following lines to "environment.rb":

require 'openssl'
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE

make sure that you remove those lines after you install jquery-rails

benmoss commented Dec 2, 2010

From the commits this should be fixed in 0.2.6 which just came out

Owner

indirect commented Dec 2, 2010

The OpenSSL error is a Windows-only issue that I'm trying to get to the bottom of. I'll update when I know more.

rbreve commented Dec 3, 2010

I got /opt/local/lib/ruby/1.8/net/http.rb:586:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) that error, and used @assembler's fix and now it works, thank you!

perugini commented Dec 4, 2010

Just to say that there's same error on MAC OSX.

Until your fix I'll use @assembler's tip, thx :)

I'm still seeing this in 0.2.6 on Windows 7.

benmoss commented Dec 23, 2010

theres a pull req that fixes it

It's an issue on Centos 5.3, too.

debprado commented Feb 2, 2011

same error here, os x

marfarma commented Apr 7, 2011

+1 os x leopard

Despite being closed, this error is happening today on Snow Leopard. @assembler's fix worked.

i also still got the same error today....

@benmoss benmoss reopened this Apr 18, 2011

@benmoss benmoss closed this Apr 18, 2011

woto commented Apr 28, 2011

still have this error

woto commented Apr 28, 2011

still have this error on macos

@matthewsim matthewsim reopened this Apr 28, 2011

@indirect indirect closed this May 11, 2011

@gaaady gaaady referenced this issue in mobomo/rails_wizard Mar 31, 2011

Closed

jquery recipe fails under windows #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment