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

OpenSSL::SSL::SSLError #12

Open
AskBid opened this issue Nov 26, 2020 · 0 comments
Open

OpenSSL::SSL::SSLError #12

AskBid opened this issue Nov 26, 2020 · 0 comments

Comments

@AskBid
Copy link

AskBid commented Nov 26, 2020

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant