Question

getting faraday timeout error when using gazer to export space with 500 looks

  • 16 September 2021
  • 4 replies
  • 55 views

getting faraday tiem out error when using gazer to space export folder with 500 looks


4 replies

no luck

So, what did you try?
Did you extend the timeout? by how much?
We are having the same issue and will be testing with 120 seconds to see if we have any luck
 

no luck

Userlevel 2

You can use "--timeout" option.

$ gzr --help
(snip)
[--timeout=N] # Seconds to wait for a response from the server
# Default: 60
(snip)

 

here is error details 

 

:~/uat_push$ sudo gzr space export 331 --host <host-name> --port=443 
Traceback (most recent call last):
        47: from /usr/local/bin/gzr:23:in `<main>'
        46: from /usr/local/bin/gzr:23:in `load'
        45: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/exe/gzr:36:in `<top (required)>'
        44: from /var/lib/gems/2.5.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
        43: from /var/lib/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
        42: from /var/lib/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
        41: from /var/lib/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
        40: from /var/lib/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:238:in `block in subcommand'
        39: from /var/lib/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:115:in `invoke'
        38: from /var/lib/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
        37: from /var/lib/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
        36: from /var/lib/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
        35: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space.rb:80:in `export'
        34: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:49:in `execute'
        33: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/modules/session.rb:207:in `with_session'
        32: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:81:in `block in execute'
        31: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:137:in `process_space'
        30: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:137:in `each'
        29: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:138:in `block in process_space'
        28: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:137:in `process_space'
        27: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:137:in `each'
        26: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:138:in `block in process_space'
        25: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:98:in `process_space'
        24: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:98:in `each'
        23: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/commands/space/export.rb:99:in `block in process_space'
        22: from /var/lib/gems/2.5.0/gems/gazer-0.2.44/lib/gzr/modules/look.rb:29:in `query_look'
        21: from /var/lib/gems/2.5.0/gems/looker-sdk-0.0.7/lib/looker-sdk/client/dynamic.rb:106:in `method_missing'
        20: from /var/lib/gems/2.5.0/gems/looker-sdk-0.0.7/lib/looker-sdk/client/dynamic.rb:139:in `invoke_remote'
        19: from /var/lib/gems/2.5.0/gems/looker-sdk-0.0.7/lib/looker-sdk/client.rb:96:in `get'
        18: from /var/lib/gems/2.5.0/gems/looker-sdk-0.0.7/lib/looker-sdk/client.rb:304:in `request'
        17: from /var/lib/gems/2.5.0/gems/sawyer-0.8.2/lib/sawyer/agent.rb:94:in `call'
        16: from /var/lib/gems/2.5.0/gems/faraday-0.17.4/lib/faraday/connection.rb:138:in `get'
        15: from /var/lib/gems/2.5.0/gems/faraday-0.17.4/lib/faraday/connection.rb:387:in `run_request'
        14: from /var/lib/gems/2.5.0/gems/faraday-0.17.4/lib/faraday/rack_builder.rb:143:in `build_response'
        13: from /var/lib/gems/2.5.0/gems/faraday-0.17.4/lib/faraday/response.rb:8:in `call'
        12: from /var/lib/gems/2.5.0/gems/faraday-0.17.4/lib/faraday/adapter/net_http.rb:39:in `call'
        11: from /var/lib/gems/2.5.0/gems/faraday-0.17.4/lib/faraday/adapter/net_http.rb:93:in `with_net_http_connection'
        10: from /var/lib/gems/2.5.0/gems/faraday-0.17.4/lib/faraday/adapter/net_http.rb:44:in `block in call'
         9: from /var/lib/gems/2.5.0/gems/faraday-0.17.4/lib/faraday/adapter/net_http.rb:86:in `perform_request'
         8: from /usr/lib/ruby/2.5.0/net/http.rb:1216:in `get'
         7: from /usr/lib/ruby/2.5.0/net/http.rb:1458:in `request'
         6: from /usr/lib/ruby/2.5.0/net/http.rb:909:in `start'
         5: from /usr/lib/ruby/2.5.0/net/http.rb:920:in `do_start'
         4: from /usr/lib/ruby/2.5.0/net/http.rb:935:in `connect'
         3: from /usr/lib/ruby/2.5.0/timeout.rb:103:in `timeout'
         2: from /usr/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
         1: from /usr/lib/ruby/2.5.0/net/http.rb:936:in `block in connect'
/usr/lib/ruby/2.5.0/net/http.rb:939:in `rescue in block in connect': Failed to open TCP connection to <host-name>:443 (Connection timed out - connect(2) for "<host-name>" port 443) (Faraday::TimeoutError)
 

Reply