You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ganesh Sethuraman <ga...@gmail.com> on 2019/01/14 17:31:26 UTC

Solr Authentication Error - Error trying to proxy request for url

We are using Solr 7.2.1 in Solr Cloud mode, with embedded Zookeeper for
test purposes. We enabled SSL and Authentication, and we are able to see
the admin working fine with authentication. But queries through the UI or
otherwise is failing with the following error. Request your help to resolve
the same. Is this related to authentication or SSL? If you can throw some
light on it, it will be of great help to us.

https://solr-node-1:8080/solr/<COLLECTION_NAME>/select?q=*:*

Error:
{
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",

 "root-error-class","sun.security.provider.certpath.SunCertPathBuilderException"],
    "msg":"Error trying to proxy request for url:
https://doaminsolr/ba_test/select <https://domain/solr/ba_test/select>",
    "trace":"org.apache.solr.common.SolrException: Error trying to proxy
request for url: https://domain/solr/ba_test/select\n\tat
org.apache.solr.servlet.HttpSolrCall.remoteQuery(HttpSolrCall.java:646)\n\tat

Re: Solr Authentication Error - Error trying to proxy request for url

Posted by Zheng Lin Edwin Yeo <ed...@gmail.com>.
Hi,

When you generate the SSL certificate, did you put the IP address to the
the IP address of your system?

Regards,
Edwin

On Tue, 15 Jan 2019 at 01:31, Ganesh Sethuraman <ga...@gmail.com>
wrote:

> We are using Solr 7.2.1 in Solr Cloud mode, with embedded Zookeeper for
> test purposes. We enabled SSL and Authentication, and we are able to see
> the admin working fine with authentication. But queries through the UI or
> otherwise is failing with the following error. Request your help to resolve
> the same. Is this related to authentication or SSL? If you can throw some
> light on it, it will be of great help to us.
>
> https://solr-node-1:8080/solr/<COLLECTION_NAME>/select?q=*:*
>
> Error:
> {
>   "error":{
>     "metadata":[
>       "error-class","org.apache.solr.common.SolrException",
>
>
>  "root-error-class","sun.security.provider.certpath.SunCertPathBuilderException"],
>     "msg":"Error trying to proxy request for url:
> https://doaminsolr/ba_test/select <https://domain/solr/ba_test/select>",
>     "trace":"org.apache.solr.common.SolrException: Error trying to proxy
> request for url: https://domain/solr/ba_test/select\n\tat
>
> org.apache.solr.servlet.HttpSolrCall.remoteQuery(HttpSolrCall.java:646)\n\tat
>