Question

Use of verify_ssl=False in the looker.ini file is not working as expected

  • 20 October 2021
  • 0 replies
  • 19 views

Appreciate insights and assistance.
 

I am using ‘verify_ssl=False’ as documented in:

 

and still am receiving the following error:

     1: from /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/net/protocol.rb:44:in `ssl_socket_connect'
/usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/net/protocol.rb:44:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate) (Faraday::SSLError)

 

OS: Red Hat 8

Looker: 21.10.15

 

Here is the full error trail as presented by Ruby:

    42: from /usr/local/rvm/gems/ruby-2.7.2/bin/gzr:25:in `<main>'
    41: from /usr/local/rvm/gems/ruby-2.7.2/bin/gzr:25:in `load'
    40: from /usr/local/rvm/gems/ruby-2.7.2/gems/gazer-0.2.47/exe/gzr:36:in `<top (required)>'
    39: from /usr/local/rvm/gems/ruby-2.7.2/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
    38: from /usr/local/rvm/gems/ruby-2.7.2/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
    37: from /usr/local/rvm/gems/ruby-2.7.2/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
    36: from /usr/local/rvm/gems/ruby-2.7.2/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
    35: from /usr/local/rvm/gems/ruby-2.7.2/gems/thor-0.20.3/lib/thor.rb:238:in `block in subcommand'
    34: from /usr/local/rvm/gems/ruby-2.7.2/gems/thor-0.20.3/lib/thor/invocation.rb:115:in `invoke'
    33: from /usr/local/rvm/gems/ruby-2.7.2/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
    32: from /usr/local/rvm/gems/ruby-2.7.2/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
    31: from /usr/local/rvm/gems/ruby-2.7.2/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
    30: from /usr/local/rvm/gems/ruby-2.7.2/gems/gazer-0.2.47/lib/gzr/commands/look.rb:74:in `import'
    29: from /usr/local/rvm/gems/ruby-2.7.2/gems/gazer-0.2.47/lib/gzr/commands/look/import.rb:47:in `execute'
    28: from /usr/local/rvm/gems/ruby-2.7.2/gems/gazer-0.2.47/lib/gzr/modules/session.rb:220:in `with_session'
    27: from /usr/local/rvm/gems/ruby-2.7.2/gems/gazer-0.2.47/lib/gzr/modules/session.rb:160:in `login'
    26: from /usr/local/rvm/gems/ruby-2.7.2/gems/gazer-0.2.47/lib/gzr/modules/session.rb:160:in `new'
    25: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/client.rb:62:in `initialize'
    24: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/client/dynamic.rb:57:in `load_swagger'
    23: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/client/dynamic.rb:33:in `try_load_swagger'
    22: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/client.rb:99:in `get'
    21: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/client.rb:308:in `request'
    20: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/authentication.rb:34:in `ensure_logged_in'
    19: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/authentication.rb:53:in `authenticate'
    18: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/authentication.rb:41:in `without_authentication'
    17: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/authentication.rb:55:in `block in authenticate'
    16: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/client.rb:112:in `post'
    15: from /usr/local/rvm/gems/ruby-2.7.2/gems/looker-sdk-0.1.1/lib/looker-sdk/client.rb:316:in `request'
    14: from /usr/local/rvm/gems/ruby-2.7.2/gems/sawyer-0.8.2/lib/sawyer/agent.rb:94:in `call'
    13: from /usr/local/rvm/gems/ruby-2.7.2/gems/faraday-1.8.0/lib/faraday/connection.rb:281:in `post'
    12: from /usr/local/rvm/gems/ruby-2.7.2/gems/faraday-1.8.0/lib/faraday/connection.rb:516:in `run_request'
    11: from /usr/local/rvm/gems/ruby-2.7.2/gems/faraday-1.8.0/lib/faraday/rack_builder.rb:154:in `build_response'
    10: from /usr/local/rvm/gems/ruby-2.7.2/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:64:in `call'
     9: from /usr/local/rvm/gems/ruby-2.7.2/gems/faraday-1.8.0/lib/faraday/adapter.rb:50:in `connection'
     8: from /usr/local/rvm/gems/ruby-2.7.2/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:66:in `block in call'
     7: from /usr/local/rvm/gems/ruby-2.7.2/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:122:in `perform_request'
     6: from /usr/local/rvm/gems/ruby-2.7.2/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:131:in `request_with_wrapped_block'
     5: from /usr/local/rvm/gems/ruby-2.7.2/gems/faraday-net_http-1.0.1/lib/faraday/adapter/net_http.rb:146:in `request_via_request_method'
     4: from /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/net/http.rb:932:in `start'
     3: from /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
     2: from /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/net/http.rb:1009:in `connect'
     1: from /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/net/protocol.rb:44:in `ssl_socket_connect'
/usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/net/protocol.rb:44:in `connect_nonblock': SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate) (Faraday::SSLError)
 

 


0 replies

Be the first to reply!

Reply