Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssl error #1

Open
vasukiran opened this issue Aug 28, 2015 · 1 comment
Open

ssl error #1

vasukiran opened this issue Aug 28, 2015 · 1 comment

Comments

@vasukiran
Copy link

Hi
I am getting this below error
irb(main):001:0> require 'accessibility'
=> true
irb(main):002:0> a11y = Accessibility.check('http://validationhell.com')
=> #<Accessibility::Checker:0x3bf3a90 @url="http://validationhell.com", @checker_uri="https://access-lint-server-demo.herokuapp.com", @Audit=#<Accessibility::Audit:0x3bf39e8 @checker=#<Accessibility::Checker:0x3bf3a90 ...>>>
irb(main):003:0> warning = a11y.warnings.last
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:921:in connect' from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:921:inblock in connect'
from C:/Ruby200/lib/ruby/2.0.0/timeout.rb:52:in timeout' from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:921:inconnect'
from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:862:in do_start' from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:851:instart'
from C:/Ruby200/lib/ruby/2.0.0/net/http.rb:1373:in request' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/httparty-0.13.5/lib/httparty/request.rb:101:inperform'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/httparty-0.13.5/lib/httparty.rb:522:in perform_request' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/httparty-0.13.5/lib/httparty.rb:460:inget'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/httparty-0.13.5/lib/httparty.rb:560:in get' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/accessibility-0.1.0/lib/accessibility/checker.rb:47:inraw'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/accessibility-0.1.0/lib/accessibility/audit.rb:22:in all' from C:/Ruby200/lib/ruby/gems/2.0.0/gems/accessibility-0.1.0/lib/accessibility/audit.rb:37:infailed'
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/accessibility-0.1.0/lib/accessibility/audit.rb:47:in warnings' from (irb):3 from C:/Ruby200/bin/irb:12:in

'irb(main):004:0>

@vasukiran vasukiran changed the title ssl erro ssl error Aug 28, 2015
@Anagha22
Copy link

In your Gemfile,change the https://rubygems.org to http://rubygems.org and run. This should fix the SSL error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants