Hi,

Just checking if anyone has seen this issue before any fix is provided.

-----------------------
We have 3+3 solr/zk node setup in GCP environment with SSL enabled. While
trying to backup the collection in the GCS bucket we are facing the below
issue. Please find the steps for the same. How to resolve the PKIX error
for the Solr Backup API?
*Setup:*

   - Solr is enabled with SSL
   - Backup repo is set GCS Bucket
   - GCP VM GCP Cloud Storage both are in the same GCP project. The VM SA
   account has storage object admin permissions.

*Steps:*



Step -1- Perform the backup using the backup API

http*s*://{{hostname}}/solr/admin/collections?action=BACKUP&name=COLLECTION_NAME
_bkup&collection= COLLECTION_NAME &location=solr_backup&async=1000



Step – 2: Check the  status of the backup

              https://{{hostname}}
/solr/admin/collections?action=REQUESTSTATUS&requestid=1000



*Getting below error*

{

    "responseHeader": {

        "status": 0,

        "QTime": 2

    },

    "Operation backup caused exception:":
"com.google.cloud.storage.StorageException:com.google.cloud.storage.StorageException:
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target",

    "exception": {

        "msg": "PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target",

        "rspCode": -1

    },

    "status": {

        "state": "failed",

        "msg": "found [1000] in failed tasks"

    }

}


---------------------------------------------------------------------------

On Wed, Aug 7, 2024 at 11:15 PM Sathish Ponnusamy <sathishrp...@gmail.com>
wrote:

>
> We have 3+3 solr/zk node setup in GCP environment with SSL enabled. While
> trying to backup the collection in the GCS bucket we are facing the below
> issue. Please find the steps for the same. How to resolve the PKIX error
> for the Solr Backup API?
> *Setup:*
>
>    - Solr is enabled with SSL
>    - Backup repo is set GCS Bucket
>    - GCP VM GCP Cloud Storage both are in the same GCP project. The VM SA
>    account has storage object admin permissions.
>
> *Steps:*
>
>
>
> Step -1- Perform the backup using the backup API
>
> http*s*://{{hostname}}/solr/admin/collections?action=BACKUP&name=COLLECTION_NAME
> _bkup&collection= COLLECTION_NAME &location=solr_backup&async=1000
>
>
>
> Step – 2: Check the  status of the backup
>
>               https://{{hostname}}
> /solr/admin/collections?action=REQUESTSTATUS&requestid=1000
>
>
>
> *Getting below error*
>
> {
>
>     "responseHeader": {
>
>         "status": 0,
>
>         "QTime": 2
>
>     },
>
>     "Operation backup caused exception:": 
> "com.google.cloud.storage.StorageException:com.google.cloud.storage.StorageException:
> PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target",
>
>     "exception": {
>
>         "msg": "PKIX path building failed:
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find
> valid certification path to requested target",
>
>         "rspCode": -1
>
>     },
>
>     "status": {
>
>         "state": "failed",
>
>         "msg": "found [1000] in failed tasks"
>
>     }
>
> }
>
>
> Regards
> Sathish Ponnusamy
>
>

Reply via email to