celeroncoder / celeroncoder/notary-API

TypeORM cannot connect to Remote Heroku Postgress Database

オープン
#36 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug good first issue help wanted
主要言語
TypeScript
スター
2
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

説明

**Describe the bug**
While connecting to the Heroku Postgres server the connection is refused with an error that `SSL is not configured` and if `SSL: true in config the error is `self-signed certificate`.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to the root of the project
2. Run `npm run start:prod`
3. Wait for the nest application to be initialized.
4. See the error.

**Expected behavior**
The Server must connect to the Postgres DB with no errors.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Most probably the reason is that the Postgress database hosted on Heroku is configured with `ssl-only: true`.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

リポジトリのルートから開始し、`npm run start:prod` を実行して、Heroku Postgres データベースで説明されている接続失敗を再現します。現在の接続動作を報告されている SSL エラーと比較します。完了条件は、NestJS アプリケーションが初期化され、エラーなくデータベースに接続できることです。

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

評価

技術スタック
postgresql, typescript
領域
backend, databases
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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