Hey all, I'm trying to get DataHub running locally...
# getting-started
d
Hey all, I'm trying to get DataHub running locally with Airflow, using Astronomer (runtime 5.0.5), which is also running locally. I'm running into the same error as some other users have posted relating to connection issues:
Copy code
datahub.configuration.common.OperationalError: ('Unable to emit metadata to DataHub GMS', {'message': "HTTPSConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /aspects?action=ingestProposal (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2263a568e0>: Failed to establish a new connection: [Errno 111] Connection refused'))"})
with my connection set in airflow as:
conn_id: datahub_rest_default conn_type: datahub_rest	 host: <http://localhost:8080>
Not sure what's going on with the connection here as I don't typically have issues connecting to other providers locally (e.g. my Snowflake connection is working fine) Thanks in advance!
m
Ah you should use
http
instead of
https
Your gms endpoint should be on
http
instead of
https
d
I have also tried
http
and the same error occurs
I was following the guide here exactly
I get a 404 when I try to visit
localhost:8080
but not sure if that's expected or not. My
localhost:9002
appears just fine. All my docker containers are running and healthy
m
Is your airflow also run on 8080?
d
I changed it to 58080, turns out I had to make a docker override file that spun up all the astronomer dockers in the same network as datahub