<?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 Knox SSO to HDFSUI failing in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387731#M246409</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Configured Knoxsso without Ambari. Knoxsso is configured with Shiro provider and updated the core-site.xml with below configs&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;hadoop.http.authentication.type&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;hadoop.http.authentication.authentication.provider.url&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;hadoop.http.authentication.public.key.pem&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Followed:&amp;nbsp;&lt;A href="https://knox.apache.org/books/knox-1-6-0/user-guide.html#KnoxSSO+Setup+and+Configuration" target="_blank"&gt;https://knox.apache.org/books/knox-1-6-0/user-guide.html#KnoxSSO+Setup+and+Configuration&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After restart, NN UI is redirecting to KnoxSSO and after entering the AD credentials it is throwing below error in the UI. The redirect to originalUrl looks valid from Knoxsso url.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR Invalid Redirect: Possible Phishing Attempt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
    <pubDate>Fri, 10 May 2024 01:12:52 GMT</pubDate>
    <dc:creator>Hadoop16</dc:creator>
    <dc:date>2024-05-10T01:12:52Z</dc:date>
    <item>
      <title>Knox SSO to HDFSUI failing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387731#M246409</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Configured Knoxsso without Ambari. Knoxsso is configured with Shiro provider and updated the core-site.xml with below configs&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;hadoop.http.authentication.type&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;hadoop.http.authentication.authentication.provider.url&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;hadoop.http.authentication.public.key.pem&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Followed:&amp;nbsp;&lt;A href="https://knox.apache.org/books/knox-1-6-0/user-guide.html#KnoxSSO+Setup+and+Configuration" target="_blank"&gt;https://knox.apache.org/books/knox-1-6-0/user-guide.html#KnoxSSO+Setup+and+Configuration&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After restart, NN UI is redirecting to KnoxSSO and after entering the AD credentials it is throwing below error in the UI. The redirect to originalUrl looks valid from Knoxsso url.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR Invalid Redirect: Possible Phishing Attempt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 01:12:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387731#M246409</guid>
      <dc:creator>Hadoop16</dc:creator>
      <dc:date>2024-05-10T01:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Knox SSO to HDFSUI failing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387759#M246416</link>
      <description>&lt;P&gt;I was able to resolve the "Invalid redirect" by adding&amp;nbsp;knoxsso.redirect.whitelist.regex but when I enter AD credentials in the KnoxSSO page it keeps redirecting to the same login page.&lt;BR /&gt;&lt;BR /&gt;I could see below msgs in gateway.log&lt;BR /&gt;2024-05-10 09:04:16,722 DEBUG knox.gateway (AclsAuthorizationFilter.java:doFilter(105)) - Access Granted: true&lt;BR /&gt;2024-05-10 09:04:16,760 DEBUG knox.gateway (GatewayFilter.java:doFilter(116)) - Received request: GET /images/loading.gif&lt;BR /&gt;2024-05-10 09:04:16,761 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(133)) - PrimaryPrincipal: anonymous&lt;BR /&gt;2024-05-10 09:04:16,761 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(142)) - PrimaryPrincipal has access: true&lt;BR /&gt;2024-05-10 09:04:16,761 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(158)) - Remote IP Address:&amp;nbsp;&lt;BR /&gt;2024-05-10 09:04:16,761 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(160)) - Remote IP Address has access: true&lt;BR /&gt;2024-05-10 09:04:16,762 DEBUG knox.gateway (AclsAuthorizationFilter.java:doFilter(105)) - Access Granted: true&lt;BR /&gt;2024-05-10 09:04:16,795 DEBUG knox.gateway (GatewayFilter.java:doFilter(116)) - Received request: GET /redirecting.jsp&lt;BR /&gt;2024-05-10 09:04:16,796 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(133)) - PrimaryPrincipal: anonymous&lt;BR /&gt;2024-05-10 09:04:16,796 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(142)) - PrimaryPrincipal has access: true&lt;BR /&gt;2024-05-10 09:04:16,797 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(158)) - Remote IP Address:&amp;nbsp;&lt;BR /&gt;2024-05-10 09:04:16,797 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(160)) - Remote IP Address has access: true&lt;BR /&gt;2024-05-10 09:04:16,797 DEBUG knox.gateway (AclsAuthorizationFilter.java:doFilter(105)) - Access Granted: true&lt;BR /&gt;2024-05-10 09:04:20,773 DEBUG knox.gateway (GatewayFilter.java:doFilter(116)) - Received request: GET /images/loading.gif&lt;BR /&gt;2024-05-10 09:04:20,774 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(133)) - PrimaryPrincipal: anonymous&lt;BR /&gt;2024-05-10 09:04:20,775 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(142)) - PrimaryPrincipal has access: true&lt;BR /&gt;2024-05-10 09:04:20,775 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(158)) - Remote IP Address:&amp;nbsp;&lt;BR /&gt;2024-05-10 09:04:20,775 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(160)) - Remote IP Address has access: true&lt;BR /&gt;2024-05-10 09:04:20,775 DEBUG knox.gateway (AclsAuthorizationFilter.java:doFilter(105)) - Access Granted: true&lt;BR /&gt;2024-05-10 09:04:20,916 DEBUG knox.gateway (GatewayFilter.java:doFilter(116)) - Received request: GET /api/v1/websso&lt;BR /&gt;2024-05-10 09:04:20,943 DEBUG knox.gateway (GatewayFilter.java:doFilter(116)) - Received request: GET /login.html&lt;BR /&gt;2024-05-10 09:04:20,944 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(133)) - PrimaryPrincipal: anonymous&lt;BR /&gt;2024-05-10 09:04:20,944 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(142)) - PrimaryPrincipal has access: true&lt;BR /&gt;2024-05-10 09:04:20,945 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(158)) - Remote IP Address:&amp;nbsp;&lt;BR /&gt;2024-05-10 09:04:20,945 DEBUG knox.gateway (AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(160)) - Remote IP Address has access: true&lt;BR /&gt;2024-05-10 09:04:20,945 DEBUG knox.gateway (AclsAuthorizationFilter.java:doFilter(105)) - Access Granted: true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 09:13:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387759#M246416</guid>
      <dc:creator>Hadoop16</dc:creator>
      <dc:date>2024-05-10T09:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Knox SSO to HDFSUI failing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387762#M246418</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109626"&gt;@Hadoop16&lt;/a&gt;&amp;nbsp; Can you disable debug logs and share the information logs from the gateway log file by replicating the issue&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 10:49:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387762#M246418</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2024-05-10T10:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Knox SSO to HDFSUI failing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387769#M246422</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;Below are the entries populated when reaching HDFSUI via knoxsso&lt;BR /&gt;2024-05-10 14:32:54,143 INFO knox.gateway (AclsAuthorizationFilter.java:init(72)) - Initializing AclsAuthz Provider for: knoxauth&lt;BR /&gt;2024-05-10 14:32:54,143 INFO knox.gateway (AclParser.java:parseAcls(50)) - ACLs found for: knoxauth&lt;BR /&gt;2024-05-10 14:33:04,139 INFO knox.gateway (KnoxLdapRealm.java:getUserDn(721)) - Computed userDn: CN=lastname\, firstname,OU=XXXX,OU=XXXXX,DC=XXX,DC=XXX,DC=com using ldapSearch for principal: userid&lt;BR /&gt;2024-05-10 14:33:04,790 INFO knox.gateway (AclsAuthorizationFilter.java:init(72)) - Initializing AclsAuthz Provider for: KNOXSSO&lt;BR /&gt;2024-05-10 14:33:04,790 INFO knox.gateway (AclParser.java:parseAcls(50)) - ACLs found for: KNOXSSO&lt;BR /&gt;2024-05-10 14:33:06,030 INFO knox.gateway (CookieUtils.java:getCookiesForName(46)) - Unable to find cookie with name: original-url&lt;BR /&gt;2024-05-10 14:33:06,095 INFO service.knoxsso (WebSSOResource.java:addJWTHadoopCookie(386)) - JWT cookie successfully added.&lt;BR /&gt;2024-05-10 14:33:06,095 INFO service.knoxsso (WebSSOResource.java:getAuthenticationToken(278)) - About to redirect to original URL: &lt;A href="http://NN_host50070/index.html" target="_blank"&gt;http://NN_host50070/index.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 14:36:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387769#M246422</guid>
      <dc:creator>Hadoop16</dc:creator>
      <dc:date>2024-05-10T14:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Knox SSO to HDFSUI failing</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387777#M246425</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35149"&gt;@Scharan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the debug log I think the issue is when Knoxsso is redirecting to NN UI, it is sending user as anonymous.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;AclsAuthorizationFilter.java:enforceAclAuthorizationPolicy(133)) - PrimaryPrincipal: anonymous&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know what configs at hdfs or Knox could help here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2024 06:37:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Knox-SSO-to-HDFSUI-failing/m-p/387777#M246425</guid>
      <dc:creator>Hadoop16</dc:creator>
      <dc:date>2024-05-11T06:37:17Z</dc:date>
    </item>
  </channel>
</rss>

