GithubHelp home page GithubHelp logo

Comments (7)

WitoDelnat avatar WitoDelnat commented on June 2, 2024 2

Hi folks!

We're having some trouble to reproduce the EKS connectivity problem. We tried with several (new and old) clusters and all of them connect. The authentication works with an ExecConfig using aws eks get-token under the hood (found in the kubeconfig).

As for debug logs, they would only show after the proxy properly started, which does not help if the proxy boot itself fails. @monojack made a patch release last Thursday to improve logging. Unfortunately, that does still not fix the EKS connectivity issue but it might uncover more information as to why it fails on your end.

For those who reached out to us:

  • @GilbertGeliba: The release also included a minor fix to properly stringify parameters so your problem should no longer happen.
  • @Serverfrog: from the logs we believe you are still on the old version, can you update and try again? The previously mentioned fix might also have fixed your problem.
  • @joebowbeer, @bala-gif, @StefanSa: From Joe's latest message it seems that despite the improved logging, we still have no insight into what causes the problem. Would anyone be open to join our Discord and have a short call with us to get to the root cause of this problem?

Thank you all for taking the time to report this to us.

from monokle.

GilbertGeliba avatar GilbertGeliba commented on June 2, 2024

For me, it seems like related to spaces in context name, e.g. cluster-id-John Smith-namespace. This context name is created by a CLI tool that does user authentication in my company.
If I manually edit the kubeconfig file and remove the spaces, I can connect to the cluster.

from monokle.

olensmar avatar olensmar commented on June 2, 2024

thanks for adding that detail @GilbertGeliba - very helpful!

from monokle.

bala-gif avatar bala-gif commented on June 2, 2024

Nothing helped. I dont see any space issue in my kubeconfig file.. Adding more detailed info in debug logs would help much to narrow down.

[root@ ~]# kubectx
[email protected]
[email protected]

[11:02:57 - stderr]
Cannot connect to the cluster: An unknown problem occurred. Consider taking a peek at the debug logs.

from monokle.

StefanSa avatar StefanSa commented on June 2, 2024

Hi there,
the same Bug here.
any Help ?

from monokle.

Serverfrog avatar Serverfrog commented on June 2, 2024

The thing i found (PS: Pressing on View Debug Logs doesn't bring up the debug log location)

[2024-02-28 15:46:25.244] [browser] [info]  [kubectl-proxy]: Append Server Path enabled.
[2024-02-28 15:46:25.300] [browser] [info]  [kubectl-proxy] {
  type: 'stderr',
  content: 'Error: flags cannot be placed before plugin name: --context=k3d-default\n',
  timestamp: 1709131585300
}
[2024-02-28 15:46:25.306] [browser] [info]  [kubectl-proxy] {
  type: 'exit',
  content: 'Exited with code 1',
  code: 1,
  timestamp: 1709131585306
}
[2024-02-28 15:46:25.306] [browser] [error] Cluster error reason: exit_before_resolve

from monokle.

joebowbeer avatar joebowbeer commented on June 2, 2024

In my case (MacOS connecting to EKS), the debug log just shows a kubectl proxy command

kubectl --context="arn:aws:eks:us-west-2:XXX:cluster/YYY" --kubeconfig="/Users/me/.kube/config" \
  proxy --port=30007 --append-server-path=true

If I run this myself, I see:

error: listen tcp 127.0.0.1:30007: bind: address already in use

If I remove the --port argument, then the proxy runs and seems to be working.

Perhaps this provides a clue?

from monokle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.