Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[HELP] - unable to connect to db using psql or pgadmin

オープン
#161 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

リポジトリのファイルもテストも特定されていません。まず、azd の環境値を使って Codespace から、示されている psql 接続を再現し、次に認証エラーと暗号化エラーをガイドの token-export の手順と比較します。文書化された接続方法が機能するか、ガイドが必要な修正を明確に説明していれば完了です。

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

説明

I was running the demo in codespace

I followed the guide to export the token generated as password

export PGPASSWORD={"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI...........VPNUlKeXlxUjZqekRTNWlBYnBlNDJKdyJ9"}

and then run the following
$ psql -h $(azd env get-value POSTGRES_HOST) -U $(azd env get-value POSTGRES_USERNAME) -d $(azd env get-value POSTGRES_DATABASE) -p 5432

but getting this error:

psql: error: connection to server at "justin-test-3a*****bi-postgresql.postgres.database.azure.com" (172.177.167.194), port 5432 
failed: FATAL:  The access token has invalid format. 
Please ensure the token is passed exactly as returned by the authentication endpoint and retry.

connection to server at "justin-test-3a******zbi-postgresql.postgres.database.azure.com" (172.177.167.194), port 5432 
failed: FATAL:  no pg_hba.conf entry for host "20.227.141.210", user "adminupjcfh45d******" database "postgres", no encryption
主要言語
Python
スター
505
フォーク
1.1k
平均マージ
3日 13時間
マージ済み PR(30日)
1

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

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

はじめの一歩

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

Azure-Samples/rag-postgres-openai-python のほかの issue

Azure-Samples/rag-postgres-openai-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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