i'm reindexing docs from one index to another and usually i got this exception which i dont know what cause it, in my local pc i didnt have it but in az pipeline it happens frequently . this is the code i'm using to do the reindex :
var result = await client.ReindexOnServerAsync(r =>
{
return r.Source(s => s.Index(startIndex))
.Destination(d => d.Index(finalIndexName))
.Script(s=>s.Source(scriptContent.Source).Lang(scriptContent.Lang).Params(scriptContent.Params))
.WaitForCompletion();
});
Elasticsearch.Net.ElasticsearchClientException: An error occurred while sending the request. Call: Status code unknown from: POST /_reindex?wait_for_completion=true
2024-10-16T09:48:05.2852394Z ---> System.Net.Http.HttpRequestException: An error occurred while sending the request.
2024-10-16T09:48:05.2854157Z ---> System.IO.IOException: The decryption operation failed, see inner exception.
2024-10-16T09:48:05.2855892Z ---> Interop+OpenSsl+SslException: Decrypt failed with OpenSSL error - SSL_ERROR_SSL.
2024-10-16T09:48:05.2857883Z ---> Interop+Crypto+OpenSslCryptographicException: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac
2024-10-16T09:48:05.2859493Z --- End of inner exception stack trace ---
This suggests that the client connection to ES is not working. Do other functionalities other than reindex work? e.g. if you index or query data via the client? How are you running ES?
i'm reindexing docs from one index to another and usually i got this exception which i dont know what cause it, in my local pc i didnt have it but in az pipeline it happens frequently . this is the code i'm using to do the reindex :
Elasticsearch.Net.ElasticsearchClientException: An error occurred while sending the request. Call: Status code unknown from: POST /_reindex?wait_for_completion=true 2024-10-16T09:48:05.2852394Z ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. 2024-10-16T09:48:05.2854157Z ---> System.IO.IOException: The decryption operation failed, see inner exception. 2024-10-16T09:48:05.2855892Z ---> Interop+OpenSsl+SslException: Decrypt failed with OpenSSL error - SSL_ERROR_SSL. 2024-10-16T09:48:05.2857883Z ---> Interop+Crypto+OpenSslCryptographicException: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac 2024-10-16T09:48:05.2859493Z --- End of inner exception stack trace ---