This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 237e4cab0e4 SOLR-17529: Clean up error message for 9x. (#2814)
237e4cab0e4 is described below

commit 237e4cab0e4fa3f9ccce5d370856ec2e3f10da87
Author: Eric Pugh <[email protected]>
AuthorDate: Tue Oct 29 10:04:29 2024 -0400

    SOLR-17529: Clean up error message for 9x. (#2814)
---
 solr/CHANGES.txt                                     | 2 ++
 solr/core/src/java/org/apache/solr/cli/PostTool.java | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index b154129a992..7c5e0b99b24 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -83,6 +83,8 @@ Bug Fixes
 
 * SOLR-17413: Fixed UpdateLog replay bug that shared thread-unsafe 
SolrQueryRequest objects across threads (Jason Gerlowski, David Smiley, Houston 
Putman)
 
+* SOLR-17529: Clean up error message in PostTool when you attempt to post to a 
basic auth secured Solr.  (Eric Pugh)
+
 Dependency Upgrades
 ---------------------
 (No changes)
diff --git a/solr/core/src/java/org/apache/solr/cli/PostTool.java 
b/solr/core/src/java/org/apache/solr/cli/PostTool.java
index 23a1cb17724..53014750b75 100644
--- a/solr/core/src/java/org/apache/solr/cli/PostTool.java
+++ b/solr/core/src/java/org/apache/solr/cli/PostTool.java
@@ -1044,8 +1044,7 @@ public class PostTool extends ToolBase {
         warn("IOException while reading response: " + e);
         success = false;
       } catch (GeneralSecurityException e) {
-        warn(
-            "Looks like Solr is secured and would not let us in. Try with 
another user in '-u' parameter");
+        warn("Looks like Solr is secured and would not let us in.");
       }
     } finally {
       if (urlConnection != null) {

Reply via email to