Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

password authentication failed for postgre #789

Open
2 of 6 tasks
singledogzhwy opened this issue Dec 15, 2022 · 0 comments
Open
2 of 6 tasks

password authentication failed for postgre #789

singledogzhwy opened this issue Dec 15, 2022 · 0 comments
Labels

Comments

@singledogzhwy
Copy link

Summary

I carefully followed instruction in READ.ME but after "docker-compose up -d" I keep getting

postgres_1 | 2022-12-15 02:56:26.827 UTC [410] FATAL: password authentication failed for user "postgres"
postgres_1 | 2022-12-15 02:56:26.827 UTC [410] DETAIL: Password does not match for user "postgres".
postgres_1 | Connection matched pg_hba.conf line 95: "host all all all md5"

in logs

Steps to reproduce the bug

  1. git clone
    --single-branch
    --branch 7.0.2
    --recurse-submodules
    https://github.com/input-output-hk/cardano-graphql.git
    && cd cardano-graphql

  2. DOCKER_BUILDKIT=1
    COMPOSE_DOCKER_CLI_BUILD=1
    RESTORE_SNAPSHOT=https://update-cardano-mainnet.iohk.io/cardano-db-sync/13/db-sync-snapshot-schema-13-block-8127593-x86_64.tgz
    docker-compose up -d --build &&
    docker-compose logs -f

  3. see
    postgres_1 | 2022-12-15 02:56:26.827 UTC [410] FATAL: password authentication failed for user "postgres"
    postgres_1 | 2022-12-15 02:56:26.827 UTC [410] DETAIL: Password does not match for user "postgres".
    postgres_1 | Connection matched pg_hba.conf line 95: "host all all all md5"

in logs

Actual Result

why is the password in ./placeholder-secrets/postgre_password wrong and cause this problem?

Expected Result

password authentication success

Environment

not needed

Platform

  • Linux (Ubuntu)
  • Linux (Other)
  • macOS
  • Windows

Platform version

No response

Runtime

  • Node.js
  • Docker

Runtime version

v10.19.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant