Skip to content

OpenSSL::SSL::SSLError #12

Open
Open
@AskBid

Description

running this code

require 'gqli'

GQL_CLIENT = GQLi::Client.new(
  "https://x.x.x.x:3100/graphql",
)

I get the following error:

Traceback (most recent call last):
	14: from db/seeds.rb:20:in `<main>'
	13: from db/seeds.rb:20:in `new'
	12: from /Library/Ruby/Gems/2.6.0/gems/gqli-1.0.0/lib/gqli/client.rb:20:in `initialize'
	11: from /Library/Ruby/Gems/2.6.0/gems/gqli-1.0.0/lib/gqli/client.rb:20:in `new'
	10: from /Library/Ruby/Gems/2.6.0/gems/gqli-1.0.0/lib/gqli/introspection.rb:80:in `initialize'
	 9: from /Library/Ruby/Gems/2.6.0/gems/gqli-1.0.0/lib/gqli/client.rb:37:in `execute!'
	 8: from /Library/Ruby/Gems/2.6.0/gems/http-2.2.2/lib/http/chainable.rb:26:in `post'
	 7: from /Library/Ruby/Gems/2.6.0/gems/http-2.2.2/lib/http/client.rb:41:in `request'
	 6: from /Library/Ruby/Gems/2.6.0/gems/http-2.2.2/lib/http/client.rb:60:in `perform'
	 5: from /Library/Ruby/Gems/2.6.0/gems/http-2.2.2/lib/http/client.rb:60:in `new'
	 4: from /Library/Ruby/Gems/2.6.0/gems/http-2.2.2/lib/http/connection.rb:44:in `initialize'
	 3: from /Library/Ruby/Gems/2.6.0/gems/http-2.2.2/lib/http/connection.rb:158:in `start_tls'
	 2: from /Library/Ruby/Gems/2.6.0/gems/http-2.2.2/lib/http/timeout/null.rb:35:in `start_tls'
	 1: from /Library/Ruby/Gems/2.6.0/gems/http-2.2.2/lib/http/timeout/null.rb:26:in `connect_ssl'
/Library/Ruby/Gems/2.6.0/gems/http-2.2.2/lib/http/timeout/null.rb:26:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server hello A: wrong version number (OpenSSL::SSL::SSLError)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions