relaton / relaton-iso

RelatonIso: ISO Standards metadata using the BibliographicItem model
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Ruby 2.3 SSL_connect returned=1 errno=0 state=error: certificate verify failed (OpenSSL::SSL::SSLError) #39

Closed CAMOBAP closed 5 years ago

CAMOBAP commented 5 years ago
C:/Ruby23/lib/ruby/2.3.0/net/http.rb:933:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (OpenSSL::SSL::SSLError)
    from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:933:in `connect'
    from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:863:in `do_start'
    from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:852:in `start'
    from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:584:in `start'
    from C:/Ruby23/lib/ruby/2.3.0/net/http.rb:479:in `get_response'
    from C:/Ruby23/lib/ruby/gems/2.3.0/gems/isobib-0.4.3/lib/isobib/scrapper.rb:181:in `get_page'
    from C:/Ruby23/lib/ruby/gems/2.3.0/gems/isobib-0.4.3/lib/isobib/scrapper.rb:63:in `parse_page'
    from C:/Ruby23/lib/ruby/gems/2.3.0/gems/isobib-0.4.3/lib/isobib/hit.rb:22:in `fetch'
    from C:/Ruby23/lib/ruby/gems/2.3.0/gems/isobib-0.4.3/lib/isobib/iso_bibliography.rb:71:in `block in fetch_pages'
    from C:/Ruby23/lib/ruby/gems/2.3.0/gems/iecbib-0.2.2/lib/iecbib/workers_pool.rb:18:in `block (2 levels) in worker'

Issue was discovered here https://github.com/metanorma/ogc-tcpnp/pull/2 (later in https://github.com/metanorma/relaton-cli/pull/44 too) reproduces only on Ruby 2.3 on windows

CAMOBAP commented 5 years ago

@ronaldtse please triage how important it is

ronaldtse commented 5 years ago

I think it's not that important. Let's drop Ruby 2.3 from Windows support. Ruby 2.3 is really only for Portable Ruby.

CAMOBAP commented 5 years ago

Ok