Support Questions

Find answers, ask questions, and share your expertise

Defective token while login to Streams Messaging Manager WebUI

avatar
New Contributor

Hi,

I'm facing a token issue while login to Streams Messaging Manager via WebUI for monitoring the Kafka Environment. 

 

the current user is not allowing to login (or) may be used wrong login credential. Is there anyway to recreate/reset user account via CloudManager?

 

StreamsMessaging log:

2021-11-22 21:08:37,053 INFO com.hortonworks.smm.kafka.services.metric.cache.MetricsCache: TimePeriod : LAST_TWO_DAYS, Time taken to fetch metrics : 891 ms
2021-11-22 21:08:37,054 INFO com.hortonworks.smm.kafka.services.metric.cache.MetricsCache: Updated the Metrics cache. Time taken to fetch all metrics from AMS : 892 ms
2021-11-22 21:08:43,160 INFO com.hortonworks.smm.kafka.services.clients.ConsumerGroupFetcherTask: LEOs of all partitions [size: 73] fetched successfully in 268 ms
2021-11-22 21:08:43,183 INFO com.hortonworks.smm.kafka.services.clients.ConsumerGroupManagementTask: Updated the Consumer Group Info. Time taken to fetch all consumer consumerGroupInfos with size [1] : 5206 ms
2021-11-22 21:08:43,185 INFO com.hortonworks.smm.kafka.services.clients.ConsumerGroupManagementTask: Time taken to push consumer groups metrics : 2 ms
2021-11-22 21:08:51,088 WARN com.hortonworks.registries.auth.server.AuthenticationFilter: Authentication exception: GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
2021-11-22 21:08:51,089 WARN com.hortonworks.registries.auth.server.AuthenticationFilter: Authentication exception: GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
2021-11-22 21:08:51,089 WARN com.hortonworks.registries.auth.server.AuthenticationFilter: Authentication exception: GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
2021-11-22 21:08:51,089 WARN com.hortonworks.registries.auth.server.AuthenticationFilter: Authentication exception: GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)

 

WebUI Error:

Ani1991_0-1637596291085.png

 

 

Cloud Manager Version: 7.5.1

Parcel: 7.1.7-1.cdh7.1.7.p0.15945976

1 REPLY 1

avatar
Expert Contributor

@Ani1991 

 

From the documentation:

https://docs.cloudera.com/cdp-private-cloud-base/7.1.7/smm-security/topics/smm-securing-streams-mess... 

 

"If you deploy SMM without security, the login page is not enabled on the SMM UI by default. When you enable Kerberos authentication, SMM uses SPNEGO to authenticate users and allows them to view or create topics within Kafka by administering Ranger Kafka Policies. "

 

This looks like a Kerberos issue with the token in cache in the machine that you're trying to access the SMM UI.

 

Can you try using firefox browser and make sure it's configured properly, documentation for more details:

https://docs.cloudera.com/documentation/enterprise/latest/topics/cdh_sg_browser_access_kerberos_prot...