GKE Cockpit Deployment fail authentication

1/16/2020

I have installed the cokcpit program in my cluster of kubernetes according to the following procedure

https://itnext.io/up-and-running-cockpit-for-google-kubernetes-engine-gke-4aca68f182bf

When I try to access, I don't have the password or the user.

I can't see the credentials (show credentials) in my cluster I only have the option of Show Cluster certificate.

Things I have tried and have not worked:

Enter the Cluster CA certificate as if it were the user.

Change the variable KUBE_INSECURE to true in the kubernetes-cockpit.json file

And the Error is : Authentication failed: internal-error: This version of kubernetes is not supported. Turn off anonymous auth or upgrade.

The logs in pod are:

**MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

2020/01/16 10:51:01 Negotiate failed: This version of kubernetes is not supported. Turn off anonymous auth or upgrade.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

2020/01/16 10:51:13 This version of kubernetes is not supported. Turn off anonymous auth or upgrade.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

2020/01/16 10:53:26 Negotiate failed: This version of kubernetes is not supported. Turn off anonymous auth or upgrade.

2020/01/16 10:53:33 This version of kubernetes is not supported. Turn off anonymous auth or upgrade.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

2020/01/16 10:54:02 Negotiate failed: This version of kubernetes is not supported. Turn off anonymous auth or upgrade.

MESSAGE: cockpit-protocol: couldn't read from connection: Error reading data from TLS socket: Decryption has failed.

2020/01/16 11:00:39 This version of kubernetes is not supported. Turn off anonymous auth or upgrade.**

Any idea about this?.

Thanks in advance

-- Alberto Valencia Carrasco
cockpit
encryption
google-kubernetes-engine
kubernetes
ssl

0 Answers