Closed Elizabeth030483 closed 2 years ago
Docker logs for Confluent Center:
[2021-09-25 23:36:14,140] ERROR [main] Failed to authenticate (org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule)
java.io.IOException: Failed to authenticate
at io.confluent.kafka.clients.plugins.auth.token.AbstractTokenLoginCallbackHandler.handle(AbstractTokenLoginCallbackHandler.java:102)
at org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule.identifyToken(OAuthBearerLoginModule.java:316)
at org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule.login(OAuthBearerLoginModule.java:301)
at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:726)
at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:665)
at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:663)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:663)
at java.base/javax.security.auth.login.LoginContext.login(LoginContext.java:574)
at org.apache.kafka.common.security.oauthbearer.internals.expiring.ExpiringCredentialRefreshingLogin.login(ExpiringCredentialRefreshingLogin.java:204)
at org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerRefreshingLogin.login(OAuthBearerRefreshingLogin.java:150)
at org.apache.kafka.common.security.authenticator.LoginManager.
Any comments on this is appreciated.
Hey @Elizabeth030483, CP Demo is started with ./scripts/start.sh
, which sources a bunch of environment variables before running docker-compose up
. You're seeing those warnings because you don't have those environment variables loaded into your shell. You can either run the start script or you can run (cd scripts && source ./env.sh)
to load those environment variables into your shell and run through the steps in start.sh step by step. I hope that helps!
Hello, I have been using cp-demo last couple of times successfully, but on 6.2 it is giving me below list of warnings. Due to which some of the services not working. 1st time when I saw the same warnings: 1) Control Center was not showing the replicator 2) Simply I have shutdown the cp-demo and removed the docker container cleanly 3) Re-installed cp-demo 2nd time when I re-installed and restarted cp-demo, I saw the same warnings 1) This time, Control center not even launching at localhost:9021
Am I missing anything?
Liz's MacBook$ docker-compose ps WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "CONNECTOR_VERSION" variable is not set. Defaulting to a blank string. WARN[0000] The "CONNECTOR_VERSION" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "REPOSITORY" variable is not set. Defaulting to a blank string. WARN[0000] The "REPOSITORY" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "REPOSITORY" variable is not set. Defaulting to a blank string. WARN[0000] The "REPOSITORY" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "CONTROL_CENTER_KSQL_WIKIPEDIA_ADVERTISED_URL" variable is not set. Defaulting to a blank string. WARN[0000] The "CONTROL_CENTER_KSQL_WIKIPEDIA_URL" variable is not set. Defaulting to a blank string. WARN[0000] The "REPOSITORY" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "REPOSITORY" variable is not set. Defaulting to a blank string. WARN[0000] The "REPOSITORY" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "SSL_CIPHER_SUITES" variable is not set. Defaulting to a blank string. WARN[0000] The "REPOSITORY" variable is not set. Defaulting to a blank string. NAME COMMAND SERVICE STATUS PORTS connect "/etc/confluent/dock…" connect running 0.0.0.0:8083->8083/tcp, :::8083->8083/tcp, 9092/tcp control-center "/etc/confluent/dock…" control-center running 0.0.0.0:9021->9021/tcp, :::9021->9021/tcp, 0.0.0.0:9022->9022/tcp, :::9022->9022/tcp kafka1 "bash -c 'if [ ! -f …" kafka1 running 0.0.0.0:8091->8091/tcp, :::8091->8091/tcp, 0.0.0.0:9091->9091/tcp, :::9091->9091/tcp, 9092/tcp, 0.0.0.0:10091->10091/tcp, :::10091->10091/tcp, 0.0.0.0:11091->11091/tcp, :::11091->11091/tcp, :::12091->12091/tcp, 0.0.0.0:12091->12091/tcp kafka2 "bash -c 'if [ ! -f …" kafka2 running 0.0.0.0:8092->8092/tcp, :::8092->8092/tcp, 0.0.0.0:9092->9092/tcp, :::9092->9092/tcp, 0.0.0.0:10092->10092/tcp, :::10092->10092/tcp, 0.0.0.0:11092->11092/tcp, :::11092->11092/tcp, 0.0.0.0:12092->12092/tcp, :::12092->12092/tcp openldap "/container/tool/run…" openldap running 0.0.0.0:389->389/tcp, :::389->389/tcp, 636/tcp schemaregistry "/etc/confluent/dock…" schemaregistry running 8081/tcp, 0.0.0.0:8085->8085/tcp, :::8085->8085/tcp tools "/bin/bash" tools running
zookeeper "/etc/confluent/dock…" zookeeper running 0.0.0.0:2181->2181/tcp, :::2181->2181/tcp, 0.0.0.0:2182->2182/tcp, :::2182->2182/tcp, 2888/tcp, 3888/tcp Liz's MacBook$ date Sat Sep 25 16:38:08 PDT 2021 Liz's MacBook$
Thanks, Liz.