celeroncoder / celeroncoder/notary-API
TypeORM cannot connect to Remote Heroku Postgress Database
- Lenguaje dominante
- TypeScript
- Estrellas
- 2
- Forks
- 2
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**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`.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza en la raíz del repositorio y ejecuta `npm run start:prod` para reproducir el fallo de conexión descrito para la base de datos de Heroku Postgres. Compara el comportamiento actual de la conexión con los errores de SSL reportados; se considera terminado cuando la aplicación NestJS se inicializa y se conecta a la base de datos sin errores.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- postgresql, typescript
- Área
- backend, databases
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100