Airflow 3 Issue with Elasticsearch 9 #55827
Unanswered
sfritzke-mtu
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I cannot create an Elasticsearch index in Airflow like this:
from elasticsearch import Elasticsearch
When I run the dag I get the error message: ConnectionError: Connection error caused by: NameResolutionError <urllib3.connection.HTTPConnection object at 0x6ffc5c0993d0>: Failed to resolve 'elasticsearch'.
Airflow and Elasticserarch running on docker container.
When I execute the python code into the airflow container, I can create the index in Elasticsearch without problems.
Does anyone have any idea what the problem could be?
Beta Was this translation helpful? Give feedback.
All reactions