Hi, I'm starting with datahub (local virtualenv wi...
# troubleshoot
f
Hi, I'm starting with datahub (local virtualenv with
datahub docker quickstart
command), everything looks ok but trying to ingest from a Postgresql instance I always get this message:
Copy code
'[2022-06-13 23:33:03,897] INFO     {datahub.cli.ingest_cli:99} - DataHub CLI version: 0.8.38\n'
           '[2022-06-13 23:33:04,025] ERROR    {datahub.entrypoints:165} - Unable to connect to <http://datahub-gms:8080/api/gms/config> with '
           'status_code: 404. Please check your configuration and make sure you are talking to the DataHub GMS (usually <datahub-gms-host>:8080) or '
           'Frontend GMS API (usually <frontend>:9002/api/gms).\n'
           '[2022-06-13 23:33:04,026] INFO     {datahub.entrypoints:176} - DataHub CLI version: 0.8.38 at '
           '/tmp/datahub/ingest/venv-9d7eb776-4a0a-4901-a766-a01e0d7d6737/lib/python3.9/site-packages/datahub/__init__.py\n'
           '[2022-06-13 23:33:04,026] INFO     {datahub.entrypoints:179} - Python version: 3.9.9 (main, Dec 21 2021, 10:03:34) \n'
It seems that the datahub-gms is up but the /api context is not deployed, but looking at the container the jetty is up with the datahub-gms war deployed, following is the
top
entry:
Copy code
19     1 datahub  S    2731m  17%   3   0% java -Xms1g -Xmx1g -jar /jetty-runner.jar --jar jetty-util.jar --jar jetty-jmx.jar --config /datahub/datahub-gms/scripts/jetty.xml /datahub/datahub-gms/bin/war.war
Can you please point me to any direction to get this working?
h
If I understand correctly, your
server
config seems to be set to `http://datahub-gms:8080/api/gms`which isn't correct. Please use
<http://localhost:8080>
if you are running the recipe from host machine (where
datahub docker quickstart
was run). Use
<http://datahub-gms:8080>
if you are running recipe from DataHub UI.
f
Thanks @hundreds-photographer-13496, I kept the context
/api/gms
and after removing it the recipe worked ok