graphprotocol / graphprotocol/graph-node

[Bug] password authentication failed for user "postgres" / Role "postgres" does not exist.

オープン
#4,492 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug ops
主要言語
Rust
スター
3.2k
フォーク
1.1k
平均マージ
4日 1時間
マージ済み PR(30日)
1

説明

Bug report
when using docker, everything works correctly for a few hours, then Postgres starts showing an error about an account that does not exist.  Tested with release 0.3.0 on ubuntu 20.04, and Docker 4.12.
Relevant log output
postgres_1    | 2023-03-24 21:42:44.141 UTC [93] FATAL:  password authentication failed for user "postgres"
postgres_1    | 2023-03-24 21:42:44.141 UTC [93] DETAIL:  
postgres_1    |         Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
IPFS hash

No response

Subgraph name or link to explorer

No response

Some information to help us out
  • Tick this box if this bug is caused by a regression found in the latest release.
  • Tick this box if this bug is specific to the hosted service.
  • I have searched the issue tracker to make sure this issue is not a duplicate.
OS information

Linux

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Ubuntu 20.04 上で release 0.3.0 について説明されている Docker デプロイメントを再現し、その後、報告されている PostgreSQL 認証ログと、レポートに示されている pg_hba.conf ルールを調査します。数時間後に postgres アカウントが利用できなくなる理由を特定し、検証済みの修正を文書化または実装できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, postgresql
領域
databases, devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。