You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2025/09/03 04:57:00 UTC

[jira] [Commented] (SOLR-14222) CloudSolrClient converts (update) 403 error to 500 error

    [ https://issues.apache.org/jira/browse/SOLR-14222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017825#comment-18017825 ] 

ASF subversion and git services commented on SOLR-14222:
--------------------------------------------------------

Commit d5aaf27ba5e19fb86f2620eb9863541c8df4ce4e in solr's branch refs/heads/main from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=d5aaf27ba5e ]

SOLR-17872: Remove org.apache.http dependency from compile scope (#3498)

Solr no longer uses Apache HttpClient.  Nonetheless SolrJ still includes deprecated SolrClient implementations
 for that (which will be removed eventually), and many tests still use it.  Also, there were server metrics
 relating to HTTP client connection pools that no longer exist.

* solrj-streaming DriverImpl, URI query parsing\
* PKIAuthenticationPlugin: setHeader alternative for tests
* CloudAuthStreamTest: fixed SOLR-14222 ! (how?)
* add httpcomponents to test compile classpath for some modules
* HttpClientBuilderFactory; remove Apache HttpClient method
* Metrics: no more UPDATE.updateShardHandler.maxConnections etc.


> CloudSolrClient converts (update) 403 error to 500 error 
> ---------------------------------------------------------
>
>                 Key: SOLR-14222
>                 URL: https://issues.apache.org/jira/browse/SOLR-14222
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, SolrJ
>            Reporter: Chris M. Hostetter
>            Priority: Major
>         Attachments: SOLR-14222_test.patch
>
>
> Something about the way CloudSolrClient pulls UpdateRequetss apart to send docs direct to leaders also seems to cause it to report status code "500" Server Errors when 403 authorization errors are thrown by the server.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org