- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Error 403 Unauthorized request in Solr Admin UI
- Labels:
-
Apache Ambari
-
Apache Ranger
-
Apache Solr
Created on ‎07-24-2017 02:19 PM - edited ‎08-17-2019 11:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have HDP 2.6.1, Ambari 2.5.1, Ambari-Infra, Kerberos, SolrCloud, No Ranger Solr Plugin enabled.
I can see Ranger Audit logs updating. Also, I can access Solr Admin UI using Spnego Authentication. But I got an error while querying or viewing files in Solr UI. IF I disable Spnego Authentication, every thing works fine. Need help to find root cause of the issue
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Error 403 Unauthorized request, Response code: 403</title> </head> <body><h2>HTTP ERROR 403</h2> <p>Problem accessing /solr/ranger_audits/select. Reason: <pre> Unauthorized request, Response code: 403</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> </body> </html>
Created ‎09-28-2017 11:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you using the Ambari Infra Solr, if so there are a property "Ranger audit service users" in Ambari infra, add your user in there and check.
Created ‎07-31-2018 03:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Pravin Bhagade
Could you please share the process how to disable spengo authenitcation for Ambari Infra-solr?
Created ‎02-21-2019 04:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
we are also facing the same issue with solr, Please let us know how you disabled spnego in solr for HDP 3.0.1
Thanks,
Created ‎02-21-2019 05:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @rajendra,
Disabling Spnego for Ambari Infra will affect Atlas Startup from Ambari UI. Because Atlas runs curl cmd over Infra using --negotiate option and doesn't get expected output, startup fails.
Do kinit with admin user and try to check.
or try setting up [domain_realm] in krb5.conf of infra server
Created ‎02-21-2019 10:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, This is related to solr not infra solr.
We are in process of installing HDP search 4.0 which includes the solr 7.4 service. we have done installation but not able to access the solr UI as it throws below error. Please suggest to disable spnego authentication for solr not infra solr.
HTTP ERROR 403
Problem accessing /solr/. Reason:
GSSException: Defective token detected (Mechanism level: GSSHeader did not find the right tag)
Created ‎11-02-2022 07:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
got the same error, have you found the solution.
