Thanks for the reply. I’m actually trying to get a 9.3.0 instance up, running, and accessible from my web browser, so the lack of a back port isn’t an issue for me. I’ll take a look at the ticket.
Scott From: Eric Pugh <ep...@opensourceconnections.com> Sent: Saturday, September 23, 2023 9:45 AM To: users@solr.apache.org Subject: Re: solr status 401 Error There hasn’t been an effort to ensure all the CLI commands support all the auth options the same.. So not surprised that Status doesn’t have a -u user:password type parameter! <https://issues.apache.org/jira/browse/SOLR-14496> [SOLR-14496] Add basic auth support to postlogs - ASF JIRA <https://issues.apache.org/jira/browse/SOLR-14496> issues.apache.org <https://issues.apache.org/jira/browse/SOLR-14496> Is a ticket that may be repurposed into “Add basic auth support to bin/solr commands” that would cover this. If you are interested in taking a stab at it, tag me on a PR ;-). Having said that, I think any work I do in that space will go to Solr 10 and 9, I don’t see back porting to 8... Eric On Sep 23, 2023, at 9:04 AM, Scott Hollenbeck <s...@musclecarresearch.com.INVALID <mailto:s...@musclecarresearch.com.INVALID> > wrote: I'm running solr 8.11.2 on a single server. I have the server configured to support basic authentication, which works fine when I connect to the server on port 8983 using a web browser. The problem I'm having is that the command fails with an "HTTP ERROR 401 require authentication" error when I try to run the "solr status" command from the command line of my server machine: me@myserver:/opt/solr$ sudo -u solr ./bin/solr status [sudo] password for me: Found 1 Solr nodes: Solr process 1534364 running on port 8983 INFO - 2023-09-23 08:54:37.511; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.keyStorePassword INFO - 2023-09-23 08:54:37.519; org.apache.solr.util.configuration.SSLConfigurations; Setting javax.net.ssl.trustStorePassword ERROR: Failed to get system information from https://localhost:8983/solr due to: org.apache.solr.common.SolrException: Parse error : <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 401 require authentication</title> </head> <body><h2>HTTP ERROR 401 require authentication</h2> <table> <tr><th>URI:</th><td>/solr/admin/info/system</td></tr> <tr><th>STATUS:</th><td>401</td></tr> <tr><th>MESSAGE:</th><td>require authentication</td></tr> <tr><th>SERVLET:</th><td>default</td></tr> </table> </body> </html> me@myserver:/opt/solr$ The status command does not accept parameters. How can I provide the user name and password for basic authentication when running the status command? _______________________ Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.