<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question ERROR &amp;quot;An exception with message [Not authorized] was thrown while processing request.&amp;quot; on  Streams Messaging Manager SMM on CDP in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/319459#M227835</link>
    <description>&lt;P&gt;Hi folks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We installed&amp;nbsp;Streams Messaging Manager (SMM) on CDP 7.1.4, and when access de UI we received this error:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;An exception with message [Not authorized] was thrown while processing request."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We checked ranger privilegies, but we believe that some privilege is necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 09:01:21 GMT</pubDate>
    <dc:creator>Eduardohahn</dc:creator>
    <dc:date>2026-04-21T09:01:21Z</dc:date>
    <item>
      <title>ERROR "An exception with message [Not authorized] was thrown while processing request." on  Streams Messaging Manager SMM on CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/319459#M227835</link>
      <description>&lt;P&gt;Hi folks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We installed&amp;nbsp;Streams Messaging Manager (SMM) on CDP 7.1.4, and when access de UI we received this error:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;An exception with message [Not authorized] was thrown while processing request."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We checked ranger privilegies, but we believe that some privilege is necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 09:01:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/319459#M227835</guid>
      <dc:creator>Eduardohahn</dc:creator>
      <dc:date>2026-04-21T09:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR "An exception with message [Not authorized] was thrown while processing request." on  Streams Messaging Manager SMM on CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/319537#M227868</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/26334"&gt;@Eduardohahn&lt;/a&gt;&amp;nbsp;I would suggest to check the and&amp;nbsp;verify that "Authentication.provider.url" in configuration&amp;nbsp; is accurate.&lt;/P&gt;&lt;P&gt;Then see if you this is accessible via Knox or without it. Based on that you can paste the logs here and get some help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 17:03:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/319537#M227868</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2021-06-29T17:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR "An exception with message [Not authorized] was thrown while processing request." on  Streams Messaging Manager SMM on CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/319539#M227869</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29629"&gt;@GangWar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont see this&amp;nbsp;&lt;SPAN&gt;"Authentication.provider.url" in SMM configuration screen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here the log when I try access SMM:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eduardohahn_0-1624987769728.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/31716iE5A2DB93D2CF0AA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eduardohahn_0-1624987769728.png" alt="Eduardohahn_0-1624987769728.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;FONT size="2"&gt;2021-06-29 14:26:48,694 ERROR org.apache.ranger.admin.client.RangerAdminRESTClient: Error getting Roles; service not found. secureMode=false, user=streamsmsgmgr (auth:SIMPLE), response=404, serviceName={{SANITIZED_RANGER_KAFKA_SERVICE_NAME}}, lastKnownRoleVersion=-1, lastActivationTimeInMillis=0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2021-06-29 14:26:48,694 ERROR org.apache.ranger.plugin.util.RangerRolesProvider: RangerRolesProvider(serviceName={{SANITIZED_RANGER_KAFKA_SERVICE_NAME}}): failed to find service. Will clean up local cache of roles (-1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;org.apache.ranger.plugin.util.RangerServiceNotFoundException: {{SANITIZED_RANGER_KAFKA_SERVICE_NAME}}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.plugin.util.RangerServiceNotFoundException.throwExceptionIfServiceNotFound(RangerServiceNotFoundException.java:35)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.admin.client.RangerAdminRESTClient.getRolesIfUpdated(RangerAdminRESTClient.java:273)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.plugin.util.RangerRolesProvider.loadUserGroupRolesFromAdmin(RangerRolesProvider.java:183)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.plugin.util.RangerRolesProvider.loadUserGroupRoles(RangerRolesProvider.java:123)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.plugin.util.PolicyRefresher.loadRoles(PolicyRefresher.java:493)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:207)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2021-06-29 14:26:48,696 ERROR org.apache.ranger.admin.client.RangerAdminRESTClient: Error getting policies; service not found. secureMode=false, user=streamsmsgmgr (auth:SIMPLE), response=404, serviceName={{SANITIZED_RANGER_KAFKA_SERVICE_NAME}}, lastKnownVersion=-1, lastActivationTimeInMillis=0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2021-06-29 14:26:48,696 ERROR org.apache.ranger.plugin.util.PolicyRefresher: PolicyRefresher(serviceName={{SANITIZED_RANGER_KAFKA_SERVICE_NAME}}): failed to find service. Will clean up local cache of policies (-1)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;org.apache.ranger.plugin.util.RangerServiceNotFoundException: {{SANITIZED_RANGER_KAFKA_SERVICE_NAME}}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.plugin.util.RangerServiceNotFoundException.throwExceptionIfServiceNotFound(RangerServiceNotFoundException.java:35)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:191)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:306)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:246)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:208)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2021-06-29 14:26:52,256 INFO com.hortonworks.smm.kafka.services.metric.cache.MetricsCache: TimePeriod : LAST_SIX_HOURS, BrokerId : 1546333277 fetched 5 descriptors with 723 metric points&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;2021-06-29 14:26:52,349 DEBUG com.hortonworks.smm.kafka.webservice.common.SMMGenericExceptionMapper: Exception translation: ex.class: class com.hortonworks.smm.kafka.services.security.AuthorizationException, ex: com.hortonworks.smm.kafka.services.security.AuthorizationException: Not authorized, stacktrace: com.hortonworks.smm.kafka.services.security.AuthorizationException: Not authorized&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at com.hortonworks.smm.kafka.services.security.auth.SMMSecurityContextRequestFilter.filter(SMMSecurityContextRequestFilter.java:53)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.server.ContainerFilteringStage.apply(ContainerFilteringStage.java:132)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.server.ContainerFilteringStage.apply(ContainerFilteringStage.java:68)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.process.internal.Stages.process(Stages.java:197)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:318)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.internal.Errors.process(Errors.java:315)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.internal.Errors.process(Errors.java:297)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;at org.glassfish.jersey.internal.Errors.process(Errors.java:267)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your attention&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 17:30:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/319539#M227869</guid>
      <dc:creator>Eduardohahn</dc:creator>
      <dc:date>2021-06-29T17:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR "An exception with message [Not authorized] was thrown while processing request." on  Streams Messaging Manager SMM on CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/320255#M228128</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/26334"&gt;@Eduardohahn&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;based on the exception, SMM is configured to use Ranger for authorization, but SMM cannot communicate with Ranger (404 exception). Is your cluster kerberized already? Without kerberos, it is expected to fail.&lt;/P&gt;&lt;P&gt;The exception shows "auth:SIMPLE", which suggests to me that the cluster is not kerberized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards:&lt;/P&gt;&lt;P&gt;Ferenc&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 13:58:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/320255#M228128</guid>
      <dc:creator>Bender</dc:creator>
      <dc:date>2021-07-09T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR "An exception with message [Not authorized] was thrown while processing request." on  Streams Messaging Manager SMM on CDP</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/320284#M228140</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/12296"&gt;@Bender&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct, our cluster is not&amp;nbsp;&lt;SPAN&gt;kerberized&amp;nbsp; yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it possible connect SMM without&amp;nbsp;kerberos?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Eduardo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 18:04:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ERROR-quot-An-exception-with-message-Not-authorized-was/m-p/320284#M228140</guid>
      <dc:creator>Eduardohahn</dc:creator>
      <dc:date>2021-07-09T18:04:37Z</dc:date>
    </item>
  </channel>
</rss>

