question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cli failed to connect

See original GitHub issue

I was trying the getting start guide. I can see the pod using kubectl.

But

katib-cli -s gke-test-katib-default-pool-b88188d2-jnvp:30678 Getstudies
2018/05/09 11:38:13 connecting gke-test-katib-default-pool-b88188d2-jnvp:30678
2018/05/09 11:38:14 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp: lookup gke-test-katib-default-pool-b88188d2-jnvp on 127.0.0.1:53: no such host"; Reconnecting to {gke-test-katib-default-pool-b88188d2-jnvp:30678 <nil>}
2018/05/09 11:38:14 GetStudy failed: rpc error: code = 14 desc = grpc: the connection is unavailable
11:38:14lunkai@None:katib$ katib-cli
2018/05/09 11:38:34 connecting 127.0.0.1:6789
2018/05/09 11:38:34 Method not found: 

Do we need to configure cli somehow?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
lluunncommented, May 24, 2018

Working now, thank you! I will sent out a PR to fix getting-started.md

0reactions
YujiOshimacommented, May 24, 2018

You failed to resolve the name gke-test-katib-default-pool-b88188d2-jnvp. Try to use the IP address of the node. And in GKE, you should add a firewall rule to accessing to port 30678. e.g. gcloud compute firewall-rules create katibservice --allow tcp:30678

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot connect to WildFly CLI? a simple way to solve it
1) Simply put, you haven't started WildFly / JBoss EAP. When using the autoconnect option (-c), the CLI immediately attempts to connect. ·...
Read more >
Failed to connect to the CLI: "XNIO000816"
After upgrade from JBoss EAP 7.1.0 to JBoss EAP 7.1.5 the connection failed to the CLI . Not able to connect to the...
Read more >
Error from CloudShell - Failed to connect to MSI. Please make ...
Error from CloudShell - Failed to connect to MSI. Please make sure MSI is configured correctly. Issue #17695 · Azure/azure-cli · GitHub.
Read more >
1,23996,CLI failed to connect to MCS - Avamar - Dell
1,23996,CLI failed to connect to MCS. Hello,. I want to run the MCCLI from a remote Host (CentOS 6.2 64bit) for some scripting....
Read more >
Unable to connect to CLI - Broadcom support portal
The following are reasons for this error message: 1. The SpectroSERVER process is not running 2. You are logged into the system as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found