# Elastic Nest 7 , unknown from: POST /\_reindex?wait\_for\_completion=true

**URL:** <https://discuss.elastic.co/t/elastic-nest-7-unknown-from-post-reindex-wait-for-completion-true/368903>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [October 16, 2024, 11:49am UTC](https://discuss.elastic.co/t/elastic-nest-7-unknown-from-post-reindex-wait-for-completion-true/368903 "2024-10-16T11:49:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![blqck](https://avatars.discourse-cdn.com/v4/letter/b/e56c9b/32.png) [@blqck](https://discuss.elastic.co/u/blqck)\
**Post date:** [October 16, 2024, 11:49am UTC](https://discuss.elastic.co/t/elastic-nest-7-unknown-from-post-reindex-wait-for-completion-true/368903/1 "2024-10-16T11:49:42Z")

</div>

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 :

```auto
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 ---

---

<div class="post-metadata">

**Author:** ![flobernd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flobernd/32/124877_2.png) [@flobernd](https://discuss.elastic.co/u/flobernd)\
**Post date:** [October 16, 2024, 12:09pm UTC](https://discuss.elastic.co/t/elastic-nest-7-unknown-from-post-reindex-wait-for-completion-true/368903/2 "2024-10-16T12:09:09Z")

</div>

Hi @blqck ,

this is not an error caused by the NEST client.

DECRYPTION\_FAILED\_OR\_BAD\_RECORD\_MAC means that either the server certificate is invalid, or the data has been tampered with.

There might be a SSL proxy that inspects traffic on your Azure pipeline or something similar.

---

<div class="post-metadata">

**Author:** ![blqck](https://avatars.discourse-cdn.com/v4/letter/b/e56c9b/32.png) [@blqck](https://discuss.elastic.co/u/blqck)\
**Post date:** [October 16, 2024, 1:14pm UTC](https://discuss.elastic.co/t/elastic-nest-7-unknown-from-post-reindex-wait-for-completion-true/368903/3 "2024-10-16T13:14:37Z")

</div>

Hii @flobernd ,

thanks for your comment.

what do you mean by the data has been tampered with ?  
because i'm using Lucene script to make doc id = my entity id .  
in case of tampered data what can i use to know what data has issue ?

---

<div class="post-metadata">

**Author:** ![flobernd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flobernd/32/124877_2.png) [@flobernd](https://discuss.elastic.co/u/flobernd)\
**Post date:** [October 16, 2024, 7:36pm UTC](https://discuss.elastic.co/t/elastic-nest-7-unknown-from-post-reindex-wait-for-completion-true/368903/4 "2024-10-16T19:36:49Z")

</div>

Hi @blqck ,

tempered somewhere on the networking layer is what I meant 😕 Like with using a "man in the middle" (MITM) proxy or something similar.

This could as well happen, if you have package loss / packages get dropped for some reason.

I would definitely have a look at the virtual network of your Azure Pipeline and run some network diagnostics.
