Skip to content

elt_script-1 | Error connecting to PostgreSQL: Command '['pg_isready', '-h', 'source_postgres']' returned non-zero exit status 2. #4

@mdeshon82

Description

@mdeshon82

I am getting error below and can not figure out why it can not connect after attempting to apply the database dump

-1 | --
elt_script-1 | ALTER TABLE ONLY public.film_category
elt_script-1 | ADD CONSTRAINT film_category_film_id_fkey FOREIGN KEY (film_id) REFERENCES public.films(film_id);
elt_script-1 | ALTER TABLE
elt_script-1 | --
elt_script-1 | -- PostgreSQL database dump complete
elt_script-1 | --
elt_script-1 | Error connecting to PostgreSQL: Command '['pg_isready', '-h', 'source_postgres']' returned non-zero exit status 2.
elt_script-1 | Retrying in 5 seconds... (Attempt 1/5)
elt_script-1 | Successfully connected to PostgreSQL!
elt_script-1 | Starting ELT script...
elt_script-1 | Ending ELT script...
elt_script-1 exited with code 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions