I am trying to connect to a remote aws redshift da...
# ingestion
s
I am trying to connect to a remote aws redshift database in local docker using:
Copy code
source:
  type: redshift
  config:
    # Coordinates
    host_port: xxx:5439
    database: test

    # Credentials
    username: x
    password: x

    # Options
    options:
    include_views: True # whether to include views, defaults to True
    include_tables: True # whether to include views, defaults to True

sink:
  type: "datahub-rest"
  config:
    server: "<http://localhost:8080>"
I got the error
Copy code
ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /config (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f906d430520>: Failed to establish a new connection: [Errno 61] Connection refused'))
m
Hi @stocky-television-65849 this error is actually coming from the rest sink failing to connect to the datahub server.
Are you able to curl the endpoint?
curl <http://localhost:8080/config>
s
curl: (7) Failed to connect to localhost port 8080: Connection refused @mammoth-bear-12532
m
is datahub server running?
datahub docker check
s
quickstart.sh or dev.sh is not running
m
are you running this using the datahub quickstart?
how have you installed datahub so far?
s
everything is working now. Thanks @mammoth-bear-12532
🎉 1