celeroncoder / celeroncoder/notary-API
TypeORM cannot connect to Remote Heroku Postgress Database
- Langage dominant
- TypeScript
- Étoiles
- 2
- Forks
- 2
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**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`.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez à la racine du dépôt et exécutez `npm run start:prod` pour reproduire l’échec de connexion décrit pour la base de données Heroku Postgres. Comparez le comportement actuel de la connexion aux erreurs SSL signalées ; la tâche est terminée lorsque l’application NestJS s’initialise et se connecte à la base de données sans erreur.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- postgresql, typescript
- Domaine
- backend, databases
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100