# Langflow elasticsearch connection error

**URL:** <https://discuss.elastic.co/t/langflow-elasticsearch-connection-error/375064>\
**Category:** Elastic Search\
**Tags:** docker\
**Created:** [February 26, 2025, 9:21am UTC](https://discuss.elastic.co/t/langflow-elasticsearch-connection-error/375064 "2025-02-26T09:21:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dili\_timor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dili_timor/32/141639_2.png) [@dili\_timor](https://discuss.elastic.co/u/dili_timor)\
**Post date:** [February 26, 2025, 9:21am UTC](https://discuss.elastic.co/t/langflow-elasticsearch-connection-error/375064/1 "2025-02-26T09:21:42Z")

</div>

I was running elasticsearch and kibana locally within docker under ubuntu. Both running well.

/\_cat/nodes?v:  
ip heap.percent ram.percent cpu load\_1m load\_5m load\_15m node.role master name  
172.18.0.2 50 100 52 4.70 4.01 3.57 cdfhilmrstw \* 5406f71235ac

--- and ---  
'''  
{  
"name" : "5406f71235ac",  
"cluster\_name" : "docker-cluster",  
"cluster\_uuid" : "4hsr-\_-1Q3-9gBprZS3XfQ",  
"version" : {  
"number" : "8.17.1",  
"build\_flavor" : "default",  
"build\_type" : "docker",  
"build\_hash" : "d4b391d925c31d262eb767b8b2db8f398103f909",  
"build\_date" : "2025-01-10T10:08:26.972230187Z",  
"build\_snapshot" : false,  
"lucene\_version" : "9.12.0",  
"minimum\_wire\_compatibility\_version" : "7.17.0",  
"minimum\_index\_compatibility\_version" : "7.0.0"  
},  
"tagline" : "You Know, for Search"  
'''  
If I tried building langflow elasticsearch component, it turn out an error:

### Error Building Component

- Error building Component Elasticsearch: Connection error caused by: ConnectionError(Connection error caused by: ProtocolError(('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))))

Please help to solve this error  
Thank you in advanced

---

<div class="post-metadata">

**Author:** ![Baptiste\_LESNE](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/baptiste_lesne/32/141701_2.png) [@Baptiste\_LESNE](https://discuss.elastic.co/u/Baptiste_LESNE)\
**Post date:** [March 1, 2025, 12:56am UTC](https://discuss.elastic.co/t/langflow-elasticsearch-connection-error/375064/2 "2025-03-01T00:56:53Z")

</div>

Same issue here 😕

---

<div class="post-metadata">

**Author:** ![dili\_timor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dili_timor/32/141639_2.png) [@dili\_timor](https://discuss.elastic.co/u/dili_timor)\
**Post date:** [March 3, 2025, 1:44am UTC](https://discuss.elastic.co/t/langflow-elasticsearch-connection-error/375064/3 "2025-03-03T01:44:43Z")

</div>

I found this issue happen only on specific component. I tried another component that do the same task, it work like a charm  
But, I have not been tested it for the cloud, yet

---

<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:** [March 31, 2025, 1:44am UTC](https://discuss.elastic.co/t/langflow-elasticsearch-connection-error/375064/4 "2025-03-31T01:44:44Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
