# RemoteTransportException

**URL:** <https://discuss.elastic.co/t/remotetransportexception/9927>\
**Category:** Elasticsearch\
**Created:** [December 4, 2012, 7:51am UTC](https://discuss.elastic.co/t/remotetransportexception/9927 "2012-12-04T07:51:41Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcin\_Dojwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcin_dojwa/32/2307_2.png) [@Marcin\_Dojwa](https://discuss.elastic.co/u/Marcin_Dojwa)\
**Post date:** [December 4, 2012, 7:51am UTC](https://discuss.elastic.co/t/remotetransportexception/9927/1 "2012-12-04T07:51:41Z")

</div>

Hi,

I am importing data from my MySQL database to ES cluster and sometimes have  
the following error while updating (already imported) document (Url -  
called URL, Request: post data, Error: response error, I removed all  
private data from the request):

Url: \<url\_to\_document\>/\_update  
Request: {"script":"ctx.\_source.chat.duration = duration\_value;  
ctx.\_source.chat.messages +=  
message\_table","params":{"duration\_value":19,"message\_table":[]}}  
Error: RemoteTransportException[[db-es3-sl][inet[/10.61.20.54:9300]][update]];  
nested: DocumentMissingException[[users][1] [chat][1057502\_MDUPNUG8Y1]:  
document missing];  
JSON response:  
{"error":"RemoteTransportException[[db-es3-sl][inet[/10.61.20.54:9300]][update]];  
nested: DocumentMissingException[[users][1] [chat][\<doc\_id\>]: document  
missing]; ","status":404}

I use bulk indexing with 10K documents for importing, after this I resume  
real time stream to the index that can update already imported documents.

What does this error mean and how to prevent it ?

Thank you.

Best regards.

--

---

<div class="post-metadata">

**Author:** ![Dan\_Lecocq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_lecocq/32/2565_2.png) [@Dan\_Lecocq](https://discuss.elastic.co/u/Dan_Lecocq)\
**Post date:** [December 4, 2012, 8:48pm UTC](https://discuss.elastic.co/t/remotetransportexception/9927/2 "2012-12-04T20:48:50Z")

</div>

How are you importing your data? Have you changed the refresh interval, or  
forcing a refresh before doing the updates?

On Monday, December 3, 2012 11:51:41 PM UTC-8, Marcin Dojwa wrote:

> Hi,
> 
> I am importing data from my MySQL database to ES cluster and sometimes  
> have the following error while updating (already imported) document (Url -  
> called URL, Request: post data, Error: response error, I removed all  
> private data from the request):
> 
> Url: \<url\_to\_document\>/\_update  
> Request: {"script":"ctx.\_source.chat.duration = duration\_value;  
> ctx.\_source.chat.messages +=  
> message\_table","params":{"duration\_value":19,"message\_table":[]}}  
> Error:  
> RemoteTransportException[[db-es3-sl][inet[/10.61.20.54:9300]][update]];  
> nested: DocumentMissingException[[users][1] [chat][1057502\_MDUPNUG8Y1]:  
> document missing];  
> JSON response:  
> {"error":"RemoteTransportException[[db-es3-sl][inet[/10.61.20.54:9300]][update]];  
> nested: DocumentMissingException[[users][1] [chat][\<doc\_id\>]: document  
> missing]; ","status":404}
> 
> I use bulk indexing with 10K documents for importing, after this I resume  
> real time stream to the index that can update already imported documents.
> 
> What does this error mean and how to prevent it ?
> 
> Thank you.
> 
> Best regards.

--

---

<div class="post-metadata">

**Author:** ![Marcin\_Dojwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcin_dojwa/32/2307_2.png) [@Marcin\_Dojwa](https://discuss.elastic.co/u/Marcin_Dojwa)\
**Post date:** [December 4, 2012, 9:39pm UTC](https://discuss.elastic.co/t/remotetransportexception/9927/3 "2012-12-04T21:39:36Z")

</div>

I did not change the refresh interval and I am not forcing a refresh before  
\_update. As I can see eg. here

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

just makes the changes visible for search, but operations using  
document id for updating should be able to find the document before the  
refresh is done too. Am I wrong ?

2012/12/4 Dan Lecocq [dan@seomoz.org](mailto:dan@seomoz.org)

> How are you importing your data? Have you changed the refresh interval, or  
> forcing a refresh before doing the updates?
> 
> On Monday, December 3, 2012 11:51:41 PM UTC-8, Marcin Dojwa wrote:
> 
> > Hi,
> > 
> > I am importing data from my MySQL database to ES cluster and sometimes  
> > have the following error while updating (already imported) document (Url -  
> > called URL, Request: post data, Error: response error, I removed all  
> > private data from the request):
> > 
> > Url: \<url\_to\_document\>/\_update  
> > Request: {"script":"ctx._source.chat.**duration = duration\_value;  
> > ctx.\_source.chat.messages += message\_table","params":{"**  
> > duration\_value":19,"message_\*\*table":[]}}  
> > Error: RemoteTransportException[[db-**es3-sl][inet[/10.61.20.54:9300**]][update]];  
> > nested: DocumentMissingException[[\*\*users][1]
> > 
> > [chat][1057502\_MDUPNUG8Y1]: document missing];  
> > JSON response: {"error":"\*\*RemoteTransportException[[db-**es3-sl][inet[/  
> > 10.61.20.54:9300**]][update]]; nested: DocumentMissingException[[\*\*users][1]
> > 
> > [chat][\<doc\_id\>]: document missing]; ","status":404}
> > 
> > I use bulk indexing with 10K documents for importing, after this I resume  
> > real time stream to the index that can update already imported documents.
> > 
> > What does this error mean and how to prevent it ?
> > 
> > Thank you.
> > 
> > Best regards.
> 
> --

--

---

<div class="post-metadata">

**Author:** ![Dan\_Lecocq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_lecocq/32/2565_2.png) [@Dan\_Lecocq](https://discuss.elastic.co/u/Dan_Lecocq)\
**Post date:** [December 4, 2012, 9:46pm UTC](https://discuss.elastic.co/t/remotetransportexception/9927/4 "2012-12-04T21:46:26Z")

</div>

I would have expected it to make the document available (for both search  
and update), but I could be wrong.

How are you importing your data? Any chance that you're doing bulk inserts  
and then not finishing the last bulk request? What client are you using?

On Tuesday, December 4, 2012 1:39:36 PM UTC-8, Marcin Dojwa wrote:

> I did not change the refresh interval and I am not forcing a refresh  
> before \_update. As I can see eg. here  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.htmlrefreshing) just makes the changes visible for search, but operations using  
> document id for updating should be able to find the document before the  
> refresh is done too. Am I wrong ?
> 
> 2012/12/4 Dan Lecocq \<[d...@seomoz.org](mailto:d...@seomoz.org) \<javascript:\>\>
> 
> > How are you importing your data? Have you changed the refresh interval,  
> > or forcing a refresh before doing the updates?
> > 
> > On Monday, December 3, 2012 11:51:41 PM UTC-8, Marcin Dojwa wrote:
> > 
> > > Hi,
> > > 
> > > I am importing data from my MySQL database to ES cluster and sometimes  
> > > have the following error while updating (already imported) document (Url -  
> > > called URL, Request: post data, Error: response error, I removed all  
> > > private data from the request):
> > > 
> > > Url: \<url\_to\_document\>/\_update  
> > > Request: {"script":"ctx._source.chat.**duration = duration\_value;  
> > > ctx.\_source.chat.messages += message\_table","params":{"**  
> > > duration\_value":19,"message_\*\*table":[]}}  
> > > Error: RemoteTransportException[[db-**es3-sl][inet[/10.61.20.54:9300**]][update]];  
> > > nested: DocumentMissingException[[\*\*users][1]
> > > 
> > > [chat][1057502\_MDUPNUG8Y1]: document missing];  
> > > JSON response: {"error":"\*\*RemoteTransportException[[db-**es3-sl][inet[/  
> > > 10.61.20.54:9300**]][update]]; nested: DocumentMissingException[[\*\*users][1]
> > > 
> > > [chat][\<doc\_id\>]: document missing]; ","status":404}
> > > 
> > > I use bulk indexing with 10K documents for importing, after this I  
> > > resume real time stream to the index that can update already imported  
> > > documents.
> > > 
> > > What does this error mean and how to prevent it ?
> > > 
> > > Thank you.
> > > 
> > > Best regards.
> > 
> > --

--

---

<div class="post-metadata">

**Author:** ![Marcin\_Dojwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcin_dojwa/32/2307_2.png) [@Marcin\_Dojwa](https://discuss.elastic.co/u/Marcin_Dojwa)\
**Post date:** [December 6, 2012, 10:30am UTC](https://discuss.elastic.co/t/remotetransportexception/9927/5 "2012-12-06T10:30:03Z")

</div>

Hi,

I do the bulk inserts using curl from command line. I wait untill this curl  
requests finishes and then I resume indexing from my service. I do the bulk  
like this:  
curl -s -XPOST localhost:9200/\_bulk --data-binary @\<bulk\_data\_file\> \>  
/dev/null  
when the command above finishes I resume real time indexing and then  
sometimes (very rare) I get this error.

Best regards.

2012/12/4 Dan Lecocq [dan@seomoz.org](mailto:dan@seomoz.org)

> I would have expected it to make the document available (for both search  
> and update), but I could be wrong.
> 
> How are you importing your data? Any chance that you're doing bulk inserts  
> and then not finishing the last bulk request? What client are you using?
> 
> On Tuesday, December 4, 2012 1:39:36 PM UTC-8, Marcin Dojwa wrote:
> 
> > I did not change the refresh interval and I am not forcing a refresh  
> > before \_update. As I can see eg. here [http://www.elasticsearch](http://www.elasticsearch).\*\*  
> > org/guide/reference/api/admin-\*\*indices-refresh.html[http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html)refreshing just makes the changes visible for search, but operations using  
> > document id for updating should be able to find the document before the  
> > refresh is done too. Am I wrong ?
> > 
> > 2012/12/4 Dan Lecocq [d...@seomoz.org](mailto:d...@seomoz.org)
> > 
> > How are you importing your data? Have you changed the refresh interval,
> > 
> > > or forcing a refresh before doing the updates?
> > > 
> > > On Monday, December 3, 2012 11:51:41 PM UTC-8, Marcin Dojwa wrote:
> > > 
> > > > Hi,
> > > > 
> > > > I am importing data from my MySQL database to ES cluster and sometimes  
> > > > have the following error while updating (already imported) document (Url -  
> > > > called URL, Request: post data, Error: response error, I removed all  
> > > > private data from the request):
> > > > 
> > > > Url: \<url\_to\_document\>/\_update  
> > > > Request: {"script":"ctx.\_source.chat. **du** ration = duration\_value;  
> > > > ctx._source.chat.messages += message\_table","params":{" **dura**  
> > > > tion\_value":19,"message_ **table"** :[]}}  
> > > > Error: RemoteTransportException[[db- **e** s3-sl][inet[/10.61.20.54:9300\*  
> > > > \*]\*\*][update]]; nested: DocumentMissingException[[**user** s][1]
> > > > 
> > > > [chat][1057502\_MDUPNUG8Y1]: document missing];  
> > > > JSON response: {"error":" **RemoteTransportExcep** tion[[db-\*\*  
> > > > es3-sl][inet[/10.61.**20.54:9300 [http://10.61.20.54:9300](http://10.61.20.54:9300)**]][update]];  
> > > > nested: DocumentMissingException[[**user** s][1] [chat][\<doc\_id\>]:  
> > > > document missing]; ","status":404}
> > > > 
> > > > I use bulk indexing with 10K documents for importing, after this I  
> > > > resume real time stream to the index that can update already imported  
> > > > documents.
> > > > 
> > > > What does this error mean and how to prevent it ?
> > > > 
> > > > Thank you.
> > > > 
> > > > Best regards.
> > > 
> > > --
> > 
> > --

--

---

<div class="post-metadata">

**Author:** ![Marcin\_Dojwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcin_dojwa/32/2307_2.png) [@Marcin\_Dojwa](https://discuss.elastic.co/u/Marcin_Dojwa)\
**Post date:** [December 6, 2012, 11:08am UTC](https://discuss.elastic.co/t/remotetransportexception/9927/6 "2012-12-06T11:08:17Z")

</div>

OK, it's not rare, if that happens for a specified alias (single client)  
after importing its data to ES (using bulk) there are about 10-20 such  
errors for this single alias within about 30 minutes. So it's NOT only  
right after the bulk indexing is done.

2012/12/6 Marcin Dojwa [m.dojwa@livechatinc.com](mailto:m.dojwa@livechatinc.com)

> Hi,
> 
> I do the bulk inserts using curl from command line. I wait untill this  
> curl requests finishes and then I resume indexing from my service. I do the  
> bulk like this:  
> curl -s -XPOST localhost:9200/\_bulk --data-binary @\<bulk\_data\_file\> \>  
> /dev/null  
> when the command above finishes I resume real time indexing and then  
> sometimes (very rare) I get this error.
> 
> Best regards.
> 
> 2012/12/4 Dan Lecocq [dan@seomoz.org](mailto:dan@seomoz.org)
> 
> > I would have expected it to make the document available (for both search  
> > and update), but I could be wrong.
> > 
> > How are you importing your data? Any chance that you're doing bulk  
> > inserts and then not finishing the last bulk request? What client are you  
> > using?
> > 
> > On Tuesday, December 4, 2012 1:39:36 PM UTC-8, Marcin Dojwa wrote:
> > 
> > > I did not change the refresh interval and I am not forcing a refresh  
> > > before \_update. As I can see eg. here [http://www.elasticsearch](http://www.elasticsearch).\*\*  
> > > org/guide/reference/api/admin-\*\*indices-refresh.html[http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html)refreshing just makes the changes visible for search, but operations using  
> > > document id for updating should be able to find the document before the  
> > > refresh is done too. Am I wrong ?
> > > 
> > > 2012/12/4 Dan Lecocq [d...@seomoz.org](mailto:d...@seomoz.org)
> > > 
> > > How are you importing your data? Have you changed the refresh interval,
> > > 
> > > > or forcing a refresh before doing the updates?
> > > > 
> > > > On Monday, December 3, 2012 11:51:41 PM UTC-8, Marcin Dojwa wrote:
> > > > 
> > > > > Hi,
> > > > > 
> > > > > I am importing data from my MySQL database to ES cluster and sometimes  
> > > > > have the following error while updating (already imported) document (Url -  
> > > > > called URL, Request: post data, Error: response error, I removed all  
> > > > > private data from the request):
> > > > > 
> > > > > Url: \<url\_to\_document\>/\_update  
> > > > > Request: {"script":"ctx.\_source.chat. **du** ration = duration\_value;  
> > > > > ctx._source.chat.messages += message\_table","params":{" **dura**  
> > > > > tion\_value":19,"message_ **table"** :[]}}  
> > > > > Error: RemoteTransportException[[db- **e** s3-sl][inet[/10.61.20.54:9300  
> > > > > **]**][update]]; nested: DocumentMissingException[[**user** s][1]
> > > > > 
> > > > > [chat][1057502\_MDUPNUG8Y1]: document missing];  
> > > > > JSON response: {"error":" **RemoteTransportExcep** tion[[db-\*\*  
> > > > > es3-sl][inet[/10.61.**20.54:9300 [http://10.61.20.54:9300](http://10.61.20.54:9300)**]][update]];  
> > > > > nested: DocumentMissingException[[**user** s][1] [chat][\<doc\_id\>]:  
> > > > > document missing]; ","status":404}
> > > > > 
> > > > > I use bulk indexing with 10K documents for importing, after this I  
> > > > > resume real time stream to the index that can update already imported  
> > > > > documents.
> > > > > 
> > > > > What does this error mean and how to prevent it ?
> > > > > 
> > > > > Thank you.
> > > > > 
> > > > > Best regards.
> > > > 
> > > > --
> > > 
> > > --

--

---

<div class="post-metadata">

**Author:** ![Dan\_Lecocq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_lecocq/32/2565_2.png) [@Dan\_Lecocq](https://discuss.elastic.co/u/Dan_Lecocq)\
**Post date:** [December 6, 2012, 4:21pm UTC](https://discuss.elastic.co/t/remotetransportexception/9927/7 "2012-12-06T16:21:31Z")

</div>

Blerg :-/ That's odd. I'd expect the implicit refresh to be called at that  
point. Could you post a gist of the response you're getting from the bulk  
request?

On Thursday, December 6, 2012 3:08:17 AM UTC-8, Marcin Dojwa wrote:

> OK, it's not rare, if that happens for a specified alias (single client)  
> after importing its data to ES (using bulk) there are about 10-20 such  
> errors for this single alias within about 30 minutes. So it's NOT only  
> right after the bulk indexing is done.
> 
> 2012/12/6 Marcin Dojwa \<[m.d...@livechatinc.com](mailto:m.d...@livechatinc.com) \<javascript:\>\>
> 
> > Hi,
> > 
> > I do the bulk inserts using curl from command line. I wait untill this  
> > curl requests finishes and then I resume indexing from my service. I do the  
> > bulk like this:  
> > curl -s -XPOST localhost:9200/\_bulk --data-binary @\<bulk\_data\_file\> \>  
> > /dev/null  
> > when the command above finishes I resume real time indexing and then  
> > sometimes (very rare) I get this error.
> > 
> > Best regards.
> > 
> > 2012/12/4 Dan Lecocq \<[d...@seomoz.org](mailto:d...@seomoz.org) \<javascript:\>\>
> > 
> > > I would have expected it to make the document available (for both search  
> > > and update), but I could be wrong.
> > > 
> > > How are you importing your data? Any chance that you're doing bulk  
> > > inserts and then not finishing the last bulk request? What client are you  
> > > using?
> > > 
> > > On Tuesday, December 4, 2012 1:39:36 PM UTC-8, Marcin Dojwa wrote:
> > > 
> > > > I did not change the refresh interval and I am not forcing a refresh  
> > > > before \_update. As I can see eg. here [http://www.elasticsearch](http://www.elasticsearch).\*\*  
> > > > org/guide/reference/api/admin-\*\*indices-refresh.html[http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html)refreshing just makes the changes visible for search, but operations using  
> > > > document id for updating should be able to find the document before the  
> > > > refresh is done too. Am I wrong ?
> > > > 
> > > > 2012/12/4 Dan Lecocq [d...@seomoz.org](mailto:d...@seomoz.org)
> > > > 
> > > > How are you importing your data? Have you changed the refresh interval,
> > > > 
> > > > > or forcing a refresh before doing the updates?
> > > > > 
> > > > > On Monday, December 3, 2012 11:51:41 PM UTC-8, Marcin Dojwa wrote:
> > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > I am importing data from my MySQL database to ES cluster and  
> > > > > > sometimes have the following error while updating (already imported)  
> > > > > > document (Url - called URL, Request: post data, Error: response error, I  
> > > > > > removed all private data from the request):
> > > > > > 
> > > > > > Url: \<url\_to\_document\>/\_update  
> > > > > > Request: {"script":"ctx.\_source.chat. **du** ration = duration\_value;  
> > > > > > ctx._source.chat.messages += message\_table","params":{" **dura**  
> > > > > > tion\_value":19,"message_ **table"** :[]}}  
> > > > > > Error: RemoteTransportException[[db- **e** s3-sl][inet[/  
> > > > > > 10.61.20.54:9300\*\*]**][update]]; nested: DocumentMissingException[[**  
> > > > > > user**s][1] [chat][1057502\_MDUPNUG8Y1]: document missing];  
> > > > > > JSON response: {"error":"RemoteTransportException[[db-**  
> > > > > > es3-sl][inet[/10.61.**20.54:9300 [http://10.61.20.54:9300](http://10.61.20.54:9300)**]][update]];  
> > > > > > nested: DocumentMissingException[[**user** s][1] [chat][\<doc\_id\>]:  
> > > > > > document missing]; ","status":404}
> > > > > > 
> > > > > > I use bulk indexing with 10K documents for importing, after this I  
> > > > > > resume real time stream to the index that can update already imported  
> > > > > > documents.
> > > > > > 
> > > > > > What does this error mean and how to prevent it ?
> > > > > > 
> > > > > > Thank you.
> > > > > > 
> > > > > > Best regards.
> > > > > 
> > > > > --
> > > > 
> > > > --

--

---

<div class="post-metadata">

**Author:** ![Marcin\_Dojwa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marcin_dojwa/32/2307_2.png) [@Marcin\_Dojwa](https://discuss.elastic.co/u/Marcin_Dojwa)\
**Post date:** [December 6, 2012, 7:39pm UTC](https://discuss.elastic.co/t/remotetransportexception/9927/8 "2012-12-06T19:39:25Z")

</div>

Unfortunatelly I do not have the responses from bulk indexing (I do not log  
them). But this can be helpful 🙂 I will do the response logging to be able  
to check the logs for the aliases that fails.

2012/12/6 Dan Lecocq [dan@seomoz.org](mailto:dan@seomoz.org)

> Blerg :-/ That's odd. I'd expect the implicit refresh to be called at that  
> point. Could you post a gist of the response you're getting from the bulk  
> request?
> 
> On Thursday, December 6, 2012 3:08:17 AM UTC-8, Marcin Dojwa wrote:
> 
> > OK, it's not rare, if that happens for a specified alias (single client)  
> > after importing its data to ES (using bulk) there are about 10-20 such  
> > errors for this single alias within about 30 minutes. So it's NOT only  
> > right after the bulk indexing is done.
> > 
> > 2012/12/6 Marcin Dojwa [m.d...@livechatinc.com](mailto:m.d...@livechatinc.com)
> > 
> > > Hi,
> > > 
> > > I do the bulk inserts using curl from command line. I wait untill this  
> > > curl requests finishes and then I resume indexing from my service. I do the  
> > > bulk like this:  
> > > curl -s -XPOST localhost:9200/\_bulk --data-binary @\<bulk\_data\_file\> \>  
> > > /dev/null  
> > > when the command above finishes I resume real time indexing and then  
> > > sometimes (very rare) I get this error.
> > > 
> > > Best regards.
> > > 
> > > 2012/12/4 Dan Lecocq [d...@seomoz.org](mailto:d...@seomoz.org)
> > > 
> > > I would have expected it to make the document available (for both search
> > > 
> > > > and update), but I could be wrong.
> > > > 
> > > > How are you importing your data? Any chance that you're doing bulk  
> > > > inserts and then not finishing the last bulk request? What client are you  
> > > > using?
> > > > 
> > > > On Tuesday, December 4, 2012 1:39:36 PM UTC-8, Marcin Dojwa wrote:
> > > > 
> > > > > I did not change the refresh interval and I am not forcing a refresh  
> > > > > before \_update. As I can see eg. here [http://www.elasticsearch](http://www.elasticsearch).\*\*\*\*  
> > > > > org/guide/reference/api/admin-\*\*\*\*indices-refresh.html[http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html](http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html)refreshing just makes the changes visible for search, but operations using  
> > > > > document id for updating should be able to find the document before the  
> > > > > refresh is done too. Am I wrong ?
> > > > > 
> > > > > 2012/12/4 Dan Lecocq [d...@seomoz.org](mailto:d...@seomoz.org)
> > > > > 
> > > > > How are you importing your data? Have you changed the refresh
> > > > > 
> > > > > > interval, or forcing a refresh before doing the updates?
> > > > > > 
> > > > > > On Monday, December 3, 2012 11:51:41 PM UTC-8, Marcin Dojwa wrote:
> > > > > > 
> > > > > > > Hi,
> > > > > > > 
> > > > > > > I am importing data from my MySQL database to ES cluster and  
> > > > > > > sometimes have the following error while updating (already imported)  
> > > > > > > document (Url - called URL, Request: post data, Error: response error, I  
> > > > > > > removed all private data from the request):
> > > > > > > 
> > > > > > > Url: \<url\_to\_document\>/\_update  
> > > > > > > Request: {"script":"ctx._source.chat.\*\*du**ration =  
> > > > > > > duration\_value; ctx.\_source.chat.messages += message\_table","params":{"  
> > > > > > > \*\*dura **tion\_value":19,"message_** table":[]}}  
> > > > > > > Error: RemoteTransportException[[db-\*\*es3-sl][inet[/  
> > > > > > > 10.61.20.54:9300**]**][update]]; nested:  
> > > > > > > DocumentMissingException[[\*\*user**s][1]
> > > > > > > 
> > > > > > > [chat][1057502\_MDUPNUG8Y1]: document missing];  
> > > > > > > JSON response: {"error":"**RemoteTransportExcep\*\*\*\*tion[[db-**  
> > > > > > > es3-sl][inet[/10.61. **2** 0.54:9300 [http://10.61.20.54:9300](http://10.61.20.54:9300)\*\*]][update]];  
> > > > > > > nested: DocumentMissingException[[\*\*user\*\*\*\*s][1] [chat][\<doc\_id\>]:  
> > > > > > > document missing]; ","status":404}
> > > > > > > 
> > > > > > > I use bulk indexing with 10K documents for importing, after this I  
> > > > > > > resume real time stream to the index that can update already imported  
> > > > > > > documents.
> > > > > > > 
> > > > > > > What does this error mean and how to prevent it ?
> > > > > > > 
> > > > > > > Thank you.
> > > > > > > 
> > > > > > > Best regards.
> > > > > > 
> > > > > > --
> > > > > 
> > > > > --
> > 
> > --

--

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:01am UTC](https://discuss.elastic.co/t/remotetransportexception/9927/9 "2017-07-06T03:01:03Z")

</div>


