Open sarce666 opened 2 years ago
Did you change the config while Lens was running?
What sort of change did you make?
hello yes i change the config , i change the kube config file ( i change the host name ) when i start lens since then i can connect to the cluster but i have this error with connecting on the shell , it looks llike lens kept certificate in temp ? because the command lens is supposed to launched exec kubectl exec -i -t -n neo4j cpi-0 -c neo4j -- sh -c "clear; (bash || ash || sh)" if i do it oin a terminal it works perfectly i tried to deinstall et resintall it but same issue
on lens :
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
sdfsdf@M1p004cpi ~> exec /usr/local/bin/kubectl exec -i -t -n neo4j cpi-0 -c neo4j -- sh -c "clear; (bash || ash || sh)"
error: unable to upgrade connection: error dialing backend: remote error: tls: handshake failure
Terminal will auto-close in 15 seconds ...
same here
same here
same here
@Nokel81 I'm getting this error. From the logs I found these 2 errors that seem like they may be related:
error: W1011 16:40:40.826174 46156 dial.go:72] using custom dialer with no TLSClientConfig. Defaulting to InsecureSkipVerify
error: E1011 16:40:43.915653 46156 proxy_server.go:147] Error while proxying request: error dialing backend: remote error: tls: handshake failure
what can we do to fix this? I tried clearing out some caches but couldn't figure out a work around. As others have said I can connect directly just fine, it looks like it's the proxy that's the issue. Is there a way I can disable it when I try to run a shell?
Hi everyone, do you have any way to fix it? I can exec pod on terminal with root user
hello
after a change of my kube config i get this error in lens when i try to connect wityh a shell in a pod
error: unable to upgrade connection: error dialing backend: remote error: tls: handshake failure
with that command :
exec kubectl exec -i -t -n neo4j cpi-0 -c neo4j -- sh -c "clear; (bash || ash || sh)"
if i execute it on a terminal on my device it work perfectly
is there a temp folder when i can remove the certificate in my kube config i did change the name of the cluster , in lens i can connect but not with shell ssh on pods thanks